Date: Mon, 2 Jul 2012 05:57:01 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r237951 - stable/9/gnu/usr.bin/cvs/lib Message-ID: <201207020557.q625v1MT047643@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207020557.q625v1MT047643>