mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
d281f6efd9
* BUG 1315 - wbinfo -t unsuccessful on 3.0.4 * BUG 1319 - Cannot write to a share with write-list users * BUG 1345 - Macromedia Homesite cannot connect anymore after upgrade to 3.0.4 * Patch from Rudolf Cejka <cejkar@fit.vutbr.cz> - rpcclient does not recognize parameters in -c <command> correctly. * Patch from Joerg Pulz <Joerg.Pulz@frm2.tum.de> - fixes to samba.sh startup script. PR: ports/67865 Submitted by: edwin@mavetju.org,Rudolf Cejka <cejkar@fit.vutbr.cz>,Joerg Pulz <Joerg.Pulz@frm2.tum.de> Approved by: maintainer
16 lines
363 B
C
16 lines
363 B
C
--- rpcclient/cmd_reg.c.orig Sun Apr 4 09:37:28 2004
|
|
+++ rpcclient/cmd_reg.c Thu May 20 14:18:36 2004
|
|
@@ -905,7 +905,11 @@
|
|
int opt;
|
|
|
|
*msg = 0;
|
|
- optind = 0; /* TODO: test if this hack works on other systems too --simo */
|
|
+#ifdef HAVE_OPTRESET
|
|
+ optreset = optind = 1;
|
|
+#else
|
|
+ optind = 0;
|
|
+#endif
|
|
|
|
while ((opt = getopt(argc, argv, "m:t:rf")) != EOF)
|
|
{
|