diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-04-07 10:00:42 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-04-07 10:00:42 +0000 |
commit | c878bfed20074293a55982039aa121b2d675d35c (patch) | |
tree | 5bd71663432141a35a2dffd08a5606bac8f72bb5 /net/samba/patches | |
parent | b6657ecd26455fc0aaac3b7a93e7f23658193f7b (diff) | |
download | pkgsrc-c878bfed20074293a55982039aa121b2d675d35c.tar.gz |
In smbclient 'mput' command, don't use find(1) with "-maxdepth"
argument which NetBSD doesn't support. Use ls(1) instead.
Patch contributed by Claude Marinier <claude.marinier@dreo.dnd.ca> in PR 12564.
Diffstat (limited to 'net/samba/patches')
-rw-r--r-- | net/samba/patches/patch-ad | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net/samba/patches/patch-ad b/net/samba/patches/patch-ad index 010053a7ba4..0d830ec4ba3 100644 --- a/net/samba/patches/patch-ad +++ b/net/samba/patches/patch-ad @@ -1,7 +1,16 @@ -$NetBSD: patch-ad,v 1.2 2000/05/02 15:24:10 jlam Exp $ +$NetBSD: patch-ad,v 1.3 2001/04/07 10:00:42 hubertf Exp $ ---- client/client.c.orig Tue Apr 25 19:06:41 2000 -+++ client/client.c Fri Apr 28 16:29:58 2000 +--- client/client.c.orig Wed May 10 16:28:49 2000 ++++ client/client.c +@@ -1165,7 +1165,7 @@ + "find . -name \"%s\" -print > %s",p,tmpname); + else + slprintf(cmd,sizeof(pstring)-1, +- "find . -maxdepth 1 -name \"%s\" -print > %s",p,tmpname); ++ "ls -1 %s > %s",p,tmpname); + system(cmd); + + f = sys_fopen(tmpname,"r"); @@ -1599,22 +1599,19 @@ return True; } |