svn commit: r237951 - stable/9/gnu/usr.bin/cvs/lib
David E. O'Brien
obrien at FreeBSD.org
Mon Jul 2 05:57:02 UTC 2012
Author: obrien
Date: Mon Jul 2 05:57:01 2012
New Revision: 237951
URL: http://svn.freebsd.org/changeset/base/237951
Log:
MFC: r229809: Don't include <sys/timeb.h>.
The purpose of not including <sys/timeb.h> is to avoid the compiler
warning we put in <sys/timeb.h>. So this change will cause CVS to
provide its own definition of 'struct timeb'. This is only OK
because the code never calls the libc ftime(3) interface. CVS only
uses 'struct timeb' as a convenience structure -- thus it doesn't
matter how its supplied definition does or does not match the
ftime(3) ABI.
Modified:
stable/9/gnu/usr.bin/cvs/lib/config.h.proto
Directory Properties:
stable/9/ (props changed)
Modified: stable/9/gnu/usr.bin/cvs/lib/config.h.proto
==============================================================================
--- stable/9/gnu/usr.bin/cvs/lib/config.h.proto Mon Jul 2 05:35:55 2012 (r237950)
+++ stable/9/gnu/usr.bin/cvs/lib/config.h.proto Mon Jul 2 05:57:01 2012 (r237951)
@@ -324,7 +324,7 @@
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/timeb.h> header file. */
-#define HAVE_SYS_TIMEB_H 1
+/* #undef HAVE_SYS_TIMEB_H */
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
More information about the svn-src-stable-9
mailing list