NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/33163 CVS commit: othersrc/libexec/tnftpd/libnetbsd

The following reply was made to PR lib/33163; it has been noted by GNATS.

From: Luke Mewburn <>
Subject: PR/33163 CVS commit: othersrc/libexec/tnftpd/libnetbsd
Date: Sun,  9 Mar 2008 20:54:13 +0000 (UTC)

 Module Name:   othersrc
 Committed By:  lukem
 Date:          Sun Mar  9 20:54:13 UTC 2008
 Modified Files:
        othersrc/libexec/tnftpd/libnetbsd: ftpfts.h fts_open.c
 Log Message:
 Sync to src/include/fts.h 1.17
 Sync to src/lib/libc/gen/fts.c 1.31
 Notable changes:
 * Coverity CID 17: Free parent if it was not used.
 * PR/33163: Auster Vl.: fts: cant allocate memory | filename too long
   Change the ftp_pathlen and fts_namelen to u_int from u_short so that
   pathnames > 32K work.
 * Instead of special-casing root, special case paths that end with a /, so
   that find foo/ does not print foo//bar. From FreeBSD.
 * Minimize code diffs with FreeBSD.
   Return ENAMETOOLONG instead of ENOMEM if name is too long to fit.
   Only decrement cp if we are pointing to the end of the string.
 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 othersrc/libexec/tnftpd/libnetbsd/ftpfts.h
 cvs rdiff -r1.6 -r1.7 othersrc/libexec/tnftpd/libnetbsd/fts_open.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index