Mercurial > hg > octave-lojdl > gnulib-hg
annotate lib/ChangeLog @ 3163:8c948a766b14
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 16 Feb 2001 19:31:18 +0000 |
parents | c8d0fc5de674 |
children | 1d5f75101938 |
rev | line source |
---|---|
3163 | 1 2001-02-16 Paul Eggert <eggert@twinsun.com> |
2 | |
3 * lib/alloca.c (malloc): Undef before defining, since stdlib.h | |
4 may have defined it. | |
5 | |
3158 | 6 2001-02-07 Jim Meyering <meyering@lucent.com> |
7 | |
8 * regex.c: Update from libc. | |
9 | |
3149 | 10 2001-01-30 Bruno Haible <haible@clisp.cons.org> |
11 | |
12 * config.charset: Update for FreeBSD 4.2. | |
13 | |
3131 | 14 2001-01-26 Jim Meyering <meyering@lucent.com> |
15 | |
3133 | 16 * quotearg.c: Include stddef.h. |
17 * quote.c: Include stddef.h. | |
18 Reported by Axel Kittenberger. | |
19 | |
3131 | 20 * xmalloc.c [HAVE_DONE_WORKING_MALLOC_CHECK]: Enclose error-evoking |
21 line in double quotes so that it evokes a better diagnostic. | |
22 [HAVE_DONE_WORKING_REALLOC_CHECK]: Likewise. | |
23 Reported by Axel Kittenberger. | |
24 | |
3124 | 25 2001-01-15 Bruno Haible <haible@clisp.cons.org> |
26 | |
27 * unicodeio.c (print_unicode_char): Cast the second iconv() arg, | |
28 to avoid a warning. Add back 'const' to inptr. | |
29 | |
3108 | 30 2001-01-16 Jim Meyering <meyering@lucent.com> |
31 | |
32 * basename.c: Include <stdio.h>, needed by assert on SunOS4. | |
33 From Bruno Haible. | |
34 | |
3103 | 35 2001-01-14 Jim Meyering <meyering@lucent.com> |
36 | |
37 * rename.c: New file. From Volker Borchert. | |
38 Include stdlib.h, string.h or strings.h, and xalloc.h. | |
39 Use strip_trailing_slashes rather than open-coding it. | |
40 | |
3095 | 41 2001-01-03 Paul Eggert <eggert@twinsun.com> |
42 | |
43 * lib/strftime.c: Sync with glibc time/strftime.c 1.81. | |
44 | |
3091 | 45 2001-01-03 Jim Meyering <meyering@lucent.com> |
46 | |
47 * unicodeio.c (print_unicode_char): Remove `const' from declaration of | |
48 local `inptr' to avoid warning with some system declarations of iconv. | |
49 | |
3082 | 50 2000-12-29 Paul Eggert <eggert@twinsun.com> |
51 | |
52 * lib/modechange.c: Do not assume that mode_t uses the | |
53 traditional octal encoding. E.g. "chmod 1 FOO" should set | |
54 the other-execute bit of FOO even if S_IXOTH != 1. | |
55 | |
56 (SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH, | |
57 WOTH, XOTH, ALLM): New macros. | |
58 (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, | |
59 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): | |
60 Use them. | |
61 (S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID. | |
62 (S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above. | |
63 (mode_compile): | |
64 No need to use uintmax_t; unsigned long is long enough. | |
65 Don't bother to get suffix since we don't use it. | |
66 | |
3074 | 67 2000-12-24 Jim Meyering <meyering@lucent.com> |
68 | |
69 * hash.c (is_prime): Return explicit boolean values. | |
70 (hash_get_first): Return NULL to appease Irix5.6's 89. | |
3075 | 71 Reported by Nelson Beebe. |
3074 | 72 |
3063 | 73 2000-10-31 Bruno Haible <haible@clisp.cons.org> |
74 | |
75 * localcharset.c (locale_charset): Add support for Win32. | |
76 | |
77 2000-12-18 Paul Eggert <eggert@twinsun.com> | |
78 | |
3067 | 79 * physmem.h, physmem.c: New files. |
3063 | 80 |
3067 | 81 * Makefile.am (libfetish_a_SOURCES): Add physmem.c. |
3063 | 82 (noinst_HEADERS): Add physmem.h. |
83 | |
3067 | 84 * xstrtol.c (__xstrtol): Add undocumented suffixes 'g' and |
3063 | 85 't' for compatibility with Solaris 8 sort. |
86 | |
3061 | 87 2000-12-18 Bruno Haible <haible@clisp.cons.org> |
88 | |
89 * config.charset: Add support for BeOS. | |
90 | |
3053 | 91 2000-12-16 Jim Meyering <meyering@lucent.com> |
92 | |
93 * getusershell.c [!SHELLS_FILE && __DJGPP__]: Define | |
94 SHELLS_FILE to a file name that's useful on djgpp systems. | |
95 Include stdlib.h. | |
96 (ADDITIONAL_DEFAULT_SHELLS): Define. | |
97 (default_shells): Prepend ADDITIONAL_DEFAULT_SHELLS. | |
98 Based mostly on a patch from Prashant TR. | |
99 | |
3051 | 100 2000-12-16 Jim Meyering <meyering@lucent.com> |
101 | |
102 This bug had a serious impact on chown: `chown N:M FILE' (for integer | |
103 N and M) would have treated it like `chown N:N FILE'. | |
104 | |
105 * userspec.c (parse_user_spec): Fix typo: s/u/g/. | |
106 | |
3054 | 107 2000-10-31 Bruno Haible <haible@clisp.cons.org> |
108 | |
109 * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII, | |
110 CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257 | |
111 to the list of canonical encodings. Rename EUC-CN to GB2312. | |
112 | |
3044 | 113 2000-12-08 Andreas Schwab <schwab@suse.de> |
114 | |
115 * mbswidth.c (mbsnwidth): Don't loop endlessly when called with an | |
116 invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set. | |
117 | |
3039 | 118 2000-12-07 Jim Meyering <meyering@lucent.com> |
119 | |
3042 | 120 * stripslash.c (ISSLASH): Define. |
121 (strip_trailing_slashes): Use ISSLASH rather than comparing against `/'. | |
122 From Prashant TR. | |
123 | |
3039 | 124 * dirname.c (FILESYSTEM_PREFIX_LEN): Define. |
125 (dir_name_r): Declare this function as static. | |
126 [BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd | |
127 manifest itself on a name containing a mix of slashes and | |
128 backslashes. | |
129 Make this function work with names starting with a DOS-style | |
130 drive letter and colon prefix. | |
131 (dir_name): Append `.' if necessary. | |
132 Based mostly on patches from Prashant TR and Eli Zaretskii. | |
133 | |
134 * dirname.h (dir_name_r): Remove prototype. | |
135 | |
3028 | 136 2000-12-05 Jim Meyering <meyering@lucent.com> |
137 | |
138 * dirname.c (dir_name_r): Add `const' in a few local declarations. | |
139 | |
3023 | 140 2000-12-04 Jim Meyering <meyering@lucent.com> |
141 | |
142 * path-concat.c: [!HAVE_DECL_MALLOC]: Declare malloc. | |
3025 | 143 Also include memory.h, stdlib.h, unistd.h if appropriate. |
3026 | 144 Reported by Andreas Jaeger (conflicting declaration of malloc). |
3023 | 145 |
3020 | 146 2000-12-02 Jim Meyering <meyering@lucent.com> |
147 | |
148 * closeout.h: Make idempotent, to avoid some obscure warnings. | |
149 | |
3010 | 150 2000-12-01 Paul Eggert <eggert@twinsun.com> |
151 | |
152 * lib/memrchr.c: Include <config.h> before any system include file. | |
153 | |
3005 | 154 2000-11-29 Paul Eggert <eggert@twinsun.com> |
155 | |
156 * lib/dirname.c (dir_name_r): Fix typo: int -> size_t. | |
157 | |
2998 | 158 2000-11-26 Jim Meyering <meyering@lucent.com> |
159 | |
160 * memcoll.c: Include sys/types.h. From Werner Almesberger. | |
161 | |
2994 | 162 2000-11-22 Paul Eggert <eggert@twinsun.com> |
163 | |
164 * lib/strftime.c (my_strftime): Do not invoke mbrlen with a | |
165 size of (size_t) -1; it's not portable. | |
166 | |
2992 | 167 2000-11-17 Akim Demaille <akim@epita.fr> |
168 | |
169 * lib/obstack.h: Formatting changes. | |
170 (obstack_grow, obstack_grow0): Don't cast WHERE at all: that would | |
171 prevent type checking. | |
172 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't | |
173 cast the value to (void *): assigning a `foo *' to a `void *' | |
174 variable is valid. | |
175 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. | |
176 | |
2989 | 177 2000-11-17 Jim Meyering <meyering@lucent.com> |
178 | |
179 * strstr.c: Update from GNU libc. | |
180 | |
2987 | 181 2000-11-16 Jim Meyering <meyering@lucent.com> |
182 | |
183 * strverscmp.c: Incorporate weak-alias-related changes from glibc. | |
184 | |
185 2000-11-11 Jim Meyering <meyering@lucent.com> | |
186 | |
187 * error.c: Add a couple #includes, merging from GNU libc version. | |
188 | |
2980 | 189 2000-11-10 Jim Meyering <meyering@lucent.com> |
190 | |
191 * obstack.h: Update from GNU libc. | |
192 * obstack.c: Likewise. | |
193 | |
2967 | 194 2000-11-06 Paul Eggert <eggert@twinsun.com> |
195 | |
2981 | 196 * getusershell.c (setusershell): Use rewind rather than |
2967 | 197 fseek/fseeko, to avoid configuration hassles with fseeko. |
198 Don't bother opening SHELLS_FILE if shellstream is NULL; | |
199 it's not necessary. | |
200 | |
2965 | 201 2000-11-05 Jim Meyering <meyering@lucent.com> |
202 | |
203 * makepath.h (make_dir): Declare. | |
204 * makepath.c (make_dir): Remove `static' attribute. | |
205 Tweak a comment. | |
206 | |
2957 | 207 2000-11-04 Alexandre Duret-Lutz <duret_g@epita.fr> |
208 | |
209 * hash.c (hash_get_next): Fix a thinko: when ENTRY is the | |
210 last one in a bucket, advance to the next bucket. | |
211 | |
2955 | 212 2000-11-02 Vesselin Atanasov <vesselin@bgnet.bg> |
213 | |
2981 | 214 * fnmatch.c: Do not comment out all the code if we are using |
2955 | 215 the GNU C library, because in some cases we are replacing buggy |
216 code in the GNU C library itself. | |
217 | |
2952 | 218 2000-10-30 Paul Eggert <eggert@twinsun.com> |
219 | |
2981 | 220 * error.h, getline.h, modechange.h: |
2952 | 221 Remove "2000" from Copyright line, as the file hasn't been |
222 changed this year other than in the copyright notice. | |
223 | |
2981 | 224 * xalloc.h: Add "2000" to Copyright line, as this file |
2952 | 225 was changed this year. |
226 | |
2949 | 227 2000-10-30 Paul Eggert <eggert@twinsun.com> |
228 | |
2981 | 229 * fnmatch.c (FOLD): Do not assume that characters are unsigned. |
2949 | 230 (fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs, |
231 e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero. | |
232 | |
2941 | 233 2000-10-29 Greg Louis <glouis@dynamicro.on.ca> |
234 | |
235 * regex.h (__restrict_arr): Move definition out of #ifndef block. | |
236 Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but | |
237 doesn't define __restrict_arr. | |
238 | |
2939 | 239 2000-10-29 Jim Meyering <meyering@lucent.com> |
240 | |
241 * xstat.in: Fix grammar in comment. | |
242 | |
2929 | 243 2000-10-28 Jim Meyering <meyering@lucent.com> |
244 | |
2933 | 245 * memchr.c: Update from libc. |
246 Adjust for portability: | |
247 [HAVE_STDLIB_H]: Include stdlib.h. | |
248 [HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h. | |
249 Undef __memchr, too. | |
250 [!weak_alias]: Define __memchr to memchr. | |
251 | |
2931 | 252 * regex.c: Update from libc. |
253 * regex.h: Likewise. | |
254 * getopt1.c: Likewise. | |
2935 | 255 * memcmp.c: Likewise. |
2931 | 256 |
2942
c5e4ce044bd7
fix typo: s/fseek0/fseeko/
Jim Meyering <jim@meyering.net>
parents:
2941
diff
changeset
|
257 * getusershell.c (setusershell) [HAVE_FSEEKO]: Use fseeko. |
2967 | 258 Avoid using fseek, when possible -- it's broken by design. |
2929 | 259 Patch by Ulrich Drepper. |
260 | |
2924 | 261 2000-10-26 Jim Meyering <meyering@lucent.com> |
262 | |
263 * strftime.c: Update from libc. | |
264 | |
2918 | 265 2000-10-25 Jim Meyering <meyering@lucent.com> |
266 | |
267 * obstack.c: Update from libc. | |
268 | |
2911 | 269 2000-10-23 Jim Meyering <meyering@lucent.com> |
270 | |
271 * hard-locale.c (hard_locale): Revert last change -- it was simply | |
272 wrong. That set_locale call must not have any side effects. | |
273 From Paul Eggert. | |
274 | |
2904 | 275 2000-10-22 Jim Meyering <meyering@lucent.com> |
276 | |
2907 | 277 * md5.c (md5_process_block) [OP]: Use `rol', not CYCLIC. |
278 [CYCLIC]: Remove now-unused definition. | |
279 | |
2904 | 280 * save-cwd.c (O_DIRECTORY): Define, if needed. |
281 (save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".". | |
282 Suggestion from Ulrich Drepper. | |
283 | |
2893 | 284 2000-10-21 Jim Meyering <meyering@lucent.com> |
285 | |
2920 | 286 * dirname.c (dir_name_r): New function, factored out of dir_name. |
287 (dir_name): Use dir_name_r. | |
288 * dirname.h (dir_name_r): Declare it. | |
289 | |
290 2000-10-21 Jim Meyering <meyering@lucent.com> | |
291 | |
2898 | 292 * dirname.c (memrchr): Declare if necessary. |
293 (dir_name): Remove the restriction that there be no | |
294 trailing slashes. Now, this code skips past them, effectively | |
295 ignoring them. | |
296 [TEST_DIRNAME] (main): New unit tests. | |
297 | |
2893 | 298 * memrchr.c: New file from GNU libc. |
299 Undef __memrchr, too. | |
300 [!weak_alias]: Define __memrchr to memrchr. | |
301 Guard weak_alias use with `#ifdef weak_alias'. | |
302 | |
2886 | 303 2000-10-17 Jim Meyering <meyering@lucent.com> |
304 | |
2891 | 305 * quote.h (PARAMS): Define and use. |
2890 | 306 Reported by Akim Demaille. |
2889 | 307 |
2886 | 308 * getopt.c: Update from libc. |
309 | |
2884 | 310 2000-10-16 Jim Meyering <meyering@lucent.com> |
311 | |
312 * hard-locale.c (hard_locale): Use "", not 0 as 2nd arg to setlocale. | |
313 From Jan Fedak. | |
314 | |
2880 | 315 2000-09-25 Jim Meyering <meyering@lucent.com> |
316 | |
317 * md5.h (rol): Define (from GnuPG). | |
318 | |
319 * sha.c: Give credit (GnuPG) where due. | |
320 (M): Use rol rather than open-coding it. | |
321 Add a FIXME comment. | |
322 | |
2876 | 323 2000-09-21 Jim Meyering <meyering@lucent.com> |
324 | |
325 * userspec.c (parse_user_spec): Remove debugging printf I'd added. | |
2877 | 326 Reported by Michael Stone. |
2876 | 327 |
2874 | 328 2000-09-20 Jim Meyering <meyering@lucent.com> |
329 | |
330 * Makefile.am (libfetish_a_SOURCES): Add sha.c. | |
331 (noinst_HEADERS): Add sha.h. | |
332 Based on code from Scott G. Miller and from GnuPG. | |
333 | |
2861 | 334 2000-09-15 Jim Meyering <meyering@lucent.com> |
335 | |
336 * regex.c: Update from libc. | |
337 | |
2859 | 338 2000-09-10 Jim Meyering <meyering@lucent.com> |
339 | |
340 * getopt.c (_getopt_internal): Update from glibc. | |
341 | |
2855 | 342 2000-09-09 Jim Meyering <meyering@lucent.com> |
343 | |
2857 | 344 * quotearg.c: Rename ISASCII to IN_CTYPE_DOMAIN, so people don't |
345 think it should be used as a general replacement for isascii. | |
346 * fnmatch.c: Likewise. | |
347 * mbswidth.c: Likewise | |
348 * regex.c: Likewise. | |
349 | |
2855 | 350 Don't use atoi. |
351 * userspec.c: Include sys/param.h and limits.h. | |
352 Include xstrtol.h. | |
353 (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Define. | |
354 (UID_T_MAX, GID_T_MAX, MAXUID, MAXGID): Define. | |
355 (parse_user_spec): Use xstrtoul, not atoi when converting numeric | |
356 UID, GID. Check range. | |
357 | |
2853 | 358 2000-09-06 Jim Meyering <meyering@lucent.com> |
359 | |
360 * getopt.c (_getopt_internal): Update from glibc. | |
361 | |
2846 | 362 2000-08-30 Jim Meyering <meyering@lucent.com> |
363 | |
364 * strftime.c: Merge in changes from GNU libc. | |
365 | |
2837 | 366 2000-08-26 Jim Meyering <meyering@lucent.com> |
367 | |
2839 | 368 * closeout.c: Include "__fpending.h". |
369 (close_stdout_status): Return right away if there's nothing to flush. | |
370 | |
2837 | 371 * Makefile.am (noinst_HEADERS): Add __fpending.h. |
372 * __fpending.c: New file. | |
373 * __fpending.h: New file. | |
374 | |
2815 | 375 2000-08-07 Paul Eggert <eggert@twinsun.com> |
376 | |
377 Standardize on "memory exhausted" instead of "Memory exhausted" | |
378 or "virtual memory exhausted". | |
379 * obstack.c (print_and_abort): Use "memory exhausted", not | |
380 "virtual memory exhausted". | |
381 * same.c (same_name): Invoke xalloc_die instead of printing | |
382 our own message. | |
383 * userspec.c (parse_user_spec): Likewise. | |
384 * bumpalloc.h: comment fix | |
385 * same.c, userspec.c: Include xalloc.h. | |
386 | |
387 * xalloc.h (xalloc_msg_memory_exhausted): Now char const[], | |
388 not char *const and pointing to a constant array. | |
389 * xmalloc.c (xalloc_msg_memory_exhausted): Likewise. | |
390 (xrealloc): Comment fix. | |
391 | |
392 * userspec.c (parse_user_spec): | |
393 Don't translate a message until just before returning, | |
394 to avoid unnecessary translation. | |
395 | |
2808 | 396 2000-08-07 Jim Meyering <meyering@lucent.com> |
397 | |
398 * addext.c, argmatch.c, argmatch.h, backupfile.h, bumpalloc.h, | |
399 chown.c, diacrit.h, dirname.h, dup2.c, exclude.h, fileblocks.c, | |
400 fnmatch.c, fnmatch.h, fsusage.c, fsusage.h, getdate.h, | |
401 getgroups.c, gethostname.c, getopt.h, group-member.c, | |
402 hard-locale.c, hash.h, isdir.c, lchown.c, linebuffer.c, | |
403 linebuffer.h, long-options.h, malloc.c, md5.c, md5.h, memchr.c, | |
404 memcmp.c, memcoll.c, memset.c, mktime.c, modechange.h, obstack.h, | |
405 pathmax.h, realloc.c, rmdir.c, safe-read.c, save-cwd.c, stime.c, | |
406 stpcpy.c, strcasecmp.c, strcspn.c, strdup.c, stripslash.c, | |
407 strstr.c, strtod.c, strtol.c, strtoul.c, strtoull.c, strtoumax.c, | |
408 utime.c, version-etc.h, xalloc.h, xstrdup.c, xstrtoumax.c, | |
409 yesno.c: Back out Copyright date changes for each file with no change | |
410 this year. This eases coordination with other programs using the same | |
411 source code modules. From Paul Eggert. | |
412 | |
2804 | 413 2000-08-03 Greg McGary <greg@mcgary.org> |
414 | |
415 * regex.c (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, | |
416 ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros. | |
417 (EXTEND_BUFFER): Use them. | |
418 | |
2802 | 419 2000-08-01 Jim Meyering <meyering@lucent.com> |
420 | |
421 * dirname.c (ISSLASH): Define. | |
422 (BACKSLASH_IS_PATH_SEPARATOR): Define. | |
423 (dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which | |
424 both `\' and `/' may be use as path separators. | |
425 Based on a patch from Prashant TR. | |
426 | |
2800 | 427 2000-07-31 Paul Eggert <eggert@twinsun.com> |
428 | |
2815 | 429 * quotearg.c (quotearg_n_options): Don't make the initial |
2800 | 430 slot vector a constant, since it might get modified. |
431 | |
2794 | 432 2000-07-31 Jim Meyering <meyering@lucent.com> |
433 | |
434 * xmalloc.c: Use `virtual memory exhausted', not `Memory exhausted'. | |
435 * obstack.c (print_and_abort): Likewise. | |
436 | |
2796 | 437 2000-07-30 Paul Eggert <eggert@twinsun.com> |
438 | |
439 * quotearg.c (quotearg_n_options): Preallocate a slot 0 | |
440 buffer, so that the caller can always quote one small | |
441 component of a "memory exhausted" message in slot 0. | |
442 From a suggestion by Jim Meyering. | |
443 | |
2791 | 444 2000-07-30 Jim Meyering <meyering@lucent.com> |
445 | |
446 * makepath.c (make_path): Quote the other instance, too. | |
447 | |
448 * quotearg.c (N_STATIC_SLOTVECS): Define. | |
449 (STATIC_BUF_SIZE): Define. | |
450 (quotearg_n_options): Use only statically allocated storage when | |
451 N < N_STATIC_SLOTVECS and the length of the quoted result is smaller | |
452 than STATIC_BUF_SIZE. | |
453 | |
2782 | 454 2000-07-29 Jim Meyering <meyering@lucent.com> |
455 | |
2788 | 456 * diacrit.c (diacrit_diac): Use __MSDOS__ in favor of MSDOS. |
457 * dirname.c (dir_name): Likewise. | |
458 | |
459 * basename.c (base_name): Use ISSLASH rather than comparing against `/'. | |
460 | |
2782 | 461 * dirname.c (dir_name) [MSDOS]: Declare `lim' to be const. |
2785 | 462 (dir_name): Assert that there are no trailing slashes. |
2782 | 463 |
2780 | 464 2000-07-18 Bruno Haible <haible@clisp.cons.org> |
465 | |
466 * mbswidth.h (mbswidth): Add a flags argument. | |
467 (mbswidth): New declaration. | |
468 (MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros. | |
469 * mbswidth.c (mbswidth): Add a flags argument. | |
470 (mbsnwidth): New function. | |
471 | |
2776 | 472 2000-07-24 Jim Meyering <meyering@lucent.com> |
473 | |
474 * mbswidth.c: Remove useless #else. From Bruno Haible. | |
475 | |
2773 | 476 2000-07-23 Paul Eggert <eggert@twinsun.com> |
477 | |
478 * mbswidth.c (_XOPEN_SOURCE): | |
479 Don't define; this causes problems on Solaris 7. | |
480 (wcwidth) [!HAVE_DECL_WCWIDTH]: Declare. | |
481 | |
2771 | 482 2000-07-23 Paul Eggert <eggert@twinsun.com> |
483 | |
2815 | 484 * quotearg.c: |
2771 | 485 Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX), |
486 so that mbstate_t is always defined. | |
487 | |
488 Do not inspect MB_LEN_MAX, since it's incorrectly defined to | |
489 be 1 in at least one GCC installation, and this configuration | |
490 error is likely to be common. Ignoring MB_LEN_MAX hurts | |
491 performance on hosts that have mbrtowc but have only unibyte | |
492 locales, but I assume these hosts are rare. | |
493 | |
2769 | 494 2000-07-23 Paul Eggert <eggert@twinsun.com> |
495 | |
2815 | 496 * quotearg.c: Streamline by invoking multibyte code only if needed. |
2769 | 497 <wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX. |
498 (MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX). | |
499 (quotearg_buffer_restyled): If a unibyte locale, don't bother to | |
500 invoke multibyte primitives. | |
501 | |
2764 | 502 2000-07-23 Jim Meyering <meyering@lucent.com> |
503 | |
504 * basename.c (base_name): Add an assertion. | |
505 | |
2762 | 506 2000-07-15 Bruno Haible <clisp.cons.org> |
507 | |
508 * quotearg.c: When the system forces us to redefine mbstate_t, | |
509 shadow its mbsinit function. | |
510 | |
2755 | 511 2000-07-16 Bruno Haible <haible@clisp.cons.org> |
512 | |
513 * mbswidth.h: New file. | |
514 * mbswidth.c: New file. | |
2759 | 515 * Makefile.am (libfetish_a_SOURCES): Add mbswidth.c. |
2769 | 516 (noinst_HEADERS): Add mbswidth.h. |
2755 | 517 |
2754 | 518 2000-07-17 Bruno Haible <haible@clisp.cons.org> |
519 | |
520 * config.charset: Add support for FreeBSD. Improve support for HP-UX | |
521 and IRIX 6. | |
522 | |
2747 | 523 2000-07-15 Jim Meyering <meyering@lucent.com> |
524 | |
2751 | 525 * makepath.c: Include quote.h. |
526 (make_path): Convert "`%s'" in format strings to "%s", and wrap each | |
527 corresponding argument in a `quote (...)' call. | |
528 Give better diagnostics. | |
529 | |
2749 | 530 * Makefile.am (libfetish_a_SOURCES): Add quote.c. |
531 (noinst_HEADERS): Add quote.h. | |
532 | |
2747 | 533 * quote.c (quote, quote_n): New file. Two functions taken verbatim |
534 from tar's src/misc.c. | |
535 * quote.h: New file. Prototypes for same. | |
536 | |
2740 | 537 2000-07-10 Paul Eggert <eggert@twinsun.com> |
538 | |
539 From a suggestion by Bruno Haible. | |
540 * quotearg.c (mbrtowc): Do not use HAVE_WCHAR_H in the definition. | |
541 Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT, | |
542 to decide whether to define the BeOS workaround macro; | |
543 this adjusts to the change to AC_MBSTATE_T. | |
544 | |
2738 | 545 2000-07-13 Paul Eggert <eggert@twinsun.com> |
546 | |
547 * quotearg.h (enum quoting style): New enum clocale_quoting_style. | |
548 | |
549 * quotearg.c: (quoting_style_args, quoting_style_vals, | |
550 quotearg_buffer_restyled): Add support for | |
551 clocale_quoting_style. Undo previous change to | |
552 locale_quoting_style behavior, and undo the "{LEFT QUOTATION MARK}" | |
553 and "{RIGHT QUOTATION MARK}" msgids. | |
554 | |
2723 | 555 2000-07-05 Paul Eggert <eggert@twinsun.com> |
556 | |
557 The old behavior of quoting `like this' doesn't look good with | |
558 newer, ISO-style fonts. See: | |
559 http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |
560 | |
561 Instead, quote "like this" by default. Let the translator | |
562 tailor the locale-specific quoting behavior by providing | |
563 translations for {LEFT QUOTATION MARK} and {RIGHT QUOTATION MARK}. | |
564 | |
565 * quotearg.c (N_): New macro. | |
566 (gettext_default): New function. | |
567 (quotearg_buffer_restyled): Use | |
568 gettext_default ("{LEFT QUOTATION MARK}", "\"") for left quote, and | |
569 gettext_default ("{RIGHT QUOTATION MARK}", "\"") for right quote. | |
570 | |
2719 | 571 2000-07-09 Jim Meyering <meyering@lucent.com> |
572 | |
573 * Most files: Update copyright dates to include 2000. | |
574 | |
2721 | 575 2000-07-08 Jim Meyering <meyering@lucent.com> |
576 | |
577 * xgethostname.c (ENAMETOOLONG): Define to an unlikely value | |
578 if not defined. | |
579 (xgethostname): Remove now-unnecessary #ifdef. | |
580 Move declaration of `err' into loop where it's used. | |
581 | |
582 2000-07-05 Bruno Haible <haible@clisp.cons.org> | |
583 | |
584 * xgethostname.c (xgethostname): Protect against the SunOS5.5 bug | |
585 by allocating a larger buffer. Test the gethostname return value for | |
586 being >= 0, not == 0, for BeOS. Don't exhaust memory if gethostname | |
587 returns an error and ENAMETOOLONG isn't defined. | |
588 | |
2710 | 589 2000-07-05 Paul Eggert <eggert@twinsun.com> |
590 and Bruno Haible <haible@clisp.cons.org> | |
591 | |
592 * quotearg.c (mbrtowc): Declare returned type, since BeOS doesn't. | |
593 | |
2708 | 594 2000-07-05 Bruno Haible <haible@clisp.cons.org> |
595 | |
596 * quotearg.c (struct quoting_options): Simplify quote_these_too | |
597 dimension. | |
598 | |
2706 | 599 2000-07-03 Jim Meyering <meyering@lucent.com> |
600 | |
601 * strndup.c: [!HAVE_DECL_STRNLEN]: Declare strnlen. | |
602 Reported by Bruno Haible. | |
603 | |
2704 | 604 2000-07-04 Jim Meyering <meyering@lucent.com> |
605 | |
606 * quotearg.c: Make inclusion of <wchar.h> independent of whether | |
607 HAVE_MBRTOWC is set. Required at least for irix-5.6, which | |
608 lacks mbrtowc. | |
609 | |
2693 | 610 2000-07-03 Paul Eggert <eggert@twinsun.com> |
611 and Bruno Haible <haible@clisp.cons.org> | |
612 | |
2815 | 613 * quotearg.c (mbrtowc): |
2693 | 614 Assign to *pwc, and return 1 only if result is nonzero. |
615 (iswprint): Use ISPRINT when substituting our own mbrtowc. | |
616 | |
2697 | 617 2000-07-03 Jim Meyering <meyering@lucent.com> |
618 | |
619 * readutmp.h: [HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H. | |
620 This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20. | |
621 From Bob Proulx. | |
622 | |
2691 | 623 2000-07-02 Jim Meyering <meyering@lucent.com> |
624 | |
625 * quotearg.c (mbstate_t): Don't define here. | |
626 | |
2688 | 627 2000-07-02 Jim Meyering <meyering@lucent.com> |
628 | |
629 * nanosleep.c (SIGCONT): Define if not already defined. | |
630 | |
2678 | 631 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
632 | |
633 * mountlist.c: Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV, | |
634 per change in ../m4/ls-mntd-fs.m4. | |
635 (read_filesystem_list): Ignore symbolic links. | |
636 | |
2668 | 637 2000-06-29 Jim Meyering <meyering@lucent.com> |
638 | |
2672 | 639 * same.c: Include <string.h> or <strings.h>, as appropriate, |
640 for declaration of strcmp. | |
641 | |
2670 | 642 * long-options.c: Include <stdlib.h>, for declaration of exit. |
643 | |
2668 | 644 * mountlist.c (fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]: |
645 Avoid warning by casting result to `char *' to remove `const'. | |
646 | |
2662 | 647 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
648 | |
649 * Makefile.am (libfetish_a_SOURCES): Remove readutmp.c. | |
650 | |
2659 | 651 2000-06-26 Paul Eggert <eggert@twinsun.com> |
652 | |
653 savedir now sets errno on failure and invokes xmalloc to get memory. | |
654 Fix a couple of other minor bugs while we're at it. | |
655 | |
656 * savedir.c (<unistd.h>): Do not include; there's no need. | |
657 (NAMLEN): Remove macro. | |
658 (malloc, realloc): Remove decls. | |
659 (stpcpy): Likewise. | |
660 ("xalloc.h"): Include. | |
661 (NAME_SIZE_DEFAULT): New macro. | |
662 (savedir): Use xmalloc / xrealloc to allocate memory. | |
663 Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero. | |
664 Skip "" directory entries. | |
665 Use strlen to calculate directory entry length, since the old method | |
666 is rarely used these days and isn't worth supporting. | |
667 Don't use a pointer after freeing it. | |
668 Check for integer overflow when calculating allocation size. | |
669 Use memcpy to copy entries, instead of stpcpy. | |
670 Set errno properly when returning NULL. | |
671 Check for readdir error. | |
672 | |
2657 | 673 2000-06-26 Jim Meyering <meyering@lucent.com> |
674 | |
675 * posixtm.c [HAVE_STDLIB_H]: Include stdlib.h, for decl of abort. | |
676 | |
2655 | 677 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
678 | |
679 * getusershell.c (xmalloc, xrealloc): Remove functions. | |
680 Include xalloc.h. | |
681 Don't include <stdlib.h>. Don't declare malloc, realloc. | |
682 | |
2651 | 683 2000-06-23 Bruno Haible <haible@clisp.cons.org> |
684 | |
685 * unicodeio.c (print_unicode_char): Work around ansi2knr deficiency. | |
686 | |
2644 | 687 2000-06-24 Jim Meyering <meyering@lucent.com> |
688 | |
689 * error.c [!HAVE_DECL_STRERROR_R]: Declare strerror_r. | |
690 | |
2636 | 691 2000-06-21 Jim Meyering <meyering@lucent.com> |
692 | |
693 * getpass.c: New file, from Bruno Haible. Required for BeOS. | |
694 | |
2640 | 695 2000-06-19 Paul Eggert <eggert@twinsun.com> |
696 | |
697 * quotearg.c: Include <wctype.h> after <wchar.h>, for Solaris 2.5. | |
698 (mbrtowc, mbstate_t): Define substitutes if | |
699 HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT. | |
700 (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT, | |
701 not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H). | |
702 | |
2628 | 703 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
704 | |
705 * xgetcwd.c (xgetcwd): If the required pathname length is smaller | |
706 than 1024, return a memory chunk of least possible size, instead | |
707 of size PATH_MAX + 2. In the loop, increment the size proportionally. | |
708 Use free/xmalloc instead of xrealloc to avoid copying for very long | |
709 paths. | |
710 | |
2626 | 711 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
712 | |
713 * canon-host.c (canon_host): Use malloc and memcpy to copy an | |
714 address, not strdup. Include <stdlib.h> and don't declare free(). | |
715 | |
2624 | 716 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
717 | |
718 * path-concat.c (path_concat): Don't access dir[-1] if dir is | |
719 the empty string. | |
720 | |
2621 | 721 2000-06-21 Jim Meyering <meyering@lucent.com> |
722 | |
723 * Makefile.am (libfetish_a_SOURCES): Add getstr.c. | |
724 (noinst_HEADERS): Add getstr.h. | |
725 | |
726 * getline.c (getstr): Move into a separate file. | |
727 * getstr.c (getstr): New file, extracted from getline.c, with | |
728 the following changes: new parameter, delim2; both delim[12] | |
729 parameters have type `int', not `char'. The latter would lose | |
730 with 8-bit delimiters. | |
731 * getstr.h: New file. | |
732 | |
2611 | 733 2000-06-19 Jim Meyering <meyering@lucent.com> |
734 | |
735 * getloadavg.c [HAVE_NLIST_H] (NLIST_STRUCT): Define. | |
736 | |
2602 | 737 2000-06-18 Jim Meyering <meyering@lucent.com> |
738 | |
2608 | 739 * mkdir.c: Remove file, due mainly to copyright incompatibility. |
740 Besides, these days every porting target provides a mkdir function. | |
741 | |
2606 | 742 * strnlen.c: Include memory.h, string.h, and/or strings.h as needed. |
743 (this snippet comes from src/system.h). | |
744 | |
2594 | 745 2000-06-15 Paul Eggert <eggert@twinsun.com> |
746 | |
2640 | 747 * human.c (adjust_value): New function. |
2594 | 748 (human_readable_inexact): Apply rounding style even when |
749 printing approximate values. | |
750 | |
2591 | 751 2000-06-14 Paul Eggert <eggert@twinsun.com> |
752 | |
2640 | 753 * human.c (human_readable_inexact): Allow an input block |
2591 | 754 size that is not a multiple of the output block size, and vice versa. |
2592 | 755 Reported by Piergiorgio Sartor. |
2591 | 756 |
2589 | 757 2000-06-14 Paul Eggert <eggert@twinsun.com> |
758 | |
2640 | 759 * getdate.y (get_date): Apply relative times after time |
2589 | 760 zone indicator, not before. Reported by Todd A. Jacobs. |
761 | |
2585 | 762 2000-06-13 Jim Meyering <meyering@lucent.com> |
763 | |
2591 | 764 * Makefile.am (all-local): Depend on lstat.c and stat.c. |
765 | |
2585 | 766 * xstat.in [!HAVE_DECL_FREE]: Declare free in lstat.c. |
767 | |
2583 | 768 2000-06-12 Paul Eggert <eggert@twinsun.com> |
769 | |
770 * xstat.in: Include <stdlib.h> in lstat, to declare "free". | |
771 | |
2575 | 772 2000-06-04 Paul Eggert <eggert@twinsun.com> |
773 | |
2583 | 774 * strnlen.c: Include <config.h> if HAVE_CONFIG_H. |
2575 | 775 |
2573 | 776 2000-06-04 Jim Meyering <meyering@lucent.com> |
777 | |
778 * getugroups.c (getugroups): Cast -1 to gid_t, for systems like | |
779 SunOS4.1.4 for which gid_t is an unsigned type. | |
780 | |
2569 | 781 2000-06-03 Jim Meyering <meyering@lucent.com> |
782 | |
783 * strnlen.c [!HAVE_DECL_MEMCHR]: Declare memchr. | |
784 | |
2559 | 785 2000-05-26 Bruno Haible <haible@clisp.cons.org> |
786 | |
787 * Makefile.am (install-exec-local): On systems with glibc-2.1 or | |
788 newer, don't install charset.alias. | |
789 * config.charset: Change the Linux/glibc rules so they become empty | |
790 on glibc-2.1 or newer. | |
791 | |
2554 | 792 2000-06-02 Jim Meyering <meyering@lucent.com> |
793 | |
794 * mountlist.c: Back out last change. Instead, do this... | |
795 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy | |
796 member using the same `ignore'-testing code. | |
797 * mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored | |
798 fs_type strings. | |
799 From Mark D. Roth. | |
800 | |
2549 | 801 2000-05-29 Jim Meyering <meyering@lucent.com> |
802 | |
803 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts | |
804 with the `ignore' attribute. Based on a patch from Mark D. Roth. | |
805 | |
2548 | 806 2000-05-22 Jim Meyering <meyering@lucent.com> |
807 | |
808 * makepath.c: Remove old, now-unnecessary `#ifdef __MSDOS__' block. | |
809 | |
2525 | 810 2000-05-18 Jim Meyering <meyering@lucent.com> |
811 | |
812 * hash.c (hash_rehash): Fix a nasty bug: copy the free entry list | |
813 back, too, since it may have been modified by allocate_entry. | |
814 (hash_delete): Rewrite to use neither the assignment operator | |
815 nor the comma operator in an if-expression. | |
816 | |
2523 | 817 2000-05-15 Paul Eggert <eggert@twinsun.com> |
818 | |
2583 | 819 * closeout.c: |
2523 | 820 <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO): |
821 Remove; no longer needed. | |
822 "quotearg.h": Add include. | |
823 (file_name): Do not bother to explicitly initialize to NULL; it's less | |
824 efficient on some hosts. | |
825 (close_stdout_status): Remove test as to whether stdout was already | |
826 closed; it breaks for the case "echo x | sort >&-". | |
827 Quote file name colons. | |
828 Do not assume that _("write error") lacks format strings. | |
829 | |
2518 | 830 2000-05-15 Jim Meyering <meyering@lucent.com> |
831 | |
832 * version-etc.c (version_etc_copyright): Update the copyright string | |
833 used in all --version output. | |
834 | |
2521 | 835 2000-05-14 Jim Meyering <meyering@lucent.com> |
836 | |
837 * closeout.c (close_stdout_set_file_name): New function. | |
838 (close_stdout_status): Use new file-scoped global. | |
839 Return right away if fstat says the stdout file descriptor is invalid. | |
840 * closeout.h (close_stdout_set_file_name): Declare. | |
841 | |
2515 | 842 2000-05-10 Jim Meyering <meyering@lucent.com> |
843 | |
844 * closeout.c [default_exit_status]: New file-scoped variable. | |
845 (close_stdout_set_status): New function. | |
846 * closeout.h (close_stdout_set_status): Declare. | |
847 | |
2508 | 848 2000-05-08 Jim Meyering <meyering@lucent.com> |
849 | |
850 * long-options.c: Don't include closeout.h. | |
851 (parse_long_options): Don't call close_stdout for --version. | |
852 | |
2499 | 853 2000-05-06 Jim Meyering <meyering@lucent.com> |
854 | |
2504 | 855 * strnlen.c: Undefine __strnlen and strnlen. |
856 [!weak_alias]: Define __strnlen to strnlen. | |
857 | |
2499 | 858 * atexit.c: New file, from libiberty. |
859 | |
860 2000-05-06 Jim Meyering <meyering@lucent.com> | |
861 | |
862 * closeout.c (close_stdout_status): Also check for errors on the | |
863 stderr stream. | |
864 | |
2488 | 865 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
866 | |
867 * localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy | |
868 instead of xmalloc, xrealloc, path_concat. | |
869 (locale_charset): Treat empty environment variables as absent. | |
870 (DIRECTORY_SEPARATOR, ISSLASH): New macros. | |
871 | |
2467 | 872 2000-05-04 Jim Meyering <meyering@lucent.com> |
873 | |
874 * getopt.c: Update from glibc. | |
2478 | 875 * obstack.c: Likewise. |
876 * obstack.h: Likewise. | |
2473 | 877 * regex.c: Likewise. NB: K&R compiler support is dropped for this file |
878 | |
879 * regex.h: Likewise. | |
2470 | 880 * strndup.c: Likewise. |
881 * strnlen.c: New file, from glibc. | |
2467 | 882 |
2461 | 883 2000-05-01 Jim Meyering <meyering@lucent.com> |
884 | |
885 * full-write.c (full_write): Remove `FIXME' part of comment. | |
886 | |
2447 | 887 2000-04-29 Jim Meyering <meyering@lucent.com> |
888 | |
889 * path-concat.c: Declare strdup only if it's not defined. | |
890 * canon-host.c: Likewise. | |
891 | |
2445 | 892 2000-04-28 Jim Meyering <meyering@lucent.com> |
893 | |
894 * rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid | |
895 redefinition warning on some systems (HPUX). Otherwise, regex.h is | |
896 included first, then limits.h is included by locale.h by libintl.h. | |
897 From John David Anglin. | |
898 | |
2440 | 899 2000-04-25 Jim Meyering <meyering@lucent.com> |
900 | |
901 * makepath.c (S_IRWXUGO): Define. | |
902 (make_path): Always perform explicit chmod if MODE specifies any | |
2442 | 903 of the `special' permission bits. Prompted by a bug report against |
904 install from Mate Wierdl and Joost van Baal. | |
2440 | 905 |
2435 | 906 2000-04-18 Jim Meyering <meyering@lucent.com> |
907 | |
2440 | 908 * README: New file. |
909 | |
2435 | 910 * getpagesize.h [!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define |
911 getpagesize. For BeOS. Based on a patch from Bruno Haible. | |
912 | |
2431 | 913 2000-04-17 Jim Meyering <meyering@lucent.com> |
914 | |
915 * strftime.c (my_strftime) [strftime]: Declare strftime here, since | |
916 the definition of it to rpl_strftime also defined-away the system's | |
917 declaration. | |
918 | |
2427 | 919 2000-04-15 Jim Meyering <meyering@lucent.com> |
920 | |
921 Use `C' to denote so-called `contiguous' files, the same way | |
922 that tar does. | |
923 * filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define. | |
924 (ftypelet): Use S_ISCTG. | |
925 From Michael Deutschmann. | |
926 | |
927 2000-04-14 Jim Meyering <meyering@lucent.com> | |
928 | |
929 * strftime.c (my_strftime) [#ifdef strftime]: Declare strftime. | |
930 | |
2416 | 931 2000-04-08 Jim Meyering <meyering@lucent.com> |
932 | |
933 * Makefile.am (charset.alias): Use t-$@, not $@-t so the DOS 8.3 | |
934 names don't conflict. Reported by Eli Zaretskii. | |
935 | |
2413 | 936 2000-03-28 Bruno Haible <haible@clisp.cons.org> |
937 | |
938 * unicodeio.c (print_unicode_char): Avoid triggering Solaris iconv | |
2431 | 939 bug. Deal with the different error behavior of Irix iconv. |
2413 | 940 |
941 2000-04-07 Jim Meyering <meyering@lucent.com> | |
942 | |
943 * putenv.c: Move inclusion of errno.h so it follows that of sys/types.h, | |
944 to work around system header problems on AIX 3.2.5. From Bruno Haible. | |
945 | |
2406 | 946 2000-04-05 Jim Meyering <meyering@lucent.com> |
947 | |
948 Portability tweaks required for ultrix4.3. | |
949 * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent. | |
950 * readutmp.c: Include sys/types.h before sys/stat.h. | |
951 * canon-host.c: Declare strdup. | |
952 * path-concat.c: Likewise. | |
953 From John David Anglin. | |
954 | |
2397 | 955 2000-04-04 Jim Meyering <meyering@lucent.com> |
956 | |
957 Be more DOS 8.3-friendly. | |
958 * ref-add.sin: Renamed from ref-add.sed.in. | |
959 * ref-del.sin: Renamed from ref-del.sed.in. | |
960 * Makefile.am: Reflect renaming. | |
961 Reported by Eli Zaretskii. | |
962 | |
963 Use a temporary file name that won't clash with `charset.alias' | |
964 in the DOS 8.3 name space. | |
965 * Makefile.am (charset_tmp): Define. | |
966 (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t. | |
967 (uninstall-local): Likewise. | |
968 Reported by Eli Zaretskii. | |
969 | |
2379 | 970 2000-03-29 Paul Eggert <eggert@twinsun.com> |
971 | |
972 * time/strftime.c (my_strftime): Make sure we call the system | |
973 strftime, not ourselves, when invoking the underlying strftime. | |
974 | |
2364 | 975 2000-03-24 Jim Meyering <meyering@lucent.com> |
976 | |
977 * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in. | |
978 (charset_alias): Define. | |
979 (install-exec-local): Factor out common code. | |
980 (uninstall-local): Split lines longer than 80. | |
981 (ref-add.sed, ref-del.sed): Remove rules... (do the following instead) | |
982 (SUFFIXES): Define. | |
983 (.sed.in.sed): New rule. Don't redirect directly to $@. | |
984 (CLEANFILES): Add ref-add.sed and ref-del.sed. | |
985 | |
986 2000-03-19 Bruno Haible <haible@clisp.cons.org> | |
987 | |
988 * config.charset: Output a line containing "Packages using this file". | |
989 * ref-add.sed.in, ref-del.sed.in: New files. | |
990 * Makefile.am (install-exec-local, uninstall-local, ref-add.sed, | |
991 ref-del.sed): New rules. | |
992 | |
2353 | 993 2000-03-17 Jim Meyering <meyering@lucent.com> |
994 | |
995 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H. | |
996 Otherwise, include <strings.h> | |
997 | |
998 2000-03-17 Bruno Haible <haible@clisp.cons.org> | |
999 | |
1000 * unicodeio.c (utf8_wctomb): New function. | |
1001 (print_unicode_char): Pass the Unicode character to iconv in UTF-8 | |
1002 format instead of in UCS-4 with platform dependent endianness. | |
1003 | |
2343 | 1004 2000-03-07 Paul Eggert <eggert@twinsun.com> |
1005 | |
2583 | 1006 * savedir.c (savedir): Work even if directory size is |
2343 | 1007 negative; this can happen with some screwy NFS configurations. |
1008 | |
2348 | 1009 2000-03-06 Jim Meyering <meyering@lucent.com> |
1010 | |
1011 * localcharset.c (get_charset_aliases): Don't try to free file_name | |
1012 if it's NULL (because we ran out of memory). From Bruno Haible. | |
1013 | |
2337 | 1014 2000-03-05 Jim Meyering <meyering@lucent.com> |
1015 | |
2339 | 1016 * localcharset.c ("path-concat.h"): Include. |
1017 (get_charset_aliases): Use path_concat instead of ANSI string | |
1018 concatenation. | |
1019 | |
2337 | 1020 * unicodeio.h (PARAMS): Define. |
1021 Use it to guard prototype. | |
1022 | |
2330 | 1023 2000-03-04 Jim Meyering <meyering@lucent.com> |
1024 | |
2332 | 1025 * Makefile.am (install-exec-local): Create $(libdir) before installing |
1026 into it. | |
2334 | 1027 (uninstall-local): Uncomment this rule so `make distcheck' works |
1028 once again. | |
2332 | 1029 |
2330 | 1030 * unicodeio.c (<errno.h>): Include it. |
1031 (errno): Declare if not defined. | |
1032 | |
1033 * localcharset.c: Add Bruno's comment justifying use of volatile. | |
1034 | |
1035 * config.charset: New version, incorporating remarks from a linux | |
1036 i18n mailing list. From Bruno Haible. | |
1037 | |
1038 2000-03-02 Jim Meyering <meyering@lucent.com> | |
1039 | |
1040 * Makefile.am (EXTRA_DIST): Add config.charset. | |
1041 | |
2309 | 1042 2000-03-01 Jim Meyering <meyering@lucent.com> |
1043 | |
1044 * localcharset.c: Guard some #includes with `#if HAVE_...'. | |
1045 * unicodeio.c: Likewise. | |
1046 | |
1047 2000-02-02 Bruno Haible <haible@clisp.cons.org> | |
1048 | |
1049 * config.charset: New file. | |
1050 * localcharset.c: New file. | |
1051 * unicodeio.h, unicodeio.c: New files. | |
1052 * Makefile.am (DEFS): Add -DLIBDIR=... | |
1053 (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c. | |
1054 (noinst_HEADERS): Add unicodeio.h. | |
1055 (all-local, install-exec-local, charset.alias): New targets. | |
1056 | |
2300 | 1057 2000-02-28 Paul Eggert <eggert@twinsun.com> |
1058 | |
2583 | 1059 * quotearg.c (ALERT_CHAR): New macro. |
2300 | 1060 (quotearg_buffer_restyled): Use it. |
1061 | |
2285 | 1062 2000-02-27 Jim Meyering <meyering@lucent.com> |
1063 | |
2298 | 1064 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/. |
1065 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'. | |
1066 | |
2295 | 1067 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', |
1068 not `#if STDC_HEADERS'. | |
1069 Declare malloc if needed. | |
1070 | |
2290 | 1071 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' |
1072 now that autoconf always defines the HAVE_DECL_ symbols. | |
1073 * human.c: Likewise. | |
1074 * same.c: Likewise. | |
1075 * strtoumax.c: Likewise. | |
1076 | |
1077 * backupfile.c: Arrange for cpp to fail if the configure-time | |
1078 declaration check was not run. | |
1079 * hash.c: Likewise. | |
1080 * human.c: Likewise. | |
1081 * same.c: Likewise. | |
1082 * strtoumax.c: Likewise. | |
1083 | |
2285 | 1084 * userspec.c (parse_user_spec): If there is no `:' but there is a `.', |
1085 then first look up the entire `.'-containing string as a login name. | |
1086 | |
2286 | 1087 2000-02-18 Paul Eggert <eggert@twinsun.com> |
1088 | |
2583 | 1089 * getdate.y: Handle two-digit years with leading zeros correctly. |
2286 | 1090 (textint): New typedef. |
1091 (parser_control): Member year changed from int to textint. | |
1092 All uses changed. | |
1093 (YYSTYPE): Removed; replaced by %union with int and textint members. | |
1094 (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN, | |
1095 tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER, | |
1096 tYEAR_UNIT, tZONE, o_merid): Now of type <intval>. | |
1097 (tSNUMBER, tUNUMBER): Now of type <textintval>. | |
1098 (date, number, to_year): Use width of number in digits, not its value, | |
1099 to determine whether it's a 2-digit year, or a 2-digit time. | |
1100 (yylex): Store number of digits of numeric tokens. | |
1101 Reported by John Kendall. | |
1102 | |
1103 (parser_control): Changed from struct parser_control to typedef (for | |
1104 consistency). All uses changed. | |
1105 | |
1106 (tID): Removed; not used. | |
1107 (yylex): Return '?' for unknown identifiers, rather than (unused) tID. | |
1108 | |
2278 | 1109 2000-02-14 Paul Eggert <eggert@twinsun.com> |
1110 | |
2583 | 1111 * getpagesize.h (getpagesize): Port to VMS for Alpha; |
2279 | 1112 adapted from changes to grep getpagesize.h by Martin P.J. Zinser. |
2278 | 1113 |
2274 | 1114 2000-02-12 Jim Meyering <meyering@lucent.com> |
1115 | |
1116 * userspec.c (ISDIGIT): Define it. | |
1117 (isdigit): Remove definition. | |
1118 (is_number): Use ISDIGIT, not isdigit. | |
1119 <libintl.h>: Include. | |
1120 (_ and N_): Define. | |
1121 (parse_user_spec): Mark translatable strings. | |
1122 | |
2268 | 1123 2000-02-10 Jim Meyering <meyering@lucent.com> |
1124 | |
1125 With these changes, nanosleep.[ch] are finally enough like the other | |
1126 lib/* replacement files to compile on a few more losing systems. | |
1127 | |
1128 * nanosleep.h: Don't include config.h. | |
1129 Remove prototype from declaration of nanosleep. | |
1130 (PARAMS): Remove now-unneeded definition. | |
1131 * nanosleep.c: #undef nanosleep. | |
1132 (rpl_nanosleep): Rename from nanosleep. | |
1133 | |
2245 | 1134 2000-02-03 Jim Meyering <meyering@lucent.com> |
1135 | |
1136 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', | |
1137 rather than with `#if HAVE_UTMPNAME'. | |
1138 | |
1139 2000-02-01 Jim Meyering <meyering@lucent.com> | |
1140 | |
1141 * readutmp.h (UT_USER): Add parens. From Andreas Schwab. | |
1142 | |
2235 | 1143 2000-01-31 Jim Meyering <meyering@lucent.com> |
1144 | |
2240 | 1145 * nanosleep.h (nanosleep): Guard declaration with |
1146 `#if ! HAVE_DECL_NANOSLEEP'. | |
2275 | 1147 Without this, OFS gets a redeclaration error for rpl_nanosleep, due to |
2240 | 1148 the declaration in that vendor's sys/timers.h. |
1149 Reported by Christian Krackowizer. | |
1150 | |
2235 | 1151 * quotearg.c (ISASCII): Add #undef and move definition to follow |
1152 inclusion of wctype.h to work around solaris2.6 namespace pollution. | |
1153 (ISPRINT): Likewise. | |
2236 | 1154 Reported by Tom Tromey. |
2235 | 1155 |
2228 | 1156 2000-01-30 Jim Meyering <meyering@lucent.com> |
1157 | |
1158 * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding | |
1159 uses of ->ut_name. The latter doesn't work with new Linux header files | |
1160 where only utmpx.ut_user is declared. | |
1161 | |
1162 * readutmp.h (UT_USER): Define. | |
1163 | |
2193 | 1164 2000-01-23 Jim Meyering <meyering@lucent.com> |
1165 | |
1166 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of | |
1167 obstack.c. | |
1168 | |
2163 | 1169 2000-01-22 Jim Meyering <meyering@lucent.com> |
2188 | 1170 |
1171 * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul. | |
1172 [! HAVE_DECL_STRTOULL]: Declare strtoull. | |
1173 Required for some AIX systems. Reported by Christian Krackowizer. | |
1174 [TESTING] (main): New function. | |
1175 | |
2172 | 1176 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il> |
1177 * dirname.c (dir_name): Support for DOS-style file names with drive | |
1178 letters. | |
2163 | 1179 |
2185 | 1180 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint. |
2184 | 1181 |
2163 | 1182 * strverscmp.c (ISDIGIT): Define. |
1183 (strverscmp): Use ISDIGIT, not isdigit. | |
1184 | |
2152 | 1185 2000-01-17 Paul Eggert <eggert@twinsun.com> |
1186 | |
1187 * nanosleep.c (nanosleep): | |
1188 Don't use SA_INTERRUPT to decide whether to call sigaction, as | |
1189 POSIX.1 doesn't require SA_INTERRUPT and some systems | |
1190 (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; | |
1191 it's been part of POSIX.1 since day 1 (in 1988). | |
1192 | |
2150 | 1193 2000-01-17 Jim Meyering <meyering@lucent.com> |
1194 | |
1195 * interlock: Remove unused file. Reported by Fran�ois Pinard. | |
1196 | |
2144 | 1197 2000-01-16 Paul Eggert <eggert@twinsun.com> |
1198 | |
2583 | 1199 * quotearg.c (quotearg_buffer_restyled): Do not quote |
2144 | 1200 alert, backslash, formfeed, and vertical tab unnecessarily in |
1201 shell quoting style. | |
2190 | 1202 |
1203 Local Variables: | |
1204 version-control: never | |
1205 End: |