Commit Graph

21354 Commits

Author SHA1 Message Date
Paul Eggert fce3dd9870 (DECIMAL_DIGIT_ACCUMULATE): Generate a hard error
(not just a warning) if GCC is used and the types don't match.
2005-07-05 22:20:17 +00:00
Jim Meyering e74c15dd5a fix typo in comment 2005-07-05 07:33:50 +00:00
Paul Eggert a7a648d4d4 Remove the need for typeof. 2005-07-05 06:33:24 +00:00
Paul Eggert 3ca74b36f5 Adjust to the change to DECIMAL_DIGIT_ACCUMULATE: its last arg is now
a type, not a value.
2005-07-05 06:32:54 +00:00
Paul Eggert 413a45b973 (VERIFY_W_TYPEOF): Remove; no longer needed.
(DECIMAL_DIGIT_ACCUMULATE): Change last arg from T's maximum value
to T itself.  All callers changed.  Check that T is unsigned, and
that Accum is of type T.  This fixes a bug in the unlikely case
where SIZE_MAX <= INT_MAX, and it no longer requires typeof to do
the proper validity checks.
2005-07-05 06:31:46 +00:00
Paul Eggert fed2b7273d Remove typeof test; no longer needed. 2005-07-05 06:30:57 +00:00
Paul Eggert 85eb851bef (gl_PREREQ): Don't require gl_TYPEOF; no longer needed. 2005-07-05 06:30:27 +00:00
Paul Eggert 971c8d4c1f Adjust to verify.h change. 2005-07-05 05:17:10 +00:00
Paul Eggert aeecb8f89f (VERIFY_W_TYPEOF): Adjust to verify.h change. 2005-07-05 05:16:57 +00:00
Paul Eggert 6ef09ecf57 verify.h improvements. 2005-07-05 05:16:29 +00:00
Paul Eggert 5ad307bfc0 * verify.h (GL_CONCAT0, GL_CONCAT): Define unconditionally; don't
depend on whether verify_decl is defined.
(verify): Renamed from verify_decl.  All uses changed.
Use an extern function decl, as it can't possibly collide with other
decls.
(verify_expr): Renamed from verify.  All uses changed.
(verify_type__): New private macro.
(verify, verify_expr): Use it.
2005-07-05 05:16:08 +00:00
Jim Meyering bd6ce95891 rename: s/verify_dcl/verify_decl/ 2005-07-04 17:40:37 +00:00
Jim Meyering e2b7434615 rename: s/verify_dcl/verify_decl/ 2005-07-04 17:39:48 +00:00
Jim Meyering 14ad8a2da7 *** empty log message *** 2005-07-04 16:09:10 +00:00
Jim Meyering 302c7df271 (libcoreutils_a_SOURCES): Add verify.h here, temporarily.
Eventually, it'll be pulled in via AC_LIBSOURCES.
2005-07-04 16:09:03 +00:00
Jim Meyering 1fd49f4452 *** empty log message *** 2005-07-04 16:06:43 +00:00
Jim Meyering 3b0e00ba4e Include "verify.h". 2005-07-04 16:06:41 +00:00
Jim Meyering 979600d391 *** empty log message *** 2005-07-04 16:05:44 +00:00
Jim Meyering cfdfe3e318 (verify, verify_dcl): New file/macros. 2005-07-04 16:05:41 +00:00
Jim Meyering a54b48abe6 *** empty log message *** 2005-07-04 14:47:47 +00:00
Jim Meyering 13bda3c7c6 (verify_dcl): Rename from VERIFY. Update use. 2005-07-04 14:47:42 +00:00
Jim Meyering 87371803be *** empty log message *** 2005-07-04 14:00:03 +00:00
Jim Meyering 746f032f31 Reflect name change: s/VERIFY/verify_dcl/. 2005-07-04 13:59:54 +00:00
Jim Meyering ab8dd2fabc *** empty log message *** 2005-07-04 13:56:21 +00:00
Jim Meyering fbdee4c720 (verify): Rename from VERIFY_EXPR, to be lower case,
like assert.  Use sizeof, rather than equivalent ((...)0), for
it's slightly simpler syntax.  Suggestions from Paul Eggert.
(verify_decl): Rename from VERIFY.
2005-07-04 13:56:18 +00:00
Paul Eggert 9a00b08ea6 Remove the dependency of the strftime module on the tzset module. 2005-07-04 05:07:30 +00:00
Paul Eggert d96382a5e9 (my_strftime) [! defined _LIBC && ! HAVE_RUN_TZSET_TEST]:
Copy the input structure, to work around some of the bug with
Solaris 2.5.1 and Solaris 2.6.
2005-07-04 05:06:44 +00:00
Paul Eggert ca039b42dc (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER. 2005-07-04 05:06:11 +00:00
Paul Eggert c10f8db2a8 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER. 2005-07-04 05:05:55 +00:00
Jim Meyering c719961a19 *** empty log message *** 2005-07-03 21:10:37 +00:00
Jim Meyering 035abbb7c6 (posixtime) [lint]: Initialize *all* of tm0, not just
the .tm_year member, since otherwise gcc-4.0 would now warn about
tm_zone, tm_gmtoff, tm_isdst, tm_yday, tm_wday.
2005-07-03 21:10:31 +00:00
Jim Meyering 052190e99c *** empty log message *** 2005-07-03 18:21:02 +00:00
Jim Meyering ed8207cf4e *** empty log message *** 2005-07-03 16:58:52 +00:00
Jim Meyering 3e7b6a68b5 Adjust for new diagnostic. 2005-07-03 16:58:48 +00:00
Jim Meyering 98ce09d7d2 Adjust for new diagnostic. 2005-07-03 16:54:37 +00:00
Jim Meyering 9b12f5aa66 cp and mv: the --reply=X option is deprecated 2005-07-03 16:52:09 +00:00
Jim Meyering d7d473a84f *** empty log message *** 2005-07-03 16:52:01 +00:00
Jim Meyering fb4be2889d *** empty log message *** 2005-07-03 16:49:26 +00:00
Jim Meyering 5610a8734d (main): Using --reply now evokes a warning.
(usage): Remove description of --reply.
2005-07-03 16:49:15 +00:00
Jim Meyering 30b8e3a012 *** empty log message *** 2005-07-03 16:48:24 +00:00
Jim Meyering a131d6d892 (cp invocation): Mark --reply as deprecated.
(mv invocation): Likewise.
2005-07-03 16:48:19 +00:00
Jim Meyering 33d0086bb2 *** empty log message *** 2005-07-03 15:30:01 +00:00
Jim Meyering c95640a56e Remove obsolete comment. 2005-07-03 15:29:58 +00:00
Jim Meyering 685eb5f2c3 . 2005-07-03 13:47:39 +00:00
Jim Meyering a7bcad0e5a *** empty log message *** 2005-07-03 13:44:58 +00:00
Jim Meyering e24584b100 (gl_FUNC_LSTAT): Use AC_LIBSOURCES to require lstat.c and lstat.h. 2005-07-03 13:44:52 +00:00
Jim Meyering 85ddb64559 . 2005-07-03 11:58:11 +00:00
Jim Meyering 9caa96f10d *** empty log message *** 2005-07-03 11:55:51 +00:00
Jim Meyering 682e43e0e4 (gl_FUNC_LSTAT): New file, from gnulib. 2005-07-03 11:55:48 +00:00
Paul Eggert 15364e7a4e Log today's changes. 2005-07-03 09:37:52 +00:00