[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.
From: |
Mark D. Baushke |
Subject: |
Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed. |
Date: |
Thu, 15 Jun 2006 10:48:14 -0700 |
[Sorry about sending a reverse patch the first time around...]
Hi Folks,
The CVS project found a need to add the following patch to
lib/strtoimax.c in order to get compilation on Windows to work.
The basic problem is that there is an __int64 type and three conversion
functions:
char * _i64toa(__int64, char *, int);
char * _ui64toa(unsigned __int64, char *, int);
__int64 _atoi64(const char *);
but 'long long' is NOT available.
This means that HAVE_LONG_LONG is not defined and intmax_t
is indeed __int64, so sizeof(INT) is greater than sizeof (long int).
If you agree that the patch is reasonable, please install it.
Thanks,
-- Mark
Index: strtoimax.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/strtoimax.c,v
retrieving revision 1.14
diff -u -p -r1.14 strtoimax.c
--- strtoimax.c 18 Apr 2006 17:20:47 -0000 1.14
+++ strtoimax.c 15 Jun 2006 17:47:10 -0000
@@ -69,7 +69,7 @@ strtoimax (char const *ptr, char **endpt
if (sizeof (INT) != sizeof (long int))
return strtoll (ptr, endptr, base);
#else
- verify (sizeof (INT) == sizeof (long int));
+ verify (sizeof (INT) >= sizeof (long int));
#endif
return strtol (ptr, endptr, base);
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., (continued)
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/10
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Mark D. Baushke, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Derek R. Price, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Larry Jones, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Derek R. Price, 2006/06/13
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/14
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Mark D. Baushke, 2006/06/15
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.,
Mark D. Baushke <=
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Paul Eggert, 2006/06/17
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Jim Hyslop, 2006/06/15
Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Larry Jones, 2006/06/10
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Derek R. Price, 2006/06/11
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Paul Eggert, 2006/06/12
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Mark D. Baushke, 2006/06/12
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Paul Eggert, 2006/06/13
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Mark D. Baushke, 2006/06/12
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Larry Jones, 2006/06/13
- Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed., Mark D. Baushke, 2006/06/15