Subject: PR/30833 CVS commit: othersrc/libexec/tnftpd/libnetbsd
To: None <elad@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Luke Mewburn <lukem@netbsd.org>
List: netbsd-bugs
Date: 09/26/2006 02:20:03
The following reply was made to PR lib/30833; it has been noted by GNATS.
From: Luke Mewburn <lukem@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/30833 CVS commit: othersrc/libexec/tnftpd/libnetbsd
Date: Tue, 26 Sep 2006 02:16:43 +0000 (UTC)
Module Name: othersrc
Committed By: lukem
Date: Tue Sep 26 02:16:43 UTC 2006
Modified Files:
othersrc/libexec/tnftpd/libnetbsd: ftpglob.h glob.c
Log Message:
Sync to NetBSD glob.h 1.21, glob.c 1.16:
* PR/33123: Murray Armfield: standards compliance & glob.h
Certain fields in glob.h need to be size_t
* Use __gl_stat_t instead of struct stat
* Don't overflow when DEBUG is defined.
PR/30833, from Tomas Skare.
* Use a separate macro, not DEBUG to enforce 8 bit chars [glob uses internally
16 bit chars]. Fix lint complaint when compiling with 8 bit chars.
* Use strlcpy() instead of strcpy()
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 othersrc/libexec/tnftpd/libnetbsd/ftpglob.h \
othersrc/libexec/tnftpd/libnetbsd/glob.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.