Mercurial > hg > octave-kai > gnulib-hg
annotate lib/ChangeLog @ 3655:6c927f9499db
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 27 Nov 2001 12:56:20 +0000 |
parents | f11f67627a82 |
children | 819f2876619a |
rev | line source |
---|---|
3655 | 1 2001-11-27 Jim Meyering <meyering@lucent.com> |
2 | |
3 * tempname.c: Merge with version from libc. | |
4 | |
5 * tempname.c: Include stdlib.h unconditionally. On some old systems | |
6 for which STDC_HEADERS is 0, it was not included, resulting in a | |
7 warning about an integer-to-pointer conversion problem with getenv. | |
8 Reported by Volker Borchert. | |
9 | |
3651 | 10 2001-11-26 Jim Meyering <meyering@lucent.com> |
11 | |
12 * gtod.h: Remove file. | |
13 * gettimeofday.c: Don't include gtod.h. | |
14 (GTOD_init): Remove function. | |
15 (rpl_gettimeofday): Do its job here instead, rather than aborting. | |
16 Suggestion from Volker Borchert. | |
17 | |
3647 | 18 2001-11-23 Jim Meyering <meyering@lucent.com> |
19 | |
20 * hash.h (struct hash_table): Don't define here. Merely declare it. | |
21 * hash.c (struct hash_table): Define it here instead. | |
22 | |
3644 | 23 2001-11-22 Jim Meyering <meyering@lucent.com> |
24 | |
25 * hash.h: Bracket contents of file with #ifndef HASH_H_ ... #endif. | |
26 | |
3636 | 27 2001-11-18 Paul Eggert <eggert@twinsun.com> |
28 | |
29 * tempname.c (TMP_MAX): Remove; no longer needed. | |
30 (TEMPORARIES): New macro. | |
31 (__gen_tempname): Use TEMPORARIES rather than TMP_MAX. This | |
32 removes an artificial limitation (e.g. HP-UX 10.20, where | |
33 TMP_MAX is 17576). | |
34 | |
3627 | 35 2001-11-18 Jim Meyering <meyering@lucent.com> |
36 | |
37 * tempname.c [!HAVE_DECL_GETENV]: Declare getenv to avoid warning | |
38 on SunOS4. | |
39 | |
3628 | 40 * Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those |
41 files will be created before anything else. | |
3627 | 42 |
3615 | 43 2001-11-17 Jim Meyering <meyering@lucent.com> |
44 | |
3638 | 45 * modechange.c (mode_adjust): Fix error introduced on 1999-04-26 |
46 that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable | |
47 rather than group writable. Patch by Juan F. Codagnone. | |
48 | |
3623 | 49 * readtokens.c: Remove explicit declarations of xmalloc and xrealloc, |
50 Instead, include "xalloc.h". | |
51 | |
52 * mountlist.c: Include unlocked-io.h after all system headers. | |
53 Remove explicit declarations of xmalloc, xrealloc, | |
54 and xstrdup. Instead, include "xalloc.h". | |
55 | |
3619 | 56 * argmatch.c, closeout.c, error.c, exclude.c: Include unlocked-io.h. |
57 * fatal.c, getdate.y, getpass.c, getstr.c, getusershell.c: Likewise. | |
58 * mountlist.c, posixtm.c, readtokens.c, readutmp.c: Likewise. | |
3623 | 59 |
3619 | 60 * regex.c, sha.c, version-etc.c, yesno.c: Likewise. |
3620 | 61 Reported by Padraig Brady. |
3619 | 62 |
3615 | 63 * mkstemp.c: #undef mkstemp. |
64 Include config.h. | |
65 (rpl_mkstemp): Rename from mkstemp. | |
66 Protoize. | |
67 | |
3608 | 68 2001-11-16 Jim Meyering <meyering@lucent.com> |
69 | |
70 * physmem.c [HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>. | |
71 (physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to | |
72 determine the amount of total physical memory, use pstat_getstatic. | |
73 HPUX-11 doesn't define _SC_PHYS_PAGES. | |
74 (physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]: | |
75 If sysconf couldn't be used to determine the amount of available | |
76 physical memory, use both pstat_getstatic and pstat_getdynamic. | |
77 Based on a patch from Bob Proulx. | |
78 | |
3597 | 79 2001-11-05 Jim Meyering <meyering@lucent.com> |
80 | |
81 * xstat.in (slash_aware_lstat): Correct a misleading comment. | |
82 | |
3583 | 83 2001-11-03 Jim Meyering <meyering@lucent.com> |
84 | |
3591 | 85 * argmatch.h (ARGMATCH_TO_ARGUMENT): Remove casts of first two args |
86 in argmatch_to_argument call. | |
87 | |
3586 | 88 * dirfd.c (dirfd): Reflect the fact that DIR_TO_FD now takes an |
89 argument. | |
90 | |
3583 | 91 * hash.c (hash_clear): Fix a bug that could lead to an infloop or |
92 e.g., a fault due to an attempt to free a NULL pointer. | |
93 | |
3565 | 94 2001-11-01 Jim Meyering <meyering@lucent.com> |
95 | |
3576 | 96 * dirfd.c, dirfd.h: New files. |
3573 | 97 * Makefile.am (libfetish_a_SOURCES): Add dirfd.h. |
98 | |
3565 | 99 * hash.c (hash_print) [TESTING]: Clean up. |
100 | |
3562 | 101 2001-10-22 Paul Eggert <eggert@twinsun.com> |
102 | |
103 * hard-locale.c (alloca): Define to __builtin_alloca if __GNUC__, | |
104 to avoid a warning if -Wall. | |
105 | |
3560 | 106 2001-10-21 Paul Eggert <eggert@twinsun.com> |
107 | |
3562 | 108 * regex.c (uintptr_t): Remove macro and decl; it's config.h's job. |
3560 | 109 |
3553 | 110 2001-10-21 Jim Meyering <meyering@lucent.com> |
111 | |
112 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, | |
113 this code would end up calling gettext even in packages built | |
114 with --disable-nls. | |
3555 | 115 * getopt.c (_): Likewise. |
3557 | 116 * regex.c (_): Likewise. |
3553 | 117 |
3551 | 118 2001-10-20 Paul Eggert <eggert@twinsun.com> |
119 | |
120 * error.c (strerror_r): Do not declare unless !_LIBC. | |
121 Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. | |
122 Use strerror_r that is only a macro, even if it is not a function. | |
123 (strerror): Check for HAVE_DECL_STRERROR before declaring. | |
124 (private_strerror): Use prototypes, not old-style function definition. | |
125 (print_errno_message): New function. | |
126 Support the POSIX 'int'-flavored strerror_r, as well as the traditional | |
127 char*-flavored one. | |
128 (error_tail, error, error_at_line): Use it. | |
129 | |
3546 | 130 2001-10-11 Jim Meyering <meyering@lucent.com> |
131 | |
132 * argmatch.c (argmatch_invalid): Use quotearg_n_style (0, ... | |
133 and quote_n (1, ... to avoid clobbering a buffer. | |
134 | |
3543 | 135 2001-10-05 Jim Meyering <meyering@lucent.com> |
136 | |
137 * Makefile.am: (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h. | |
138 * hash-pjw.c: New file (factored out of fileutils' remove.c). | |
139 * hash-pjw.h: New file. | |
140 | |
3538 | 141 2001-09-30 Jim Meyering <meyering@lucent.com> |
142 | |
143 * mountlist.c [MOUNTED_GETFSSTAT]: | |
144 Include <sys/ucred.h>, for Apple Darwin. | |
145 Include sys/mount.h and sys/fs_types.h only if available. | |
146 (FS_TYPE): Define. | |
147 (read_filesystem_list): Use FS_TYPE. | |
148 | |
3536 | 149 2001-09-29 Paul Eggert <eggert@twinsun.com> |
150 | |
3562 | 151 * exclude.c (excluded_filename): 0 -> false, since it's |
3536 | 152 a boolean context. |
153 | |
3526 | 154 2001-09-28 Paul Eggert <eggert@twinsun.com> |
155 | |
156 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which | |
157 #defines strtoimax. Also treat the other strto* functions | |
158 like strtoimax. | |
159 | |
160 * xstrtol.c (strtol): Do not declare if HAVE_DECL_STRTOL. | |
161 (strtoul): Do not declare if HAVE_DECL_STRTOUL. | |
162 (strtoimax, strtoumax): Do not declare if already defined as a macro. | |
163 | |
3521 | 164 2001-09-26 Jim Meyering <meyering@lucent.com> |
165 | |
166 Most macros in unlocked-io.h had the wrong number of arguments. | |
167 * gen-uio: New script. | |
3524 | 168 (USE_UNLOCKED_IO): Define to 1 if not already defined. |
3521 | 169 * unlocked-io.hin: Remove file. |
170 * Makefile.am (unlocked-io.h): Rewrite to use a separate script, | |
171 rather than trying to embed it here. | |
172 (EXTRA_DIST): Add gen-uio. Remove unlocked-io.hin | |
173 Reported by Padraig Brady. | |
174 | |
3512 | 175 2001-09-25 Volker Borchert <bt@teknon.de> |
176 | |
177 * gettimeofday.c (rpl_gettimeofday): Declare local variable `result'. | |
178 | |
3503 | 179 2001-09-23 Jim Meyering <meyering@lucent.com> |
180 | |
181 * mountlist.c: Remove useless parentheses in #if directives. | |
182 (MOUNTED) [!defined MOUNTED]: Define to _PATH_MOUNTED, for when | |
183 the deprecated MOUNTED symbol is no longer defined in mntent.h. | |
184 | |
3495 | 185 2001-09-22 Jim Meyering <meyering@lucent.com> |
186 | |
187 * localcharset.c: Update from latest gettext. | |
188 * config.charset: Likewise. | |
189 | |
3493 | 190 2001-09-20 Jim Meyering <meyering@lucent.com> |
191 | |
192 * xstrtol.c (strtoimax): Guard declaration with | |
193 `#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'. | |
194 The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0) | |
195 have their own, conflicting declaration of strtoimax in sys/inttypes.h. | |
196 (strtoumax): Likewise, for completeness (it wasn't necessary). | |
197 | |
3482 | 198 2001-09-06 Paul Eggert <eggert@twinsun.com> |
199 | |
200 * strtoimax.c (HAVE_LONG_LONG): | |
201 Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned. | |
202 (strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base), | |
203 to work around bug in IBM C compiler. | |
204 | |
3479 | 205 2001-09-16 Jim Meyering <meyering@lucent.com> |
206 | |
207 * mkdir.c: New file. | |
208 | |
3467 | 209 2001-09-04 Paul Eggert <eggert@twinsun.com> |
210 | |
211 * xgetcwd.c: Revert some of the previous change; intead, | |
212 fix the HAVE_GETCWD_NULL code to behave more like the | |
213 !HAVE_GETCWD_NULL code used to. | |
214 | |
215 Include "xalloc.h". | |
216 (xgetcwd): Do not return NULL when memory is exhausted; instead, | |
217 invoke xalloc_die. | |
218 | |
3465 | 219 2001-09-04 Paul Eggert <eggert@twinsun.com> |
220 | |
221 * xreadlink.c (xreadlink): Omit size_t* arg. All uses changed. | |
222 Use ssize_t, not int, to store result of readlink. | |
223 Check for ssize_t overflow as well as size_t overflow, | |
224 as POSIX says the result of readlink is implementation-defined | |
225 when ssize_t overflows. | |
226 Remove unnecessary cast to char*. | |
227 Use free+malloc instead of realloc, as the storage doesn't need | |
228 to be preserved and it's clearer and can be more efficient that way. | |
229 (SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare. | |
230 * xreadlink.h (xreadlink): Update prototype. | |
231 | |
3460 | 232 2001-09-03 Paul Eggert <eggert@twinsun.com> |
233 | |
234 * exclude.c (fnmatch_no_wildcards): Fix confusion between | |
235 usage of FNM_CASEFOLD and FNM_LEADING_DIR. The bug was | |
236 spotted by Jim Meyering. | |
237 | |
3456 | 238 2001-09-03 Jim Meyering <meyering@lucent.com> |
239 | |
240 * xreadlink.c (xreadlink): Preserve errno around `free' during failure. | |
241 | |
242 2001-09-03 Paul Eggert <eggert@twinsun.com> | |
243 | |
244 * xgetcwd.c: Fix the !HAVE_GETCWD_NULL code to behave more | |
245 like the HAVE_GETCWD_NULL code. | |
246 Include pathmax.h if not HAVE_GETCWD. | |
247 Do not include xalloc.h. | |
248 (INITIAL_BUFFER_SIZE): New symbol. | |
249 Do not use xmalloc / xrealloc, since the caller is responsible for | |
250 handling errors. Preserve errno around `free' during failure. | |
251 Do not overrun buffer when using getwd. | |
252 | |
3449 | 253 2001-09-03 Paul Eggert <eggert@twinsun.com> |
254 | |
255 * xgetcwd.c (xgetcwd): Use HAVE_GETCWD_NULL, not (defined | |
256 __GLIBC__ && __GLIBC__ >= 2), to decide whether to use getcwd (NULL, 0). | |
257 | |
3447 | 258 2001-09-02 Jim Meyering <meyering@lucent.com> |
259 | |
260 * error.c: Update from GNU libc. | |
261 | |
3437 | 262 2001-09-01 Jim Meyering <meyering@lucent.com> |
263 | |
3442 | 264 * xreadlink.c: New file. |
265 * xreadlink.h: New file. | |
266 * Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h. | |
267 | |
3439 | 268 * regex.c (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it |
269 doesn't conflict with sparc-sun-solaris2.7's definition in | |
270 /usr/include/sys/int_types.h. | |
271 | |
3437 | 272 * exclude.c: Use `""', not `<>' to #include non-system header files. |
273 (fnmatch_no_wildcards): Rewrite not to use function names, strcasecmp | |
274 and strncasecmp as r-values. Unixware didn't have declarations. | |
275 | |
3434 | 276 2001-08-31 Jim Meyering <meyering@lucent.com> |
277 | |
278 * xgetcwd.c (xgetcwd): Reorganize to avoid some duplication. | |
279 Use an initial, malloc'd, buffer of length 128 rather than | |
280 a statically allocated one of length 1024. | |
281 | |
3432 | 282 2001-08-30 Paul Eggert <eggert@twinsun.com> |
283 | |
3562 | 284 * xgetcwd.c: Don't include pathmax.h. |
3432 | 285 Include stdlib.h and unistd.h if available. |
286 Include xalloc.h. | |
287 (xmalloc, xstrdup, free): Remove decls. | |
288 (xgetcwd): Don't assume sizes fit in unsigned. | |
289 Check for overflow when computing sizes. | |
290 Simplify reallocation code. | |
291 | |
3422 | 292 2001-08-28 Paul Eggert <eggert@twinsun.com> |
293 | |
294 * Makefile.am (libfetish_a_SOURCES): Remove strtoxmax.c. | |
295 | |
296 * strtoimax.c: Renamed from strtoxmax.c, removing the | |
297 old strtoimax.c. | |
298 | |
299 Also, make the following further changes to make this file's | |
300 configuration more similar to that of strtol.c: | |
301 (UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED. All uses changed. | |
302 (strtoumax, uintmax_t, strtoull, strtol): Remove. | |
303 (intmax_t, strtoimax, strtol, strtoll): New macros, if UNSIGNED. | |
304 (strtoimax): Renamed from strtoumax. All uses of unsigned values | |
305 changed to signed values. | |
306 | |
307 And make the following changes as well: | |
308 Fix copyright notice, as 1999 was missing. | |
309 (verify): New macro. | |
310 (strtoimax): Check sizes at compile-time, not run-time. | |
311 Prefer strtol to strtoll if both work. | |
312 (main): Remove; it was not that useful and was a pain to maintain. | |
313 | |
314 * strtoumax.c: Include strtoimax.c, not strtouxmax.c. | |
315 | |
3415 | 316 2001-08-30 Paul Eggert <eggert@twinsun.com> |
317 | |
3422 | 318 * savedir.c (savedir): Remove size parameter, as POSIX says that |
319 a directory's st_size can have an arbitrary value, so the old | |
320 usage could waste an arbitrary amount of memory. All uses | |
321 changed. | |
322 * savedir.h: Update prototype. | |
323 | |
324 2001-08-30 Paul Eggert <eggert@twinsun.com> | |
325 | |
326 * xstrtol.c (strtoimax): New decl. | |
3415 | 327 |
3413 | 328 2001-08-28 Paul Eggert <eggert@twinsun.com> |
329 | |
3422 | 330 * xstrtol.h: Add copyright notice. |
3413 | 331 (_DECLARE_XSTRTOL): Improve quality of diagnostic for |
332 LONGINT_INVALID_SUFFIX_CHAR. | |
333 | |
3411 | 334 2001-08-30 Paul Eggert <eggert@twinsun.com> |
335 | |
336 * quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct | |
337 tm to be declared. | |
338 | |
3409 | 339 2001-08-30 Paul Eggert <eggert@twinsun.com> |
340 | |
341 * hash.c: Remove '2001' from copyright notice. | |
342 | |
3405 | 343 2001-08-30 Paul Eggert <eggert@twinsun.com> |
344 | |
345 * full-write.h: New file. | |
346 * Makefile.am (libfetish_a_SOURCES): Add full-write.h. | |
347 * full-write.c: Correct credits, as cccp.c no longer | |
348 exists and anyway it was so heavily changed from the old cccp | |
349 code as to be unrecognizable. Include full-write.h. | |
350 (full_write) Return size_t, with short writes meaning failure. | |
351 All callers changed. This fixes a bug with large buffers | |
352 on 64-bit hosts. | |
353 * utime.c: Include full-write.h. | |
354 | |
3397 | 355 2001-08-30 Paul Eggert <eggert@twinsun.com> |
356 | |
3400 | 357 Merge 'exclude' changes from tar 1.13.22. |
358 This fixes one or two unlikely storage allocation overflow bugs, | |
359 but doesn't change user-visible behavior otherwise. | |
360 | |
3405 | 361 2001-08-30 Paul Eggert <eggert@twinsun.com> |
362 | |
3400 | 363 * exclude.c (bool): Declare, perhaps by including stdbool.h. |
364 (<sys/types.h>): Include only if HAVE_SYS_TYPES_H. | |
365 (<stdlib.h>, <string.h>, <strings.h>, <inttypes.h>, <stdint.h>): | |
366 Include if available. | |
367 (<xalloc.h>): Include | |
368 (SIZE_MAX): Define if <stdint.h> or <inttypes.h> doesn't. | |
369 (verify): New macro. Use it to verify that EXCLUDE macros do not | |
370 collide with FNM macros. | |
371 (struct patopts): New struct. | |
372 (struct exclude): Use it, as exclude patterns now come with options. | |
373 (new_exclude): Support above changes. | |
374 (new_exclude, add_exclude_file): | |
375 Initial size must now be a power of two to simplify overflow checking. | |
376 (free_exclude, fnmatch_no_wildcards): New function. | |
377 (excluded_filename): No longer requires options arg, as the options | |
378 are determined by add_exclude. Now returns bool, not int. | |
379 (excluded_filename, add_exclude): | |
380 Add support for the fancy new exclusion options. | |
381 (add_exclude, add_exclude_file): Now takes int options arg. | |
382 Check for arithmetic overflow when computing sizes. | |
383 (add_exclude_file): xrealloc might modify errno, so don't | |
384 realloc until after errno might be used. | |
385 | |
386 * exclude.h (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE,EXCLUDE_WILDCARDS): | |
387 New macros. | |
388 (free_exclude): New decl. | |
389 (add_exclude, add_exclude_file): Now takes int options arg. | |
390 (excluded_filename): No longer requires options arg, as the options | |
391 are determined by add_exclude. Now returns bool, not int. | |
392 | |
3405 | 393 2001-08-30 Paul Eggert <eggert@twinsun.com> |
394 | |
395 * alloca.c (alloca): Arg is of type size_t, not unsigned. | |
3397 | 396 |
3387 | 397 2001-08-27 Jim Meyering <meyering@lucent.com> |
398 | |
3391 | 399 * Makefile.am (libfetish_a_SOURCES): Add strtoxmax.c |
400 | |
401 * version-etc.c (N_): Remove definition. | |
402 Revert most of last change. | |
403 Instead, simply don't mark the `Copyright...' string for translation. | |
404 Based on advice from Paul Eggert. | |
405 | |
3387 | 406 * strtoxmax.c: Tweak comment. |
407 | |
3368 | 408 2001-08-26 Jim Meyering <meyering@lucent.com> |
409 | |
3387 | 410 * version-etc.c (version_etc_copyright_fmt): Replace literal year |
411 of copyright with `%s' so translators don't get an untranslated | |
412 message in 2002. | |
413 (COPYRIGHT_YEAR): Define. | |
414 (version_etc): Use fprintf rather than fputs. | |
415 Suggestion from Ulrich Drepper. | |
416 | |
3378 | 417 * Makefile.am (libfetish_a_SOURCES): Add xstrtoimax.c. |
418 | |
3375 | 419 * strtoll.c: New file, from GNU libc. |
3368 | 420 * xstrtoimax.c: New file. |
421 | |
3380 | 422 * xstrtol.h: Add xstrtoimax. |
3368 | 423 * strtoumax.c: New file. Simply include "strtoumax.c". |
424 * strtoimax.c: New file. Likewise, but first define STRTOUXMAX_SIGNED. | |
425 | |
426 * strtoumax.c: Factor to work both for unsigned and signed types, ... | |
3387 | 427 * strtoxmax.c: ... then renamed to this. |
3368 | 428 |
3348 | 429 2001-08-13 Paul Eggert <eggert@twinsun.com> |
430 | |
431 * Makefile.am (unlocked-io.h): Do not append "_unlocked" twice. | |
432 Port to Solaris 8, where 'sed' requires a space after the 'r' | |
433 command, and where sh dislikes "$/". Clean up the spacing a bit. | |
434 Redirect output to $tmp just once. | |
435 | |
3346 | 436 2001-08-12 Paul Eggert <eggert@sic.twinsun.com> |
437 | |
3411 | 438 * addext.c (<errno.h>): Include. |
3346 | 439 (errno): Declare if not defined. |
440 (addext): Work correctly when pathconf returns -1 and leaves | |
441 errno alone because there is no limit. Also, work even if | |
442 pathconf returns a value greater than SIZE_MAX. | |
443 | |
3344 | 444 2001-08-12 Jim Meyering <meyering@lucent.com> |
445 | |
446 * xgetcwd.c (xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]: | |
447 Simply `return getcwd (NULL, 0);'. | |
448 [! (defined __GLIBC__ && __GLIBC__ >= 2)]: | |
449 Use 1300 as initial value for length, not PATH_MAX. | |
450 | |
451 * pathmax.h: Clean up cpp syntax. | |
452 | |
3334 | 453 2001-08-12 Jim Meyering <meyering@lucent.com> |
454 | |
455 * gettimeofday.c: New file. | |
456 * gtod.h: New file. | |
457 * Makefile.am (libfetish_a_SOURCES): Add gtod.h. | |
458 | |
3329 | 459 2001-08-04 Jim Meyering <meyering@lucent.com> |
460 | |
461 * error.h (__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt, | |
462 to get in sync with glibc. | |
463 | |
3327 | 464 2001-08-03 Paul Eggert <eggert@twinsun.com> |
465 | |
466 The following changes are from gettext 0.10.39 as maintained by | |
467 Bruno Haible. | |
468 | |
469 * mbswidth.h (MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID): | |
470 Renamed from MBSW_ACCEPT_UNPRINTABLE and MBSW_ACCEPT_INVALID | |
471 with inverted sense. All uses changed. | |
472 | |
473 * mbswidth.c: Don't include <limits.h>. | |
474 Include <stdlib.h> and <string.h> unconditionally. | |
475 (iswcntrl, mbsinit, ISCNTRL): New macros. | |
476 (mbsnwidth): Use K&R style function declarations. | |
477 Don't bother checking for MB_LEN_MAX == 1, since the compiler | |
478 can optimize it when MB_CUR_MAX == 1. | |
479 The width of control characters is zero, not 1. | |
480 | |
3300 | 481 2001-07-15 Jim Meyering <meyering@lucent.com> |
482 | |
3301 | 483 * Makefile.am (EXTRA_DIST): Add unlocked-io.hin. |
484 (BUILT_SOURCES): Add unlocked-io.h. | |
485 (io_functions): Define. | |
486 (unlocked-io.h): New rule. | |
3304 | 487 (DISTCLEANFILES): Add unlocked-io.h. |
3306 | 488 (all-local): Depend on unlocked-io.h, to ensure it is created. |
3304 | 489 |
3301 | 490 * unlocked-io.hin: New file |
491 | |
3300 | 492 * regex.c: Update from glibc. |
493 | |
3290 | 494 2001-07-05 Jim Meyering <meyering@lucent.com> |
495 | |
496 * Makefile.am (noinst_HEADERS): Remove definition, per new automake | |
497 recommendation. | |
498 (libfetish_a_SOURCES): Put all .h files here instead. | |
499 Remove a thus-exposed (better checks in automake) duplicate and | |
500 two unnecessary .h files. | |
501 | |
3279 | 502 2001-06-11 Jim Meyering <meyering@lucent.com> |
503 | |
504 * regex.c: Update from GNU libc. | |
505 | |
3277 | 506 2001-05-27 Jim Meyering <meyering@lucent.com> |
507 | |
508 * readutmp.h (UT_TYPE): Define. | |
509 | |
3273 | 510 2001-05-24 Jim Meyering <meyering@lucent.com> |
511 | |
512 * argmatch.c: Include "quote.h". | |
513 (argmatch_invalid): Remove explicit `' quotes. Instead, use the | |
514 quote function. Reported by G�ran Uddeborg. | |
515 | |
3264 | 516 2001-05-20 Alexandre Duret-Lutz <duret_g@epita.fr> |
517 | |
518 * dirname.c (dir_name): Compute append_dot using path, not newpath | |
519 which is not yet declared. | |
520 | |
521 2001-05-11 Paul Eggert <eggert@twinsun.com> | |
522 | |
3411 | 523 * Makefile.am (libfetish_a_SOURCES): |
3264 | 524 Add strftime.c, since we now compile it on all hosts. |
525 | |
3411 | 526 * strftime.c (my_strftime): |
3264 | 527 Define to nstrftime if emacs, but only if my_strftime is not defined. |
528 (extra_args, extra_args_spec, extra_args_spec_iso): Rename from | |
529 ut_argument, ut_argument_spec, ut_argument_spec_iso, respectively. | |
530 Add one more extra argument: a nanoseconds value. | |
531 All uses changed. | |
532 (ns): New macro. | |
533 (my_strftime function): Add %N format. | |
534 (emacs_strftimeu): Renamed from emacs_strftime, | |
535 with extra ut argument. | |
536 | |
3249 | 537 2001-05-11 Paul Eggert <eggert@twinsun.com> |
538 | |
539 dirname code cleanup. base_name now behaves more compatibly | |
540 with POSIX basename when given file names that have trailing | |
541 slashes, and similarly for dir_name. Add new primitives | |
542 base_len and dir_len. Put the directory-name-related decls | |
543 into dirname.h. | |
544 | |
545 * addext.c (ISSLASH, base_name): Remove; now in dirname.h. | |
546 * backupfile.c (base_name): Likewise. | |
547 * basename.c (FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Likewise. | |
548 * dirname.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Likewise. | |
549 * makepath.c (strip_trailing_slashes): Likewise. | |
550 * path-concat.c (DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): | |
551 Likewise. | |
552 * rename.c (strip_trailing_slashes): Likewise. | |
553 * same.c (base_name): Likewise. | |
554 * stripslash.c (ISSLASH): Likewise. | |
555 | |
556 * addext.c: Include <dirname.h> after size_t is defined. | |
557 * backupfile.c: Likewise. | |
558 | |
559 * addext.c (addext): Use base_len to trim redundant | |
560 trailing slashes instead of doing it ourselves. | |
561 But do not trim the last slash if it is not redundant. | |
562 | |
563 * backupfile.c (find_backup_file_name, | |
564 max_backup_version): Use base_len instead of rolling it ourselves. | |
565 Handle the case of "" and (on DOS) "C:" correctly. | |
566 | |
567 * basename.c: Do not include <stdio.h>, <assert.h>; no longer needed. | |
568 Include <string.h>, <dirname.h>. | |
569 (base_name): Allow file names ending in slashes, other than names | |
570 that are all slashes. In this case, return the basename followed | |
571 by the slashes. This is more general, and can be used in places | |
572 where the original base_name purposely had an assertion failure. | |
573 (base_len): New function. | |
574 | |
575 * dirname.c: Include <string.h> instead of <stdlib.h>. | |
576 Do not include <assert.h>; no longer needed. | |
577 Include xalloc.h. | |
578 (memrchr): Remove decl. | |
579 (dir_name_r): Remove. | |
580 (dir_len): Renamed from dirlen. All callers changed. | |
581 Rewrite in terms of base_name, for simplicity and consistency. | |
582 (dir_name): Never return NULL. All callers changed. | |
583 Do not include <stdlib.h> in test program; no longer needed. | |
584 return 0; is fine for test program. | |
585 | |
586 * dirname.h (DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): | |
587 New macros. | |
588 (base_name, base_len, dir_len, strip_trailing_slashes): New decls. | |
589 | |
590 * path-concat.c (path_concat): Use base_len to compute | |
591 base length, not strlen; this means we cannot rely on memcpy | |
592 to null-terminate. | |
593 | |
594 * same.c (STREQ): Remove. | |
595 (same_name): Handle the case where the basename ends in trailing '/'. | |
596 | |
597 * stripslash.c (strip_trailing_slashes): Return nonzero if | |
598 a slash was stripped. Do not strip the last slash after a | |
599 file system prefix. | |
600 | |
3229 | 601 2001-04-08 Jim Meyering <meyering@lucent.com> |
602 | |
603 * getdate.y (get_date): Set tm_isdst to -1 to ensure that it is | |
604 recomputed; that's necessary when the offset spans a DST transition. | |
605 Patch by David J. MacKenzie. Reported by Hon-Yin Kok. | |
606 | |
3226 | 607 2001-04-02 Jim Meyering <meyering@lucent.com> |
608 | |
609 * regex.h, regex.c: Update from GNU libc. | |
610 | |
3221 | 611 2001-03-19 Paul Eggert <eggert@twinsun.com> |
612 | |
3249 | 613 * version-etc.c (version_etc_copyright): Update to 2001. |
3221 | 614 |
3213 | 615 2001-03-16 Paul Eggert <eggert@twinsun.com> |
616 | |
617 * tempname.c (uint64_t): Define to uintmax_t if | |
618 not defined, and if UINT64_MAX is not defined. | |
619 Required at least for Vax Ultrix4.3, which doesn't define uint64_t. | |
620 Reported by John David Anglin. | |
621 | |
3211 | 622 2001-03-10 Bruno Haible <haible@clisp.cons.org> |
623 | |
624 * localcharset.c (locale_charset): Allow wildcard syntax. Also resolve | |
625 alias if codeset is empty. | |
626 * config.charset (BeOS): Use wildcard syntax. | |
627 | |
3208 | 628 2001-03-13 Jim Meyering <meyering@lucent.com> |
629 | |
630 * path-concat.c (path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: | |
631 Don't insert a backslash when concatenating e.g., `C:' and `foo'. | |
632 From Bruno Haible. | |
633 | |
3204 | 634 2001-03-06 Bruno Haible <haible@clisp.cons.org> |
635 | |
636 * localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL). | |
637 Don't return NULL. | |
638 * unicodeio.c (print_unicode_char): Simplify accordingly. | |
639 | |
3201 | 640 2001-03-06 Bruno Haible <haible@clisp.cons.org> |
641 | |
642 * config.charset: Update for FreeBSD 4.2 and OSF/1 5.1. Add | |
643 support for DOS/DJGPP. | |
644 | |
3197 | 645 2001-02-28 Paul Eggert <eggert@twinsun.com> |
646 | |
647 * Makefile.am (libfetish_a_SOURCES): | |
648 Add dup-safer.c, fopen-safer.c. | |
649 (noinst_HEADERS): Add stdio-safer.h, unistd-safer.h. | |
650 | |
3411 | 651 * dup-safer.c, fopen-safer.c, stdio-safer.h, unistd-safer.h: New files. |
3197 | 652 |
3195 | 653 2001-02-25 Paul Eggert <eggert@twinsun.com> |
654 | |
655 The mkstemp replacement is taken from glibc 2.2.2, with some | |
656 portability fixes for use outside glibc, as follows: | |
657 | |
658 * tempname.c (struct_stat64): New macro. | |
659 (direxists, __gen_tempname): Use it. | |
660 This avoids a portability problem with Solaris 8. | |
661 | |
662 * tempname.c (<config.h>): Include if HAVE_CONFIG_H. | |
663 (<stddef.h>, <stdint.h>, <string.h>): | |
664 Include only if STDC_HEADERS || _LIBC. | |
665 (<fcntl.h>): Include only if HAVE_FCNTL_H || _LIBC. | |
666 (<unistd.h>): Include only if HAVE_UNISTD_H || _LIBC. | |
667 (<sys/time.h>): Include only if HAVE_SYS_TIME_H || _LIBC. | |
668 (__set_errno): Define this macro if <errno.h> doesn't. | |
669 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE): | |
670 Define these macros if <stdio.h> doesn't. | |
671 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR): | |
672 Define these macros if <sys/stat.h> | |
673 doesn't. Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN. | |
674 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64, lxstat64, | |
675 __xstat64): Define if not _LIBC. | |
676 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC). | |
677 (__gen_tempname): Invoke gettimeofday only if | |
678 HAVE_GETTIMEOFDAY || _LIBC; | |
679 otherwise, fall back on plain "time". | |
680 Use macros like S_IRUSR | S_IWUSR rather than octal values like 0600. | |
681 | |
682 * mkstemp.c (__GT_FILE): Define to zero if not defined. | |
683 | |
684 * mkstemp.c, tempname.c: New files, taken from glibc 2.2.2. | |
685 | |
3182 | 686 2001-02-17 Jim Meyering <meyering@lucent.com> |
687 | |
3186 | 688 * strtoul.c: Sync from GNU libc. Use double quotes, not <...> |
689 around included file name. | |
690 | |
3184 | 691 * strnlen.c (__strnlen): Merge in a change from GNU libc. |
692 | |
693 * strftime.c: Update from GNU libc (the only changes were to comments). | |
3182 | 694 |
3177 | 695 2001-02-13 Bruno Haible <haible@clisp.cons.org> |
696 | |
697 * mbswidth.h (mbswidth): Also define as macro, to avoid prototype clash. | |
698 | |
3173 | 699 2001-02-17 Paul Eggert <eggert@twinsun.com> |
700 | |
701 * mbswidth.c, quotearg.c (mbrtowc, mbsinit): | |
702 Remove workaround macros for hosts that have mbrtowc but not | |
703 mbstate_t, as we now insist on proper declarations for both | |
704 before using mbrtowc. | |
705 | |
3166 | 706 2001-02-17 Jim Meyering <meyering@lucent.com> |
707 | |
708 * regex.c: Update from libc. | |
709 | |
3163 | 710 2001-02-16 Paul Eggert <eggert@twinsun.com> |
711 | |
3195 | 712 * alloca.c (malloc): Undef before defining, since stdlib.h |
3164 | 713 may have defined it. Needed for Encore Umax-3.0.9.16b systems. |
714 Reported by Mark Hounschell via Paul Eggert. | |
3163 | 715 |
3149 | 716 2001-01-30 Bruno Haible <haible@clisp.cons.org> |
717 | |
718 * config.charset: Update for FreeBSD 4.2. | |
719 | |
3131 | 720 2001-01-26 Jim Meyering <meyering@lucent.com> |
721 | |
3133 | 722 * quotearg.c: Include stddef.h. |
723 * quote.c: Include stddef.h. | |
724 Reported by Axel Kittenberger. | |
725 | |
3131 | 726 * xmalloc.c [HAVE_DONE_WORKING_MALLOC_CHECK]: Enclose error-evoking |
727 line in double quotes so that it evokes a better diagnostic. | |
728 [HAVE_DONE_WORKING_REALLOC_CHECK]: Likewise. | |
729 Reported by Axel Kittenberger. | |
730 | |
3124 | 731 2001-01-15 Bruno Haible <haible@clisp.cons.org> |
732 | |
733 * unicodeio.c (print_unicode_char): Cast the second iconv() arg, | |
734 to avoid a warning. Add back 'const' to inptr. | |
735 | |
3108 | 736 2001-01-16 Jim Meyering <meyering@lucent.com> |
737 | |
738 * basename.c: Include <stdio.h>, needed by assert on SunOS4. | |
739 From Bruno Haible. | |
740 | |
3103 | 741 2001-01-14 Jim Meyering <meyering@lucent.com> |
742 | |
743 * rename.c: New file. From Volker Borchert. | |
744 Include stdlib.h, string.h or strings.h, and xalloc.h. | |
745 Use strip_trailing_slashes rather than open-coding it. | |
746 | |
3095 | 747 2001-01-03 Paul Eggert <eggert@twinsun.com> |
748 | |
3195 | 749 * strftime.c: Sync with glibc time/strftime.c 1.81. |
3095 | 750 |
3091 | 751 2001-01-03 Jim Meyering <meyering@lucent.com> |
752 | |
753 * unicodeio.c (print_unicode_char): Remove `const' from declaration of | |
754 local `inptr' to avoid warning with some system declarations of iconv. | |
755 | |
3082 | 756 2000-12-29 Paul Eggert <eggert@twinsun.com> |
757 | |
3195 | 758 * modechange.c: Do not assume that mode_t uses the |
3082 | 759 traditional octal encoding. E.g. "chmod 1 FOO" should set |
760 the other-execute bit of FOO even if S_IXOTH != 1. | |
761 | |
762 (SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH, | |
763 WOTH, XOTH, ALLM): New macros. | |
764 (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, | |
765 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): | |
766 Use them. | |
767 (S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID. | |
768 (S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above. | |
769 (mode_compile): | |
770 No need to use uintmax_t; unsigned long is long enough. | |
771 Don't bother to get suffix since we don't use it. | |
772 | |
3074 | 773 2000-12-24 Jim Meyering <meyering@lucent.com> |
774 | |
775 * hash.c (is_prime): Return explicit boolean values. | |
776 (hash_get_first): Return NULL to appease Irix5.6's 89. | |
3075 | 777 Reported by Nelson Beebe. |
3074 | 778 |
3063 | 779 2000-10-31 Bruno Haible <haible@clisp.cons.org> |
780 | |
781 * localcharset.c (locale_charset): Add support for Win32. | |
782 | |
783 2000-12-18 Paul Eggert <eggert@twinsun.com> | |
784 | |
3067 | 785 * physmem.h, physmem.c: New files. |
3063 | 786 |
3067 | 787 * Makefile.am (libfetish_a_SOURCES): Add physmem.c. |
3063 | 788 (noinst_HEADERS): Add physmem.h. |
789 | |
3067 | 790 * xstrtol.c (__xstrtol): Add undocumented suffixes 'g' and |
3063 | 791 't' for compatibility with Solaris 8 sort. |
792 | |
3061 | 793 2000-12-18 Bruno Haible <haible@clisp.cons.org> |
794 | |
795 * config.charset: Add support for BeOS. | |
796 | |
3053 | 797 2000-12-16 Jim Meyering <meyering@lucent.com> |
798 | |
799 * getusershell.c [!SHELLS_FILE && __DJGPP__]: Define | |
800 SHELLS_FILE to a file name that's useful on djgpp systems. | |
801 Include stdlib.h. | |
802 (ADDITIONAL_DEFAULT_SHELLS): Define. | |
803 (default_shells): Prepend ADDITIONAL_DEFAULT_SHELLS. | |
804 Based mostly on a patch from Prashant TR. | |
805 | |
3051 | 806 2000-12-16 Jim Meyering <meyering@lucent.com> |
807 | |
808 This bug had a serious impact on chown: `chown N:M FILE' (for integer | |
809 N and M) would have treated it like `chown N:N FILE'. | |
810 | |
811 * userspec.c (parse_user_spec): Fix typo: s/u/g/. | |
812 | |
3054 | 813 2000-10-31 Bruno Haible <haible@clisp.cons.org> |
814 | |
815 * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII, | |
816 CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257 | |
817 to the list of canonical encodings. Rename EUC-CN to GB2312. | |
818 | |
3044 | 819 2000-12-08 Andreas Schwab <schwab@suse.de> |
820 | |
821 * mbswidth.c (mbsnwidth): Don't loop endlessly when called with an | |
822 invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set. | |
823 | |
3039 | 824 2000-12-07 Jim Meyering <meyering@lucent.com> |
825 | |
3042 | 826 * stripslash.c (ISSLASH): Define. |
827 (strip_trailing_slashes): Use ISSLASH rather than comparing against `/'. | |
828 From Prashant TR. | |
829 | |
3039 | 830 * dirname.c (FILESYSTEM_PREFIX_LEN): Define. |
831 (dir_name_r): Declare this function as static. | |
832 [BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd | |
833 manifest itself on a name containing a mix of slashes and | |
834 backslashes. | |
835 Make this function work with names starting with a DOS-style | |
836 drive letter and colon prefix. | |
837 (dir_name): Append `.' if necessary. | |
838 Based mostly on patches from Prashant TR and Eli Zaretskii. | |
839 | |
840 * dirname.h (dir_name_r): Remove prototype. | |
841 | |
3028 | 842 2000-12-05 Jim Meyering <meyering@lucent.com> |
843 | |
844 * dirname.c (dir_name_r): Add `const' in a few local declarations. | |
845 | |
3023 | 846 2000-12-04 Jim Meyering <meyering@lucent.com> |
847 | |
848 * path-concat.c: [!HAVE_DECL_MALLOC]: Declare malloc. | |
3025 | 849 Also include memory.h, stdlib.h, unistd.h if appropriate. |
3026 | 850 Reported by Andreas Jaeger (conflicting declaration of malloc). |
3023 | 851 |
3020 | 852 2000-12-02 Jim Meyering <meyering@lucent.com> |
853 | |
854 * closeout.h: Make idempotent, to avoid some obscure warnings. | |
855 | |
3010 | 856 2000-12-01 Paul Eggert <eggert@twinsun.com> |
857 | |
3195 | 858 * memrchr.c: Include <config.h> before any system include file. |
3010 | 859 |
3005 | 860 2000-11-29 Paul Eggert <eggert@twinsun.com> |
861 | |
3195 | 862 * dirname.c (dir_name_r): Fix typo: int -> size_t. |
3005 | 863 |
2998 | 864 2000-11-26 Jim Meyering <meyering@lucent.com> |
865 | |
866 * memcoll.c: Include sys/types.h. From Werner Almesberger. | |
867 | |
2994 | 868 2000-11-22 Paul Eggert <eggert@twinsun.com> |
869 | |
3195 | 870 * strftime.c (my_strftime): Do not invoke mbrlen with a |
2994 | 871 size of (size_t) -1; it's not portable. |
872 | |
2992 | 873 2000-11-17 Akim Demaille <akim@epita.fr> |
874 | |
3195 | 875 * obstack.h: Formatting changes. |
2992 | 876 (obstack_grow, obstack_grow0): Don't cast WHERE at all: that would |
877 prevent type checking. | |
878 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't | |
879 cast the value to (void *): assigning a `foo *' to a `void *' | |
880 variable is valid. | |
881 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. | |
882 | |
2989 | 883 2000-11-17 Jim Meyering <meyering@lucent.com> |
884 | |
885 * strstr.c: Update from GNU libc. | |
886 | |
2987 | 887 2000-11-16 Jim Meyering <meyering@lucent.com> |
888 | |
889 * strverscmp.c: Incorporate weak-alias-related changes from glibc. | |
890 | |
891 2000-11-11 Jim Meyering <meyering@lucent.com> | |
892 | |
893 * error.c: Add a couple #includes, merging from GNU libc version. | |
894 | |
2980 | 895 2000-11-10 Jim Meyering <meyering@lucent.com> |
896 | |
897 * obstack.h: Update from GNU libc. | |
898 * obstack.c: Likewise. | |
899 | |
2967 | 900 2000-11-06 Paul Eggert <eggert@twinsun.com> |
901 | |
2981 | 902 * getusershell.c (setusershell): Use rewind rather than |
2967 | 903 fseek/fseeko, to avoid configuration hassles with fseeko. |
904 Don't bother opening SHELLS_FILE if shellstream is NULL; | |
905 it's not necessary. | |
906 | |
2965 | 907 2000-11-05 Jim Meyering <meyering@lucent.com> |
908 | |
909 * makepath.h (make_dir): Declare. | |
910 * makepath.c (make_dir): Remove `static' attribute. | |
911 Tweak a comment. | |
912 | |
2957 | 913 2000-11-04 Alexandre Duret-Lutz <duret_g@epita.fr> |
914 | |
915 * hash.c (hash_get_next): Fix a thinko: when ENTRY is the | |
916 last one in a bucket, advance to the next bucket. | |
917 | |
2955 | 918 2000-11-02 Vesselin Atanasov <vesselin@bgnet.bg> |
919 | |
2981 | 920 * fnmatch.c: Do not comment out all the code if we are using |
2955 | 921 the GNU C library, because in some cases we are replacing buggy |
922 code in the GNU C library itself. | |
923 | |
2952 | 924 2000-10-30 Paul Eggert <eggert@twinsun.com> |
925 | |
2981 | 926 * error.h, getline.h, modechange.h: |
2952 | 927 Remove "2000" from Copyright line, as the file hasn't been |
928 changed this year other than in the copyright notice. | |
929 | |
2981 | 930 * xalloc.h: Add "2000" to Copyright line, as this file |
2952 | 931 was changed this year. |
932 | |
2949 | 933 2000-10-30 Paul Eggert <eggert@twinsun.com> |
934 | |
2981 | 935 * fnmatch.c (FOLD): Do not assume that characters are unsigned. |
2949 | 936 (fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs, |
937 e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero. | |
938 | |
2941 | 939 2000-10-29 Greg Louis <glouis@dynamicro.on.ca> |
940 | |
941 * regex.h (__restrict_arr): Move definition out of #ifndef block. | |
942 Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but | |
943 doesn't define __restrict_arr. | |
944 | |
2939 | 945 2000-10-29 Jim Meyering <meyering@lucent.com> |
946 | |
947 * xstat.in: Fix grammar in comment. | |
948 | |
2929 | 949 2000-10-28 Jim Meyering <meyering@lucent.com> |
950 | |
2933 | 951 * memchr.c: Update from libc. |
952 Adjust for portability: | |
953 [HAVE_STDLIB_H]: Include stdlib.h. | |
954 [HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h. | |
955 Undef __memchr, too. | |
956 [!weak_alias]: Define __memchr to memchr. | |
957 | |
2931 | 958 * regex.c: Update from libc. |
959 * regex.h: Likewise. | |
960 * getopt1.c: Likewise. | |
2935 | 961 * memcmp.c: Likewise. |
2931 | 962 |
2942
c5e4ce044bd7
fix typo: s/fseek0/fseeko/
Jim Meyering <jim@meyering.net>
parents:
2941
diff
changeset
|
963 * getusershell.c (setusershell) [HAVE_FSEEKO]: Use fseeko. |
2967 | 964 Avoid using fseek, when possible -- it's broken by design. |
2929 | 965 Patch by Ulrich Drepper. |
966 | |
2924 | 967 2000-10-26 Jim Meyering <meyering@lucent.com> |
968 | |
969 * strftime.c: Update from libc. | |
970 | |
2918 | 971 2000-10-25 Jim Meyering <meyering@lucent.com> |
972 | |
973 * obstack.c: Update from libc. | |
974 | |
2911 | 975 2000-10-23 Jim Meyering <meyering@lucent.com> |
976 | |
977 * hard-locale.c (hard_locale): Revert last change -- it was simply | |
978 wrong. That set_locale call must not have any side effects. | |
979 From Paul Eggert. | |
980 | |
2904 | 981 2000-10-22 Jim Meyering <meyering@lucent.com> |
982 | |
2907 | 983 * md5.c (md5_process_block) [OP]: Use `rol', not CYCLIC. |
984 [CYCLIC]: Remove now-unused definition. | |
985 | |
2904 | 986 * save-cwd.c (O_DIRECTORY): Define, if needed. |
987 (save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".". | |
988 Suggestion from Ulrich Drepper. | |
989 | |
2893 | 990 2000-10-21 Jim Meyering <meyering@lucent.com> |
991 | |
2920 | 992 * dirname.c (dir_name_r): New function, factored out of dir_name. |
993 (dir_name): Use dir_name_r. | |
994 * dirname.h (dir_name_r): Declare it. | |
995 | |
996 2000-10-21 Jim Meyering <meyering@lucent.com> | |
997 | |
2898 | 998 * dirname.c (memrchr): Declare if necessary. |
999 (dir_name): Remove the restriction that there be no | |
1000 trailing slashes. Now, this code skips past them, effectively | |
1001 ignoring them. | |
1002 [TEST_DIRNAME] (main): New unit tests. | |
1003 | |
2893 | 1004 * memrchr.c: New file from GNU libc. |
1005 Undef __memrchr, too. | |
1006 [!weak_alias]: Define __memrchr to memrchr. | |
1007 Guard weak_alias use with `#ifdef weak_alias'. | |
1008 | |
2886 | 1009 2000-10-17 Jim Meyering <meyering@lucent.com> |
1010 | |
2891 | 1011 * quote.h (PARAMS): Define and use. |
2890 | 1012 Reported by Akim Demaille. |
2889 | 1013 |
2886 | 1014 * getopt.c: Update from libc. |
1015 | |
2884 | 1016 2000-10-16 Jim Meyering <meyering@lucent.com> |
1017 | |
1018 * hard-locale.c (hard_locale): Use "", not 0 as 2nd arg to setlocale. | |
1019 From Jan Fedak. | |
1020 | |
2880 | 1021 2000-09-25 Jim Meyering <meyering@lucent.com> |
1022 | |
1023 * md5.h (rol): Define (from GnuPG). | |
1024 | |
1025 * sha.c: Give credit (GnuPG) where due. | |
1026 (M): Use rol rather than open-coding it. | |
1027 Add a FIXME comment. | |
1028 | |
2876 | 1029 2000-09-21 Jim Meyering <meyering@lucent.com> |
1030 | |
1031 * userspec.c (parse_user_spec): Remove debugging printf I'd added. | |
2877 | 1032 Reported by Michael Stone. |
2876 | 1033 |
2874 | 1034 2000-09-20 Jim Meyering <meyering@lucent.com> |
1035 | |
1036 * Makefile.am (libfetish_a_SOURCES): Add sha.c. | |
1037 (noinst_HEADERS): Add sha.h. | |
1038 Based on code from Scott G. Miller and from GnuPG. | |
1039 | |
2861 | 1040 2000-09-15 Jim Meyering <meyering@lucent.com> |
1041 | |
1042 * regex.c: Update from libc. | |
1043 | |
2859 | 1044 2000-09-10 Jim Meyering <meyering@lucent.com> |
1045 | |
1046 * getopt.c (_getopt_internal): Update from glibc. | |
1047 | |
2855 | 1048 2000-09-09 Jim Meyering <meyering@lucent.com> |
1049 | |
2857 | 1050 * quotearg.c: Rename ISASCII to IN_CTYPE_DOMAIN, so people don't |
1051 think it should be used as a general replacement for isascii. | |
1052 * fnmatch.c: Likewise. | |
1053 * mbswidth.c: Likewise | |
1054 * regex.c: Likewise. | |
1055 | |
2855 | 1056 Don't use atoi. |
1057 * userspec.c: Include sys/param.h and limits.h. | |
1058 Include xstrtol.h. | |
1059 (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Define. | |
1060 (UID_T_MAX, GID_T_MAX, MAXUID, MAXGID): Define. | |
1061 (parse_user_spec): Use xstrtoul, not atoi when converting numeric | |
1062 UID, GID. Check range. | |
1063 | |
2853 | 1064 2000-09-06 Jim Meyering <meyering@lucent.com> |
1065 | |
1066 * getopt.c (_getopt_internal): Update from glibc. | |
1067 | |
2846 | 1068 2000-08-30 Jim Meyering <meyering@lucent.com> |
1069 | |
1070 * strftime.c: Merge in changes from GNU libc. | |
1071 | |
2837 | 1072 2000-08-26 Jim Meyering <meyering@lucent.com> |
1073 | |
2839 | 1074 * closeout.c: Include "__fpending.h". |
1075 (close_stdout_status): Return right away if there's nothing to flush. | |
1076 | |
2837 | 1077 * Makefile.am (noinst_HEADERS): Add __fpending.h. |
1078 * __fpending.c: New file. | |
1079 * __fpending.h: New file. | |
1080 | |
2815 | 1081 2000-08-07 Paul Eggert <eggert@twinsun.com> |
1082 | |
1083 Standardize on "memory exhausted" instead of "Memory exhausted" | |
1084 or "virtual memory exhausted". | |
1085 * obstack.c (print_and_abort): Use "memory exhausted", not | |
1086 "virtual memory exhausted". | |
1087 * same.c (same_name): Invoke xalloc_die instead of printing | |
1088 our own message. | |
1089 * userspec.c (parse_user_spec): Likewise. | |
1090 * bumpalloc.h: comment fix | |
1091 * same.c, userspec.c: Include xalloc.h. | |
1092 | |
1093 * xalloc.h (xalloc_msg_memory_exhausted): Now char const[], | |
1094 not char *const and pointing to a constant array. | |
1095 * xmalloc.c (xalloc_msg_memory_exhausted): Likewise. | |
1096 (xrealloc): Comment fix. | |
1097 | |
1098 * userspec.c (parse_user_spec): | |
1099 Don't translate a message until just before returning, | |
1100 to avoid unnecessary translation. | |
1101 | |
2808 | 1102 2000-08-07 Jim Meyering <meyering@lucent.com> |
1103 | |
1104 * addext.c, argmatch.c, argmatch.h, backupfile.h, bumpalloc.h, | |
1105 chown.c, diacrit.h, dirname.h, dup2.c, exclude.h, fileblocks.c, | |
1106 fnmatch.c, fnmatch.h, fsusage.c, fsusage.h, getdate.h, | |
1107 getgroups.c, gethostname.c, getopt.h, group-member.c, | |
1108 hard-locale.c, hash.h, isdir.c, lchown.c, linebuffer.c, | |
1109 linebuffer.h, long-options.h, malloc.c, md5.c, md5.h, memchr.c, | |
1110 memcmp.c, memcoll.c, memset.c, mktime.c, modechange.h, obstack.h, | |
1111 pathmax.h, realloc.c, rmdir.c, safe-read.c, save-cwd.c, stime.c, | |
1112 stpcpy.c, strcasecmp.c, strcspn.c, strdup.c, stripslash.c, | |
1113 strstr.c, strtod.c, strtol.c, strtoul.c, strtoull.c, strtoumax.c, | |
1114 utime.c, version-etc.h, xalloc.h, xstrdup.c, xstrtoumax.c, | |
1115 yesno.c: Back out Copyright date changes for each file with no change | |
1116 this year. This eases coordination with other programs using the same | |
1117 source code modules. From Paul Eggert. | |
1118 | |
2804 | 1119 2000-08-03 Greg McGary <greg@mcgary.org> |
1120 | |
1121 * regex.c (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, | |
1122 ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros. | |
1123 (EXTEND_BUFFER): Use them. | |
1124 | |
2802 | 1125 2000-08-01 Jim Meyering <meyering@lucent.com> |
1126 | |
1127 * dirname.c (ISSLASH): Define. | |
1128 (BACKSLASH_IS_PATH_SEPARATOR): Define. | |
1129 (dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which | |
1130 both `\' and `/' may be use as path separators. | |
1131 Based on a patch from Prashant TR. | |
1132 | |
2800 | 1133 2000-07-31 Paul Eggert <eggert@twinsun.com> |
1134 | |
2815 | 1135 * quotearg.c (quotearg_n_options): Don't make the initial |
2800 | 1136 slot vector a constant, since it might get modified. |
1137 | |
2794 | 1138 2000-07-31 Jim Meyering <meyering@lucent.com> |
1139 | |
1140 * xmalloc.c: Use `virtual memory exhausted', not `Memory exhausted'. | |
1141 * obstack.c (print_and_abort): Likewise. | |
1142 | |
2796 | 1143 2000-07-30 Paul Eggert <eggert@twinsun.com> |
1144 | |
1145 * quotearg.c (quotearg_n_options): Preallocate a slot 0 | |
1146 buffer, so that the caller can always quote one small | |
1147 component of a "memory exhausted" message in slot 0. | |
1148 From a suggestion by Jim Meyering. | |
1149 | |
2791 | 1150 2000-07-30 Jim Meyering <meyering@lucent.com> |
1151 | |
1152 * makepath.c (make_path): Quote the other instance, too. | |
1153 | |
1154 * quotearg.c (N_STATIC_SLOTVECS): Define. | |
1155 (STATIC_BUF_SIZE): Define. | |
1156 (quotearg_n_options): Use only statically allocated storage when | |
1157 N < N_STATIC_SLOTVECS and the length of the quoted result is smaller | |
1158 than STATIC_BUF_SIZE. | |
1159 | |
2782 | 1160 2000-07-29 Jim Meyering <meyering@lucent.com> |
1161 | |
2788 | 1162 * diacrit.c (diacrit_diac): Use __MSDOS__ in favor of MSDOS. |
1163 * dirname.c (dir_name): Likewise. | |
1164 | |
1165 * basename.c (base_name): Use ISSLASH rather than comparing against `/'. | |
1166 | |
2782 | 1167 * dirname.c (dir_name) [MSDOS]: Declare `lim' to be const. |
2785 | 1168 (dir_name): Assert that there are no trailing slashes. |
2782 | 1169 |
2780 | 1170 2000-07-18 Bruno Haible <haible@clisp.cons.org> |
1171 | |
1172 * mbswidth.h (mbswidth): Add a flags argument. | |
1173 (mbswidth): New declaration. | |
1174 (MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros. | |
1175 * mbswidth.c (mbswidth): Add a flags argument. | |
1176 (mbsnwidth): New function. | |
1177 | |
2776 | 1178 2000-07-24 Jim Meyering <meyering@lucent.com> |
1179 | |
1180 * mbswidth.c: Remove useless #else. From Bruno Haible. | |
1181 | |
2773 | 1182 2000-07-23 Paul Eggert <eggert@twinsun.com> |
1183 | |
1184 * mbswidth.c (_XOPEN_SOURCE): | |
1185 Don't define; this causes problems on Solaris 7. | |
1186 (wcwidth) [!HAVE_DECL_WCWIDTH]: Declare. | |
1187 | |
2771 | 1188 2000-07-23 Paul Eggert <eggert@twinsun.com> |
1189 | |
2815 | 1190 * quotearg.c: |
2771 | 1191 Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX), |
1192 so that mbstate_t is always defined. | |
1193 | |
1194 Do not inspect MB_LEN_MAX, since it's incorrectly defined to | |
1195 be 1 in at least one GCC installation, and this configuration | |
1196 error is likely to be common. Ignoring MB_LEN_MAX hurts | |
1197 performance on hosts that have mbrtowc but have only unibyte | |
1198 locales, but I assume these hosts are rare. | |
1199 | |
2769 | 1200 2000-07-23 Paul Eggert <eggert@twinsun.com> |
1201 | |
2815 | 1202 * quotearg.c: Streamline by invoking multibyte code only if needed. |
2769 | 1203 <wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX. |
1204 (MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX). | |
1205 (quotearg_buffer_restyled): If a unibyte locale, don't bother to | |
1206 invoke multibyte primitives. | |
1207 | |
2764 | 1208 2000-07-23 Jim Meyering <meyering@lucent.com> |
1209 | |
1210 * basename.c (base_name): Add an assertion. | |
1211 | |
2762 | 1212 2000-07-15 Bruno Haible <clisp.cons.org> |
1213 | |
1214 * quotearg.c: When the system forces us to redefine mbstate_t, | |
1215 shadow its mbsinit function. | |
1216 | |
2755 | 1217 2000-07-16 Bruno Haible <haible@clisp.cons.org> |
1218 | |
1219 * mbswidth.h: New file. | |
1220 * mbswidth.c: New file. | |
2759 | 1221 * Makefile.am (libfetish_a_SOURCES): Add mbswidth.c. |
2769 | 1222 (noinst_HEADERS): Add mbswidth.h. |
2755 | 1223 |
2754 | 1224 2000-07-17 Bruno Haible <haible@clisp.cons.org> |
1225 | |
1226 * config.charset: Add support for FreeBSD. Improve support for HP-UX | |
1227 and IRIX 6. | |
1228 | |
2747 | 1229 2000-07-15 Jim Meyering <meyering@lucent.com> |
1230 | |
2751 | 1231 * makepath.c: Include quote.h. |
1232 (make_path): Convert "`%s'" in format strings to "%s", and wrap each | |
1233 corresponding argument in a `quote (...)' call. | |
1234 Give better diagnostics. | |
1235 | |
2749 | 1236 * Makefile.am (libfetish_a_SOURCES): Add quote.c. |
1237 (noinst_HEADERS): Add quote.h. | |
1238 | |
2747 | 1239 * quote.c (quote, quote_n): New file. Two functions taken verbatim |
1240 from tar's src/misc.c. | |
1241 * quote.h: New file. Prototypes for same. | |
1242 | |
2740 | 1243 2000-07-10 Paul Eggert <eggert@twinsun.com> |
1244 | |
1245 From a suggestion by Bruno Haible. | |
1246 * quotearg.c (mbrtowc): Do not use HAVE_WCHAR_H in the definition. | |
1247 Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT, | |
1248 to decide whether to define the BeOS workaround macro; | |
1249 this adjusts to the change to AC_MBSTATE_T. | |
1250 | |
2738 | 1251 2000-07-13 Paul Eggert <eggert@twinsun.com> |
1252 | |
1253 * quotearg.h (enum quoting style): New enum clocale_quoting_style. | |
1254 | |
3206 | 1255 * quotearg.c (quoting_style_args, quoting_style_vals, |
2738 | 1256 quotearg_buffer_restyled): Add support for |
1257 clocale_quoting_style. Undo previous change to | |
1258 locale_quoting_style behavior, and undo the "{LEFT QUOTATION MARK}" | |
1259 and "{RIGHT QUOTATION MARK}" msgids. | |
1260 | |
2723 | 1261 2000-07-05 Paul Eggert <eggert@twinsun.com> |
1262 | |
1263 The old behavior of quoting `like this' doesn't look good with | |
1264 newer, ISO-style fonts. See: | |
1265 http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |
1266 | |
1267 Instead, quote "like this" by default. Let the translator | |
1268 tailor the locale-specific quoting behavior by providing | |
1269 translations for {LEFT QUOTATION MARK} and {RIGHT QUOTATION MARK}. | |
1270 | |
1271 * quotearg.c (N_): New macro. | |
1272 (gettext_default): New function. | |
1273 (quotearg_buffer_restyled): Use | |
1274 gettext_default ("{LEFT QUOTATION MARK}", "\"") for left quote, and | |
1275 gettext_default ("{RIGHT QUOTATION MARK}", "\"") for right quote. | |
1276 | |
2719 | 1277 2000-07-09 Jim Meyering <meyering@lucent.com> |
1278 | |
1279 * Most files: Update copyright dates to include 2000. | |
1280 | |
2721 | 1281 2000-07-08 Jim Meyering <meyering@lucent.com> |
1282 | |
1283 * xgethostname.c (ENAMETOOLONG): Define to an unlikely value | |
1284 if not defined. | |
1285 (xgethostname): Remove now-unnecessary #ifdef. | |
1286 Move declaration of `err' into loop where it's used. | |
1287 | |
1288 2000-07-05 Bruno Haible <haible@clisp.cons.org> | |
1289 | |
1290 * xgethostname.c (xgethostname): Protect against the SunOS5.5 bug | |
1291 by allocating a larger buffer. Test the gethostname return value for | |
1292 being >= 0, not == 0, for BeOS. Don't exhaust memory if gethostname | |
1293 returns an error and ENAMETOOLONG isn't defined. | |
1294 | |
2710 | 1295 2000-07-05 Paul Eggert <eggert@twinsun.com> |
1296 and Bruno Haible <haible@clisp.cons.org> | |
1297 | |
1298 * quotearg.c (mbrtowc): Declare returned type, since BeOS doesn't. | |
1299 | |
2708 | 1300 2000-07-05 Bruno Haible <haible@clisp.cons.org> |
1301 | |
1302 * quotearg.c (struct quoting_options): Simplify quote_these_too | |
1303 dimension. | |
1304 | |
2706 | 1305 2000-07-03 Jim Meyering <meyering@lucent.com> |
1306 | |
1307 * strndup.c: [!HAVE_DECL_STRNLEN]: Declare strnlen. | |
1308 Reported by Bruno Haible. | |
1309 | |
2704 | 1310 2000-07-04 Jim Meyering <meyering@lucent.com> |
1311 | |
1312 * quotearg.c: Make inclusion of <wchar.h> independent of whether | |
1313 HAVE_MBRTOWC is set. Required at least for irix-5.6, which | |
1314 lacks mbrtowc. | |
1315 | |
2693 | 1316 2000-07-03 Paul Eggert <eggert@twinsun.com> |
1317 and Bruno Haible <haible@clisp.cons.org> | |
1318 | |
2815 | 1319 * quotearg.c (mbrtowc): |
2693 | 1320 Assign to *pwc, and return 1 only if result is nonzero. |
1321 (iswprint): Use ISPRINT when substituting our own mbrtowc. | |
1322 | |
2697 | 1323 2000-07-03 Jim Meyering <meyering@lucent.com> |
1324 | |
1325 * readutmp.h: [HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H. | |
1326 This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20. | |
1327 From Bob Proulx. | |
1328 | |
2691 | 1329 2000-07-02 Jim Meyering <meyering@lucent.com> |
1330 | |
1331 * quotearg.c (mbstate_t): Don't define here. | |
1332 | |
2688 | 1333 2000-07-02 Jim Meyering <meyering@lucent.com> |
1334 | |
1335 * nanosleep.c (SIGCONT): Define if not already defined. | |
1336 | |
2678 | 1337 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1338 | |
1339 * mountlist.c: Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV, | |
1340 per change in ../m4/ls-mntd-fs.m4. | |
1341 (read_filesystem_list): Ignore symbolic links. | |
1342 | |
2668 | 1343 2000-06-29 Jim Meyering <meyering@lucent.com> |
1344 | |
2672 | 1345 * same.c: Include <string.h> or <strings.h>, as appropriate, |
1346 for declaration of strcmp. | |
1347 | |
2670 | 1348 * long-options.c: Include <stdlib.h>, for declaration of exit. |
1349 | |
2668 | 1350 * mountlist.c (fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]: |
1351 Avoid warning by casting result to `char *' to remove `const'. | |
1352 | |
2662 | 1353 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1354 | |
1355 * Makefile.am (libfetish_a_SOURCES): Remove readutmp.c. | |
1356 | |
2659 | 1357 2000-06-26 Paul Eggert <eggert@twinsun.com> |
1358 | |
1359 savedir now sets errno on failure and invokes xmalloc to get memory. | |
1360 Fix a couple of other minor bugs while we're at it. | |
1361 | |
1362 * savedir.c (<unistd.h>): Do not include; there's no need. | |
1363 (NAMLEN): Remove macro. | |
1364 (malloc, realloc): Remove decls. | |
1365 (stpcpy): Likewise. | |
1366 ("xalloc.h"): Include. | |
1367 (NAME_SIZE_DEFAULT): New macro. | |
1368 (savedir): Use xmalloc / xrealloc to allocate memory. | |
1369 Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero. | |
1370 Skip "" directory entries. | |
1371 Use strlen to calculate directory entry length, since the old method | |
1372 is rarely used these days and isn't worth supporting. | |
1373 Don't use a pointer after freeing it. | |
1374 Check for integer overflow when calculating allocation size. | |
1375 Use memcpy to copy entries, instead of stpcpy. | |
1376 Set errno properly when returning NULL. | |
1377 Check for readdir error. | |
1378 | |
2657 | 1379 2000-06-26 Jim Meyering <meyering@lucent.com> |
1380 | |
1381 * posixtm.c [HAVE_STDLIB_H]: Include stdlib.h, for decl of abort. | |
1382 | |
2655 | 1383 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1384 | |
1385 * getusershell.c (xmalloc, xrealloc): Remove functions. | |
1386 Include xalloc.h. | |
1387 Don't include <stdlib.h>. Don't declare malloc, realloc. | |
1388 | |
2651 | 1389 2000-06-23 Bruno Haible <haible@clisp.cons.org> |
1390 | |
1391 * unicodeio.c (print_unicode_char): Work around ansi2knr deficiency. | |
1392 | |
2644 | 1393 2000-06-24 Jim Meyering <meyering@lucent.com> |
1394 | |
1395 * error.c [!HAVE_DECL_STRERROR_R]: Declare strerror_r. | |
1396 | |
2636 | 1397 2000-06-21 Jim Meyering <meyering@lucent.com> |
1398 | |
1399 * getpass.c: New file, from Bruno Haible. Required for BeOS. | |
1400 | |
2640 | 1401 2000-06-19 Paul Eggert <eggert@twinsun.com> |
1402 | |
1403 * quotearg.c: Include <wctype.h> after <wchar.h>, for Solaris 2.5. | |
1404 (mbrtowc, mbstate_t): Define substitutes if | |
1405 HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT. | |
1406 (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT, | |
1407 not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H). | |
1408 | |
2628 | 1409 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1410 | |
1411 * xgetcwd.c (xgetcwd): If the required pathname length is smaller | |
1412 than 1024, return a memory chunk of least possible size, instead | |
1413 of size PATH_MAX + 2. In the loop, increment the size proportionally. | |
1414 Use free/xmalloc instead of xrealloc to avoid copying for very long | |
1415 paths. | |
1416 | |
2626 | 1417 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1418 | |
1419 * canon-host.c (canon_host): Use malloc and memcpy to copy an | |
1420 address, not strdup. Include <stdlib.h> and don't declare free(). | |
1421 | |
2624 | 1422 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
1423 | |
1424 * path-concat.c (path_concat): Don't access dir[-1] if dir is | |
1425 the empty string. | |
1426 | |
2621 | 1427 2000-06-21 Jim Meyering <meyering@lucent.com> |
1428 | |
1429 * Makefile.am (libfetish_a_SOURCES): Add getstr.c. | |
1430 (noinst_HEADERS): Add getstr.h. | |
1431 | |
1432 * getline.c (getstr): Move into a separate file. | |
1433 * getstr.c (getstr): New file, extracted from getline.c, with | |
1434 the following changes: new parameter, delim2; both delim[12] | |
1435 parameters have type `int', not `char'. The latter would lose | |
1436 with 8-bit delimiters. | |
1437 * getstr.h: New file. | |
1438 | |
2611 | 1439 2000-06-19 Jim Meyering <meyering@lucent.com> |
1440 | |
1441 * getloadavg.c [HAVE_NLIST_H] (NLIST_STRUCT): Define. | |
1442 | |
2602 | 1443 2000-06-18 Jim Meyering <meyering@lucent.com> |
1444 | |
2608 | 1445 * mkdir.c: Remove file, due mainly to copyright incompatibility. |
1446 Besides, these days every porting target provides a mkdir function. | |
1447 | |
2606 | 1448 * strnlen.c: Include memory.h, string.h, and/or strings.h as needed. |
1449 (this snippet comes from src/system.h). | |
1450 | |
2594 | 1451 2000-06-15 Paul Eggert <eggert@twinsun.com> |
1452 | |
2640 | 1453 * human.c (adjust_value): New function. |
2594 | 1454 (human_readable_inexact): Apply rounding style even when |
1455 printing approximate values. | |
1456 | |
2591 | 1457 2000-06-14 Paul Eggert <eggert@twinsun.com> |
1458 | |
2640 | 1459 * human.c (human_readable_inexact): Allow an input block |
2591 | 1460 size that is not a multiple of the output block size, and vice versa. |
2592 | 1461 Reported by Piergiorgio Sartor. |
2591 | 1462 |
2589 | 1463 2000-06-14 Paul Eggert <eggert@twinsun.com> |
1464 | |
2640 | 1465 * getdate.y (get_date): Apply relative times after time |
2589 | 1466 zone indicator, not before. Reported by Todd A. Jacobs. |
1467 | |
2585 | 1468 2000-06-13 Jim Meyering <meyering@lucent.com> |
1469 | |
2591 | 1470 * Makefile.am (all-local): Depend on lstat.c and stat.c. |
1471 | |
2585 | 1472 * xstat.in [!HAVE_DECL_FREE]: Declare free in lstat.c. |
1473 | |
2583 | 1474 2000-06-12 Paul Eggert <eggert@twinsun.com> |
1475 | |
1476 * xstat.in: Include <stdlib.h> in lstat, to declare "free". | |
1477 | |
2575 | 1478 2000-06-04 Paul Eggert <eggert@twinsun.com> |
1479 | |
2583 | 1480 * strnlen.c: Include <config.h> if HAVE_CONFIG_H. |
2575 | 1481 |
2573 | 1482 2000-06-04 Jim Meyering <meyering@lucent.com> |
1483 | |
1484 * getugroups.c (getugroups): Cast -1 to gid_t, for systems like | |
1485 SunOS4.1.4 for which gid_t is an unsigned type. | |
1486 | |
2569 | 1487 2000-06-03 Jim Meyering <meyering@lucent.com> |
1488 | |
1489 * strnlen.c [!HAVE_DECL_MEMCHR]: Declare memchr. | |
1490 | |
2559 | 1491 2000-05-26 Bruno Haible <haible@clisp.cons.org> |
1492 | |
1493 * Makefile.am (install-exec-local): On systems with glibc-2.1 or | |
1494 newer, don't install charset.alias. | |
1495 * config.charset: Change the Linux/glibc rules so they become empty | |
1496 on glibc-2.1 or newer. | |
1497 | |
2554 | 1498 2000-06-02 Jim Meyering <meyering@lucent.com> |
1499 | |
1500 * mountlist.c: Back out last change. Instead, do this... | |
1501 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy | |
1502 member using the same `ignore'-testing code. | |
1503 * mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored | |
1504 fs_type strings. | |
1505 From Mark D. Roth. | |
1506 | |
2549 | 1507 2000-05-29 Jim Meyering <meyering@lucent.com> |
1508 | |
1509 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts | |
1510 with the `ignore' attribute. Based on a patch from Mark D. Roth. | |
1511 | |
2548 | 1512 2000-05-22 Jim Meyering <meyering@lucent.com> |
1513 | |
1514 * makepath.c: Remove old, now-unnecessary `#ifdef __MSDOS__' block. | |
1515 | |
2525 | 1516 2000-05-18 Jim Meyering <meyering@lucent.com> |
1517 | |
1518 * hash.c (hash_rehash): Fix a nasty bug: copy the free entry list | |
1519 back, too, since it may have been modified by allocate_entry. | |
1520 (hash_delete): Rewrite to use neither the assignment operator | |
1521 nor the comma operator in an if-expression. | |
1522 | |
2523 | 1523 2000-05-15 Paul Eggert <eggert@twinsun.com> |
1524 | |
2583 | 1525 * closeout.c: |
2523 | 1526 <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO): |
1527 Remove; no longer needed. | |
1528 "quotearg.h": Add include. | |
1529 (file_name): Do not bother to explicitly initialize to NULL; it's less | |
1530 efficient on some hosts. | |
1531 (close_stdout_status): Remove test as to whether stdout was already | |
1532 closed; it breaks for the case "echo x | sort >&-". | |
1533 Quote file name colons. | |
1534 Do not assume that _("write error") lacks format strings. | |
1535 | |
2518 | 1536 2000-05-15 Jim Meyering <meyering@lucent.com> |
1537 | |
1538 * version-etc.c (version_etc_copyright): Update the copyright string | |
1539 used in all --version output. | |
1540 | |
2521 | 1541 2000-05-14 Jim Meyering <meyering@lucent.com> |
1542 | |
1543 * closeout.c (close_stdout_set_file_name): New function. | |
1544 (close_stdout_status): Use new file-scoped global. | |
1545 Return right away if fstat says the stdout file descriptor is invalid. | |
1546 * closeout.h (close_stdout_set_file_name): Declare. | |
1547 | |
2515 | 1548 2000-05-10 Jim Meyering <meyering@lucent.com> |
1549 | |
1550 * closeout.c [default_exit_status]: New file-scoped variable. | |
1551 (close_stdout_set_status): New function. | |
1552 * closeout.h (close_stdout_set_status): Declare. | |
1553 | |
2508 | 1554 2000-05-08 Jim Meyering <meyering@lucent.com> |
1555 | |
1556 * long-options.c: Don't include closeout.h. | |
1557 (parse_long_options): Don't call close_stdout for --version. | |
1558 | |
2499 | 1559 2000-05-06 Jim Meyering <meyering@lucent.com> |
1560 | |
2504 | 1561 * strnlen.c: Undefine __strnlen and strnlen. |
1562 [!weak_alias]: Define __strnlen to strnlen. | |
1563 | |
2499 | 1564 * atexit.c: New file, from libiberty. |
1565 | |
1566 2000-05-06 Jim Meyering <meyering@lucent.com> | |
1567 | |
1568 * closeout.c (close_stdout_status): Also check for errors on the | |
1569 stderr stream. | |
1570 | |
2488 | 1571 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
1572 | |
1573 * localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy | |
1574 instead of xmalloc, xrealloc, path_concat. | |
1575 (locale_charset): Treat empty environment variables as absent. | |
1576 (DIRECTORY_SEPARATOR, ISSLASH): New macros. | |
1577 | |
2467 | 1578 2000-05-04 Jim Meyering <meyering@lucent.com> |
1579 | |
1580 * getopt.c: Update from glibc. | |
2478 | 1581 * obstack.c: Likewise. |
1582 * obstack.h: Likewise. | |
2473 | 1583 * regex.c: Likewise. NB: K&R compiler support is dropped for this file |
1584 | |
1585 * regex.h: Likewise. | |
2470 | 1586 * strndup.c: Likewise. |
1587 * strnlen.c: New file, from glibc. | |
2467 | 1588 |
2461 | 1589 2000-05-01 Jim Meyering <meyering@lucent.com> |
1590 | |
1591 * full-write.c (full_write): Remove `FIXME' part of comment. | |
1592 | |
2447 | 1593 2000-04-29 Jim Meyering <meyering@lucent.com> |
1594 | |
1595 * path-concat.c: Declare strdup only if it's not defined. | |
1596 * canon-host.c: Likewise. | |
1597 | |
2445 | 1598 2000-04-28 Jim Meyering <meyering@lucent.com> |
1599 | |
1600 * rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid | |
1601 redefinition warning on some systems (HPUX). Otherwise, regex.h is | |
1602 included first, then limits.h is included by locale.h by libintl.h. | |
1603 From John David Anglin. | |
1604 | |
2440 | 1605 2000-04-25 Jim Meyering <meyering@lucent.com> |
1606 | |
1607 * makepath.c (S_IRWXUGO): Define. | |
1608 (make_path): Always perform explicit chmod if MODE specifies any | |
2442 | 1609 of the `special' permission bits. Prompted by a bug report against |
1610 install from Mate Wierdl and Joost van Baal. | |
2440 | 1611 |
2435 | 1612 2000-04-18 Jim Meyering <meyering@lucent.com> |
1613 | |
2440 | 1614 * README: New file. |
1615 | |
2435 | 1616 * getpagesize.h [!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define |
1617 getpagesize. For BeOS. Based on a patch from Bruno Haible. | |
1618 | |
2431 | 1619 2000-04-17 Jim Meyering <meyering@lucent.com> |
1620 | |
1621 * strftime.c (my_strftime) [strftime]: Declare strftime here, since | |
1622 the definition of it to rpl_strftime also defined-away the system's | |
1623 declaration. | |
1624 | |
2427 | 1625 2000-04-15 Jim Meyering <meyering@lucent.com> |
1626 | |
1627 Use `C' to denote so-called `contiguous' files, the same way | |
1628 that tar does. | |
1629 * filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define. | |
1630 (ftypelet): Use S_ISCTG. | |
1631 From Michael Deutschmann. | |
1632 | |
1633 2000-04-14 Jim Meyering <meyering@lucent.com> | |
1634 | |
1635 * strftime.c (my_strftime) [#ifdef strftime]: Declare strftime. | |
1636 | |
2416 | 1637 2000-04-08 Jim Meyering <meyering@lucent.com> |
1638 | |
1639 * Makefile.am (charset.alias): Use t-$@, not $@-t so the DOS 8.3 | |
1640 names don't conflict. Reported by Eli Zaretskii. | |
1641 | |
2413 | 1642 2000-03-28 Bruno Haible <haible@clisp.cons.org> |
1643 | |
1644 * unicodeio.c (print_unicode_char): Avoid triggering Solaris iconv | |
2431 | 1645 bug. Deal with the different error behavior of Irix iconv. |
2413 | 1646 |
1647 2000-04-07 Jim Meyering <meyering@lucent.com> | |
1648 | |
1649 * putenv.c: Move inclusion of errno.h so it follows that of sys/types.h, | |
1650 to work around system header problems on AIX 3.2.5. From Bruno Haible. | |
1651 | |
2406 | 1652 2000-04-05 Jim Meyering <meyering@lucent.com> |
1653 | |
1654 Portability tweaks required for ultrix4.3. | |
1655 * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent. | |
1656 * readutmp.c: Include sys/types.h before sys/stat.h. | |
1657 * canon-host.c: Declare strdup. | |
1658 * path-concat.c: Likewise. | |
1659 From John David Anglin. | |
1660 | |
2397 | 1661 2000-04-04 Jim Meyering <meyering@lucent.com> |
1662 | |
1663 Be more DOS 8.3-friendly. | |
1664 * ref-add.sin: Renamed from ref-add.sed.in. | |
1665 * ref-del.sin: Renamed from ref-del.sed.in. | |
1666 * Makefile.am: Reflect renaming. | |
1667 Reported by Eli Zaretskii. | |
1668 | |
1669 Use a temporary file name that won't clash with `charset.alias' | |
1670 in the DOS 8.3 name space. | |
1671 * Makefile.am (charset_tmp): Define. | |
1672 (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t. | |
1673 (uninstall-local): Likewise. | |
1674 Reported by Eli Zaretskii. | |
1675 | |
2379 | 1676 2000-03-29 Paul Eggert <eggert@twinsun.com> |
1677 | |
1678 * time/strftime.c (my_strftime): Make sure we call the system | |
1679 strftime, not ourselves, when invoking the underlying strftime. | |
1680 | |
2364 | 1681 2000-03-24 Jim Meyering <meyering@lucent.com> |
1682 | |
1683 * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in. | |
1684 (charset_alias): Define. | |
1685 (install-exec-local): Factor out common code. | |
1686 (uninstall-local): Split lines longer than 80. | |
1687 (ref-add.sed, ref-del.sed): Remove rules... (do the following instead) | |
1688 (SUFFIXES): Define. | |
1689 (.sed.in.sed): New rule. Don't redirect directly to $@. | |
1690 (CLEANFILES): Add ref-add.sed and ref-del.sed. | |
1691 | |
1692 2000-03-19 Bruno Haible <haible@clisp.cons.org> | |
1693 | |
1694 * config.charset: Output a line containing "Packages using this file". | |
1695 * ref-add.sed.in, ref-del.sed.in: New files. | |
1696 * Makefile.am (install-exec-local, uninstall-local, ref-add.sed, | |
1697 ref-del.sed): New rules. | |
1698 | |
2353 | 1699 2000-03-17 Jim Meyering <meyering@lucent.com> |
1700 | |
1701 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H. | |
1702 Otherwise, include <strings.h> | |
1703 | |
1704 2000-03-17 Bruno Haible <haible@clisp.cons.org> | |
1705 | |
1706 * unicodeio.c (utf8_wctomb): New function. | |
1707 (print_unicode_char): Pass the Unicode character to iconv in UTF-8 | |
1708 format instead of in UCS-4 with platform dependent endianness. | |
1709 | |
2343 | 1710 2000-03-07 Paul Eggert <eggert@twinsun.com> |
1711 | |
2583 | 1712 * savedir.c (savedir): Work even if directory size is |
2343 | 1713 negative; this can happen with some screwy NFS configurations. |
1714 | |
2348 | 1715 2000-03-06 Jim Meyering <meyering@lucent.com> |
1716 | |
1717 * localcharset.c (get_charset_aliases): Don't try to free file_name | |
1718 if it's NULL (because we ran out of memory). From Bruno Haible. | |
1719 | |
2337 | 1720 2000-03-05 Jim Meyering <meyering@lucent.com> |
1721 | |
2339 | 1722 * localcharset.c ("path-concat.h"): Include. |
1723 (get_charset_aliases): Use path_concat instead of ANSI string | |
1724 concatenation. | |
1725 | |
2337 | 1726 * unicodeio.h (PARAMS): Define. |
1727 Use it to guard prototype. | |
1728 | |
2330 | 1729 2000-03-04 Jim Meyering <meyering@lucent.com> |
1730 | |
2332 | 1731 * Makefile.am (install-exec-local): Create $(libdir) before installing |
1732 into it. | |
2334 | 1733 (uninstall-local): Uncomment this rule so `make distcheck' works |
1734 once again. | |
2332 | 1735 |
2330 | 1736 * unicodeio.c (<errno.h>): Include it. |
1737 (errno): Declare if not defined. | |
1738 | |
1739 * localcharset.c: Add Bruno's comment justifying use of volatile. | |
1740 | |
1741 * config.charset: New version, incorporating remarks from a linux | |
1742 i18n mailing list. From Bruno Haible. | |
1743 | |
1744 2000-03-02 Jim Meyering <meyering@lucent.com> | |
1745 | |
1746 * Makefile.am (EXTRA_DIST): Add config.charset. | |
1747 | |
2309 | 1748 2000-03-01 Jim Meyering <meyering@lucent.com> |
1749 | |
1750 * localcharset.c: Guard some #includes with `#if HAVE_...'. | |
1751 * unicodeio.c: Likewise. | |
1752 | |
1753 2000-02-02 Bruno Haible <haible@clisp.cons.org> | |
1754 | |
1755 * config.charset: New file. | |
1756 * localcharset.c: New file. | |
1757 * unicodeio.h, unicodeio.c: New files. | |
1758 * Makefile.am (DEFS): Add -DLIBDIR=... | |
1759 (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c. | |
1760 (noinst_HEADERS): Add unicodeio.h. | |
1761 (all-local, install-exec-local, charset.alias): New targets. | |
1762 | |
2300 | 1763 2000-02-28 Paul Eggert <eggert@twinsun.com> |
1764 | |
2583 | 1765 * quotearg.c (ALERT_CHAR): New macro. |
2300 | 1766 (quotearg_buffer_restyled): Use it. |
1767 | |
2285 | 1768 2000-02-27 Jim Meyering <meyering@lucent.com> |
1769 | |
2298 | 1770 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/. |
1771 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'. | |
1772 | |
2295 | 1773 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', |
1774 not `#if STDC_HEADERS'. | |
1775 Declare malloc if needed. | |
1776 | |
2290 | 1777 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' |
1778 now that autoconf always defines the HAVE_DECL_ symbols. | |
1779 * human.c: Likewise. | |
1780 * same.c: Likewise. | |
1781 * strtoumax.c: Likewise. | |
1782 | |
1783 * backupfile.c: Arrange for cpp to fail if the configure-time | |
1784 declaration check was not run. | |
1785 * hash.c: Likewise. | |
1786 * human.c: Likewise. | |
1787 * same.c: Likewise. | |
1788 * strtoumax.c: Likewise. | |
1789 | |
2285 | 1790 * userspec.c (parse_user_spec): If there is no `:' but there is a `.', |
1791 then first look up the entire `.'-containing string as a login name. | |
1792 | |
2286 | 1793 2000-02-18 Paul Eggert <eggert@twinsun.com> |
1794 | |
2583 | 1795 * getdate.y: Handle two-digit years with leading zeros correctly. |
2286 | 1796 (textint): New typedef. |
1797 (parser_control): Member year changed from int to textint. | |
1798 All uses changed. | |
1799 (YYSTYPE): Removed; replaced by %union with int and textint members. | |
1800 (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN, | |
1801 tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER, | |
1802 tYEAR_UNIT, tZONE, o_merid): Now of type <intval>. | |
1803 (tSNUMBER, tUNUMBER): Now of type <textintval>. | |
1804 (date, number, to_year): Use width of number in digits, not its value, | |
1805 to determine whether it's a 2-digit year, or a 2-digit time. | |
1806 (yylex): Store number of digits of numeric tokens. | |
1807 Reported by John Kendall. | |
1808 | |
1809 (parser_control): Changed from struct parser_control to typedef (for | |
1810 consistency). All uses changed. | |
1811 | |
1812 (tID): Removed; not used. | |
1813 (yylex): Return '?' for unknown identifiers, rather than (unused) tID. | |
1814 | |
2278 | 1815 2000-02-14 Paul Eggert <eggert@twinsun.com> |
1816 | |
2583 | 1817 * getpagesize.h (getpagesize): Port to VMS for Alpha; |
2279 | 1818 adapted from changes to grep getpagesize.h by Martin P.J. Zinser. |
2278 | 1819 |
2274 | 1820 2000-02-12 Jim Meyering <meyering@lucent.com> |
1821 | |
1822 * userspec.c (ISDIGIT): Define it. | |
1823 (isdigit): Remove definition. | |
1824 (is_number): Use ISDIGIT, not isdigit. | |
1825 <libintl.h>: Include. | |
1826 (_ and N_): Define. | |
1827 (parse_user_spec): Mark translatable strings. | |
1828 | |
2268 | 1829 2000-02-10 Jim Meyering <meyering@lucent.com> |
1830 | |
1831 With these changes, nanosleep.[ch] are finally enough like the other | |
1832 lib/* replacement files to compile on a few more losing systems. | |
1833 | |
1834 * nanosleep.h: Don't include config.h. | |
1835 Remove prototype from declaration of nanosleep. | |
1836 (PARAMS): Remove now-unneeded definition. | |
1837 * nanosleep.c: #undef nanosleep. | |
1838 (rpl_nanosleep): Rename from nanosleep. | |
1839 | |
2245 | 1840 2000-02-03 Jim Meyering <meyering@lucent.com> |
1841 | |
1842 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', | |
1843 rather than with `#if HAVE_UTMPNAME'. | |
1844 | |
1845 2000-02-01 Jim Meyering <meyering@lucent.com> | |
1846 | |
1847 * readutmp.h (UT_USER): Add parens. From Andreas Schwab. | |
1848 | |
2235 | 1849 2000-01-31 Jim Meyering <meyering@lucent.com> |
1850 | |
2240 | 1851 * nanosleep.h (nanosleep): Guard declaration with |
1852 `#if ! HAVE_DECL_NANOSLEEP'. | |
2275 | 1853 Without this, OFS gets a redeclaration error for rpl_nanosleep, due to |
2240 | 1854 the declaration in that vendor's sys/timers.h. |
1855 Reported by Christian Krackowizer. | |
1856 | |
2235 | 1857 * quotearg.c (ISASCII): Add #undef and move definition to follow |
1858 inclusion of wctype.h to work around solaris2.6 namespace pollution. | |
1859 (ISPRINT): Likewise. | |
2236 | 1860 Reported by Tom Tromey. |
2235 | 1861 |
2228 | 1862 2000-01-30 Jim Meyering <meyering@lucent.com> |
1863 | |
1864 * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding | |
1865 uses of ->ut_name. The latter doesn't work with new Linux header files | |
1866 where only utmpx.ut_user is declared. | |
1867 | |
1868 * readutmp.h (UT_USER): Define. | |
1869 | |
2193 | 1870 2000-01-23 Jim Meyering <meyering@lucent.com> |
1871 | |
1872 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of | |
1873 obstack.c. | |
1874 | |
2163 | 1875 2000-01-22 Jim Meyering <meyering@lucent.com> |
2188 | 1876 |
1877 * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul. | |
1878 [! HAVE_DECL_STRTOULL]: Declare strtoull. | |
1879 Required for some AIX systems. Reported by Christian Krackowizer. | |
1880 [TESTING] (main): New function. | |
1881 | |
2172 | 1882 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il> |
1883 * dirname.c (dir_name): Support for DOS-style file names with drive | |
1884 letters. | |
2163 | 1885 |
2185 | 1886 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint. |
2184 | 1887 |
2163 | 1888 * strverscmp.c (ISDIGIT): Define. |
1889 (strverscmp): Use ISDIGIT, not isdigit. | |
1890 | |
2152 | 1891 2000-01-17 Paul Eggert <eggert@twinsun.com> |
1892 | |
1893 * nanosleep.c (nanosleep): | |
1894 Don't use SA_INTERRUPT to decide whether to call sigaction, as | |
1895 POSIX.1 doesn't require SA_INTERRUPT and some systems | |
1896 (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; | |
1897 it's been part of POSIX.1 since day 1 (in 1988). | |
1898 | |
2150 | 1899 2000-01-17 Jim Meyering <meyering@lucent.com> |
1900 | |
1901 * interlock: Remove unused file. Reported by Fran�ois Pinard. | |
1902 | |
2144 | 1903 2000-01-16 Paul Eggert <eggert@twinsun.com> |
1904 | |
2583 | 1905 * quotearg.c (quotearg_buffer_restyled): Do not quote |
2144 | 1906 alert, backslash, formfeed, and vertical tab unnecessarily in |
1907 shell quoting style. | |
2190 | 1908 |
1909 Local Variables: | |
1910 version-control: never | |
1911 End: |