diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-06-29 15:38:33 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-06-29 15:38:33 +0000 |
commit | 9c3c2fffc7bf2f4e9a674ce77945f12b6975607e (patch) | |
tree | d3ead31136f2e0a21b31fce0b191208e2bb116ab /security/heimdal/files/patch-ac | |
parent | Remove pdflib support. (diff) |
Correct no-nos: one file per patch, please. Don't touch more than one
source file with each patch file, and don't touch the same source file
with more than one patch file.
Notes
Notes:
svn path=/head/; revision=44566
Diffstat (limited to 'security/heimdal/files/patch-ac')
-rw-r--r-- | security/heimdal/files/patch-ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/heimdal/files/patch-ac b/security/heimdal/files/patch-ac new file mode 100644 index 000000000000..88cabd8ed15f --- /dev/null +++ b/security/heimdal/files/patch-ac @@ -0,0 +1,22 @@ +Index: appl/ftp/ftpd/popen.c +=================================================================== +RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/appl/ftp/ftpd/popen.c,v +retrieving revision 1.24 +diff -u -w -r1.24 popen.c +--- appl/ftp/ftpd/popen.c 2001/03/26 11:41:02 1.24 ++++ appl/ftp/ftpd/popen.c 2001/06/19 09:07:50 +@@ -139,7 +139,13 @@ + for (gargc = argc = 1; argv[argc] && gargc < MAXGLOBS - 1; argc++) { + glob_t gl; + int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE +- | GLOB_LIMIT; ++ | ++#ifdef GLOB_MAXPATH ++ GLOB_MAXPATH ++#else ++ GLOB_LIMIT ++#endif ++ ; + + memset(&gl, 0, sizeof(gl)); + if (no_glob || glob(argv[argc], flags, NULL, &gl)) |