Commit Graph
21374 Commits
Author SHA1 Message Date
Paul Eggert 21def2abc0 Undo previous change, and remove AC_HEADER_TIOCGWINSZ. 2005-07-09 07:36:33 +00:00
Paul Eggert d2cdd805c4 Update to Eric Blake porting problems. 2005-07-09 07:36:03 +00:00
Paul Eggert d3fdc82a4e (getloadavg) [__CYGWIN__]: Port to cygwin.
[__linux__]: Allocate a big enough buffer for /proc/loadavg.
[!LDAV_DONE]: Avoid unused variable warning.
2005-07-08 23:41:43 +00:00
Paul Eggert 37c6631081 Regenerate. 2005-07-08 22:57:38 +00:00
Paul Eggert 1d0de4ba95 Fix porting problems reported by Eric Blake. 2005-07-08 22:57:09 +00:00
Paul Eggert 648e937e89 (gl_CHECK_ALL_HEADERS): Check for stropt.h. 2005-07-08 22:56:17 +00:00
Paul Eggert 6a0a1919c7 (print_user): Don't assume uid fits in unsigned int.
(print_group): Likewise, for gid.
2005-07-08 22:55:44 +00:00
Paul Eggert 137c1c2208 Include stropt.h if available. 2005-07-08 22:54:40 +00:00
Paul Eggert db7d10bd9d Include stropt.h if available.
Use HAVE_FIONREAD_IN_SYS_IOCTL instead of _POSIX_SOURCE
to decide whether to include <sys/ioctl.h>.
2005-07-08 22:54:15 +00:00
Paul Eggert cb59a7d3d0 Add check for HAVE_FIONREAD_IN_SYS_IOCTL. 2005-07-08 22:53:50 +00:00
Paul Eggert 64890758cf (init_dfa, build_range_exp): Store __btowc value
in wint_t, not wchar_t.  Remove now-unnecessary cast.
2005-07-08 17:58:35 +00:00
Paul Eggert 0e5aafc45a backupfile.m4, same.m4 cleanup. 2005-07-08 07:09:20 +00:00
Paul Eggert 63449616ae (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf. 2005-07-08 07:08:56 +00:00
Paul Eggert 0561231d58 (gl_SAME): Use AC_CHECK_FUNCS_ONCE on pathconf.
Require AC_SYS_LONG_FILE_NAMES.
2005-07-08 07:08:41 +00:00
Paul Eggert 060594db56 Regenerate. 2005-07-08 00:35:04 +00:00
Paul Eggert ce3bb28d95 Switch to Isamu Hasegawa's implementation of regex, which is
now in gnulib.
2005-07-08 00:23:15 +00:00
Paul Eggert 36a263effc Add regcomp.c, regex_internal.c, regex_internal.h. 2005-07-08 00:22:14 +00:00
Paul Eggert 88ca28f3d7 (libcoreutils_a_SOURCES): Remove regex.h; gnulib
now does this automatically for us.
2005-07-08 00:14:05 +00:00
Jim Meyering 52c7a92b85 . 2005-07-07 17:59:05 +00:00
Jim Meyering f68e25dc8f remove stray `=' from comment 2005-07-06 09:34:09 +00:00
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