Commit Graph

3305 Commits

Author SHA1 Message Date
Jim Meyering 82ca831856 *** empty log message *** 2003-09-18 22:22:17 +00:00
Jim Meyering 79ade1ea9c (version_etc): Rename parameter, authors, to written_by. 2003-09-18 22:21:41 +00:00
Jim Meyering 33c7b98bbc *** empty log message *** 2003-09-18 22:21:10 +00:00
Jim Meyering b14965fae9 (version_etc): Rename parameter, authors, to written_by.
Combine fprintf and following putc('\n'.
2003-09-18 22:20:44 +00:00
Jim Meyering 243ea2b5e9 *** empty log message *** 2003-09-18 22:09:05 +00:00
Jim Meyering c6ec144494 revert previous change 2003-09-18 19:39:12 +00:00
Jim Meyering 588291785c *** empty log message *** 2003-09-18 18:13:57 +00:00
Jim Meyering ac58291e4d (parse_long_options): Update prototype. 2003-09-18 18:13:44 +00:00
Jim Meyering 6e1f55d40f Include stdarg.h.
(parse_long_options): Make this function variadic (authors), too.
Call version_etc_va, not version_etc.
2003-09-18 18:13:18 +00:00
Jim Meyering 0ed744a035 (version_etc_va): Declare it. 2003-09-18 18:10:22 +00:00
Jim Meyering 28a8798c03 This lets translators provide better translations for the
`Written by ...' part of --version output.

Include stdarg.h, stdlib.h, string.h, and xalloc.h.
(version_etc): Make this function variadic,
with a NULL-terminated list of author name strings.
(version_etc_va): New function.
2003-09-18 18:09:44 +00:00
Jim Meyering 20a24ef302 *** empty log message *** 2003-09-17 18:49:41 +00:00
Jim Meyering 39468cd38f (read_utmp): Likewise.
Check for fstat error.  Close stream and free storage when failing.
2003-09-17 18:49:34 +00:00
Jim Meyering 651fd58f8f (getndelim2): Don't trash errno when a read
fails, so that the caller gets the proper errno.
2003-09-17 18:46:57 +00:00
Jim Meyering 21158aed3a (readlinebuffer): Return NULL immediately upon
input error, instead of returning NULL the next time we are called
(and therefore losing track of errno).
2003-09-17 18:45:24 +00:00
Jim Meyering 7620cc92c2 Add comment from Bruno Haible. 2003-09-17 18:43:25 +00:00
Jim Meyering 395d134eef . 2003-09-14 08:29:44 +00:00
Jim Meyering 6335f4404f Update from gnulib. 2003-09-13 22:12:21 +00:00
Jim Meyering 4377eca42f . 2003-09-13 22:03:55 +00:00
Jim Meyering edd9eaa9c0 *** empty log message *** 2003-09-13 22:03:50 +00:00
Jim Meyering bb9cf91d91 (libfetish_a_SOURCES): Add exit.h, strndup.h, time_r.c, time_r.h. 2003-09-13 22:03:45 +00:00
Jim Meyering 540ca8b305 *** empty log message *** 2003-09-13 22:03:02 +00:00
Jim Meyering dce9582d2c Update from gnulib. 2003-09-13 22:01:20 +00:00
Jim Meyering 2be39af412 Update from gnulib. 2003-09-13 21:54:35 +00:00
Jim Meyering 07f3bfba3a New file, from gnulib. 2003-09-13 21:53:33 +00:00
Jim Meyering 9ba06e55a5 Update from gnulib. 2003-09-13 19:54:00 +00:00
Jim Meyering 6e149418b7 Update from gnulib. 2003-09-13 19:53:18 +00:00
Jim Meyering 38c61c8bcb Update from gnulib. 2003-09-13 19:52:30 +00:00
Jim Meyering 83a9f384ae New file, from gnulib. 2003-09-13 19:50:59 +00:00
Jim Meyering dbdd37af64 New file, from GNU gettext, via gnulib. 2003-09-13 18:02:10 +00:00
Jim Meyering 4d5f314e75 from gnulib 2003-09-13 18:00:43 +00:00
Jim Meyering 6fe4848ea5 from gnulib 2003-09-13 18:00:08 +00:00
Jim Meyering a05e8213a3 (my_mktime_localtime_r): Remove; all uses changed to __localtime_r.
(__localtime_r) [!defined _LIBC]: New macro.  Include <time_r.h>.
(__mktime_internal) [!defined _LIBC]: Now extern, not static.
2003-09-13 17:59:53 +00:00
Jim Meyering f4bf3aa571 (my_strftime_gmtime_r): Remove; all uses changed to __gmtime_r.
(my_strftime_localtime_r): Remove; all uses changed to __localtime_r.
(__gtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros.
Include <time_r.h>.
2003-09-13 17:58:57 +00:00
Jim Meyering 8e3272f546 . 2003-09-13 11:58:35 +00:00
Jim Meyering 745c63c70c *** empty log message *** 2003-09-13 10:30:48 +00:00
Jim Meyering c32fb8f43e (error_tail): Assume vprintf. 2003-09-13 10:29:28 +00:00
Jim Meyering d366ff1e4a Update from gnulib. 2003-09-13 10:28:58 +00:00
Jim Meyering 36adf17e1d (EXIT_FAILURE): Remove; now done by exit.h
Don't include stdlib.h; no longer needed.
2003-09-13 10:25:44 +00:00
Jim Meyering 6305639766 Include "xalloc.h" first, to check interface.
Include <stdlib.h> unconditionally.

Include exit.h.
(EXIT_FAILURE): Remove; now done by exit.h
2003-09-13 10:23:46 +00:00
Jim Meyering ea2c919bf2 [!defined _LIBC]: Include exit.h.
Remove; now done by exit.h.
2003-09-13 10:21:07 +00:00
Jim Meyering e151df91d8 Include exit.h.
Remove; now done by exit.h
2003-09-13 10:20:45 +00:00
Jim Meyering 3da69c62ed Include exit.h.
(EXIT_FAILURE): Remove; now done by exit.h
2003-09-13 10:19:33 +00:00
Jim Meyering a6d7c63bf8 *** empty log message *** 2003-09-11 09:09:02 +00:00
Jim Meyering fa751c2b25 Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
2003-09-11 09:08:29 +00:00
Jim Meyering 4e150ea968 Include <stdlib.h> unconditionally. 2003-09-11 09:07:35 +00:00
Jim Meyering e60a0548b7 Include <stdlib.h> unconditionally. 2003-09-11 09:06:50 +00:00
Jim Meyering 03dd48e562 Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
2003-09-11 09:06:31 +00:00
Jim Meyering e1ba7e7e94 (_RE_ARGS): Remove. All uses removed. 2003-09-11 09:06:19 +00:00
Jim Meyering 2917b8fbad (PARAMS): Remove. All uses removed.
All uses of _RE_ARGS removed, too.
Include <stddef.h>, <stdlib.h>, <string.h>, <limits.h>
unconditionally.
(bzero): Assume memset exists.
(memcmp, memcpy, NULL): Remove.
(SIGN_EXTEND_CHAR): Remove; all uses replaced by casts to signed
char, or assignments to local vars of type signed char.
(init_syntax_once, PREFIX(extract_number_and_incr),
PREFIX(print_partial_compiled_pattern),
PREFIX(print_compiled_pattern), PREFIX(print_double_string),
convert_mbs_to_wcs, print_fastmap, re_set_syntax,
PREFIX(regex_grow_registers), PREFIX(regex_compile),
PREFIX(store_op1), PREFIX(store_op2), PREFIX(insert_op1),
PREFIX(insert_op2), PREFIX(at_begline_loc_p),
PREFIX(at_endline_loc_p), group_in_compile_stack, insert_space,
wcs_compile_range, byte_compile_range, truncate_wchar,
PREFIX(re_compile_fastmap), re_compile_fastmap, re_set_registers,
re_search, re_search_2, PREFIX(re_search_2), re_match, re_match_2,
count_mbs_length, wcs_re_match_2_internal,
byte_re_match_2_internal, PREFIX(group_match_null_string_p),
PREFIX(alt_match_null_string_p),
PREFIX(common_op_match_null_string_p), PREFIX(bcmp_translate),
re_compile_pattern, re_comp, re_exec, regcomp, regexec, regerror,
regfree, PREFIX(extract_number)): Define with prototype.  Remove
now-unnecessary declaration, if any.
(byte_compile_range, PREFIX(regex_compile), re_comp, re_exec,
regcomp, regexec):
Remove now-unnecessary casts among pointer types.
2003-09-11 09:06:10 +00:00