2659
|
1 2000-06-26 Paul Eggert <eggert@twinsun.com> |
|
2 |
|
3 savedir now sets errno on failure and invokes xmalloc to get memory. |
|
4 Fix a couple of other minor bugs while we're at it. |
|
5 |
|
6 * savedir.c (<unistd.h>): Do not include; there's no need. |
|
7 (NAMLEN): Remove macro. |
|
8 (malloc, realloc): Remove decls. |
|
9 (stpcpy): Likewise. |
|
10 ("xalloc.h"): Include. |
|
11 (NAME_SIZE_DEFAULT): New macro. |
|
12 (savedir): Use xmalloc / xrealloc to allocate memory. |
|
13 Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero. |
|
14 Skip "" directory entries. |
|
15 Use strlen to calculate directory entry length, since the old method |
|
16 is rarely used these days and isn't worth supporting. |
|
17 Don't use a pointer after freeing it. |
|
18 Check for integer overflow when calculating allocation size. |
|
19 Use memcpy to copy entries, instead of stpcpy. |
|
20 Set errno properly when returning NULL. |
|
21 Check for readdir error. |
|
22 |
2657
|
23 2000-06-26 Jim Meyering <meyering@lucent.com> |
|
24 |
|
25 * posixtm.c [HAVE_STDLIB_H]: Include stdlib.h, for decl of abort. |
|
26 |
2655
|
27 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
|
28 |
|
29 * getusershell.c (xmalloc, xrealloc): Remove functions. |
|
30 Include xalloc.h. |
|
31 Don't include <stdlib.h>. Don't declare malloc, realloc. |
|
32 |
2651
|
33 2000-06-23 Bruno Haible <haible@clisp.cons.org> |
|
34 |
|
35 * unicodeio.c (print_unicode_char): Work around ansi2knr deficiency. |
|
36 |
2644
|
37 2000-06-24 Jim Meyering <meyering@lucent.com> |
|
38 |
|
39 * error.c [!HAVE_DECL_STRERROR_R]: Declare strerror_r. |
|
40 |
2636
|
41 2000-06-21 Jim Meyering <meyering@lucent.com> |
|
42 |
|
43 * getpass.c: New file, from Bruno Haible. Required for BeOS. |
|
44 |
2640
|
45 2000-06-19 Paul Eggert <eggert@twinsun.com> |
|
46 |
|
47 * quotearg.c: Include <wctype.h> after <wchar.h>, for Solaris 2.5. |
|
48 (mbrtowc, mbstate_t): Define substitutes if |
|
49 HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT. |
|
50 (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT, |
|
51 not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H). |
|
52 |
2628
|
53 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
|
54 |
|
55 * xgetcwd.c (xgetcwd): If the required pathname length is smaller |
|
56 than 1024, return a memory chunk of least possible size, instead |
|
57 of size PATH_MAX + 2. In the loop, increment the size proportionally. |
|
58 Use free/xmalloc instead of xrealloc to avoid copying for very long |
|
59 paths. |
|
60 |
2626
|
61 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
|
62 |
|
63 * canon-host.c (canon_host): Use malloc and memcpy to copy an |
|
64 address, not strdup. Include <stdlib.h> and don't declare free(). |
|
65 |
2624
|
66 2000-06-17 Bruno Haible <haible@clisp.cons.org> |
|
67 |
|
68 * path-concat.c (path_concat): Don't access dir[-1] if dir is |
|
69 the empty string. |
|
70 |
2621
|
71 2000-06-21 Jim Meyering <meyering@lucent.com> |
|
72 |
|
73 * Makefile.am (libfetish_a_SOURCES): Add getstr.c. |
|
74 (noinst_HEADERS): Add getstr.h. |
|
75 |
|
76 * getline.c (getstr): Move into a separate file. |
|
77 * getstr.c (getstr): New file, extracted from getline.c, with |
|
78 the following changes: new parameter, delim2; both delim[12] |
|
79 parameters have type `int', not `char'. The latter would lose |
|
80 with 8-bit delimiters. |
|
81 * getstr.h: New file. |
|
82 |
2611
|
83 2000-06-19 Jim Meyering <meyering@lucent.com> |
|
84 |
|
85 * getloadavg.c [HAVE_NLIST_H] (NLIST_STRUCT): Define. |
|
86 |
2602
|
87 2000-06-18 Jim Meyering <meyering@lucent.com> |
|
88 |
2608
|
89 * mkdir.c: Remove file, due mainly to copyright incompatibility. |
|
90 Besides, these days every porting target provides a mkdir function. |
|
91 |
2606
|
92 * strnlen.c: Include memory.h, string.h, and/or strings.h as needed. |
|
93 (this snippet comes from src/system.h). |
|
94 |
2594
|
95 2000-06-15 Paul Eggert <eggert@twinsun.com> |
|
96 |
2640
|
97 * human.c (adjust_value): New function. |
2594
|
98 (human_readable_inexact): Apply rounding style even when |
|
99 printing approximate values. |
|
100 |
2591
|
101 2000-06-14 Paul Eggert <eggert@twinsun.com> |
|
102 |
2640
|
103 * human.c (human_readable_inexact): Allow an input block |
2591
|
104 size that is not a multiple of the output block size, and vice versa. |
2592
|
105 Reported by Piergiorgio Sartor. |
2591
|
106 |
2589
|
107 2000-06-14 Paul Eggert <eggert@twinsun.com> |
|
108 |
2640
|
109 * getdate.y (get_date): Apply relative times after time |
2589
|
110 zone indicator, not before. Reported by Todd A. Jacobs. |
|
111 |
2585
|
112 2000-06-13 Jim Meyering <meyering@lucent.com> |
|
113 |
2591
|
114 * Makefile.am (all-local): Depend on lstat.c and stat.c. |
|
115 |
2585
|
116 * xstat.in [!HAVE_DECL_FREE]: Declare free in lstat.c. |
|
117 |
2583
|
118 2000-06-12 Paul Eggert <eggert@twinsun.com> |
|
119 |
|
120 * xstat.in: Include <stdlib.h> in lstat, to declare "free". |
|
121 |
2575
|
122 2000-06-04 Paul Eggert <eggert@twinsun.com> |
|
123 |
2583
|
124 * strnlen.c: Include <config.h> if HAVE_CONFIG_H. |
2575
|
125 |
2573
|
126 2000-06-04 Jim Meyering <meyering@lucent.com> |
|
127 |
|
128 * getugroups.c (getugroups): Cast -1 to gid_t, for systems like |
|
129 SunOS4.1.4 for which gid_t is an unsigned type. |
|
130 |
2569
|
131 2000-06-03 Jim Meyering <meyering@lucent.com> |
|
132 |
|
133 * strnlen.c [!HAVE_DECL_MEMCHR]: Declare memchr. |
|
134 |
2559
|
135 2000-05-26 Bruno Haible <haible@clisp.cons.org> |
|
136 |
|
137 * Makefile.am (install-exec-local): On systems with glibc-2.1 or |
|
138 newer, don't install charset.alias. |
|
139 * config.charset: Change the Linux/glibc rules so they become empty |
|
140 on glibc-2.1 or newer. |
|
141 |
2554
|
142 2000-06-02 Jim Meyering <meyering@lucent.com> |
|
143 |
|
144 * mountlist.c: Back out last change. Instead, do this... |
|
145 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy |
|
146 member using the same `ignore'-testing code. |
|
147 * mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored |
|
148 fs_type strings. |
|
149 From Mark D. Roth. |
|
150 |
2549
|
151 2000-05-29 Jim Meyering <meyering@lucent.com> |
|
152 |
|
153 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts |
|
154 with the `ignore' attribute. Based on a patch from Mark D. Roth. |
|
155 |
2548
|
156 2000-05-22 Jim Meyering <meyering@lucent.com> |
|
157 |
|
158 * makepath.c: Remove old, now-unnecessary `#ifdef __MSDOS__' block. |
|
159 |
2525
|
160 2000-05-18 Jim Meyering <meyering@lucent.com> |
|
161 |
|
162 * hash.c (hash_rehash): Fix a nasty bug: copy the free entry list |
|
163 back, too, since it may have been modified by allocate_entry. |
|
164 (hash_delete): Rewrite to use neither the assignment operator |
|
165 nor the comma operator in an if-expression. |
|
166 |
2523
|
167 2000-05-15 Paul Eggert <eggert@twinsun.com> |
|
168 |
2583
|
169 * closeout.c: |
2523
|
170 <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO): |
|
171 Remove; no longer needed. |
|
172 "quotearg.h": Add include. |
|
173 (file_name): Do not bother to explicitly initialize to NULL; it's less |
|
174 efficient on some hosts. |
|
175 (close_stdout_status): Remove test as to whether stdout was already |
|
176 closed; it breaks for the case "echo x | sort >&-". |
|
177 Quote file name colons. |
|
178 Do not assume that _("write error") lacks format strings. |
|
179 |
2518
|
180 2000-05-15 Jim Meyering <meyering@lucent.com> |
|
181 |
|
182 * version-etc.c (version_etc_copyright): Update the copyright string |
|
183 used in all --version output. |
|
184 |
2521
|
185 2000-05-14 Jim Meyering <meyering@lucent.com> |
|
186 |
|
187 * closeout.c (close_stdout_set_file_name): New function. |
|
188 (close_stdout_status): Use new file-scoped global. |
|
189 Return right away if fstat says the stdout file descriptor is invalid. |
|
190 * closeout.h (close_stdout_set_file_name): Declare. |
|
191 |
2515
|
192 2000-05-10 Jim Meyering <meyering@lucent.com> |
|
193 |
|
194 * closeout.c [default_exit_status]: New file-scoped variable. |
|
195 (close_stdout_set_status): New function. |
|
196 * closeout.h (close_stdout_set_status): Declare. |
|
197 |
2508
|
198 2000-05-08 Jim Meyering <meyering@lucent.com> |
|
199 |
|
200 * long-options.c: Don't include closeout.h. |
|
201 (parse_long_options): Don't call close_stdout for --version. |
|
202 |
2499
|
203 2000-05-06 Jim Meyering <meyering@lucent.com> |
|
204 |
2504
|
205 * strnlen.c: Undefine __strnlen and strnlen. |
|
206 [!weak_alias]: Define __strnlen to strnlen. |
|
207 |
2499
|
208 * atexit.c: New file, from libiberty. |
|
209 |
|
210 2000-05-06 Jim Meyering <meyering@lucent.com> |
|
211 |
|
212 * closeout.c (close_stdout_status): Also check for errors on the |
|
213 stderr stream. |
|
214 |
2488
|
215 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
|
216 |
|
217 * localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy |
|
218 instead of xmalloc, xrealloc, path_concat. |
|
219 (locale_charset): Treat empty environment variables as absent. |
|
220 (DIRECTORY_SEPARATOR, ISSLASH): New macros. |
|
221 |
2467
|
222 2000-05-04 Jim Meyering <meyering@lucent.com> |
|
223 |
|
224 * getopt.c: Update from glibc. |
2478
|
225 * obstack.c: Likewise. |
|
226 * obstack.h: Likewise. |
2473
|
227 * regex.c: Likewise. NB: K&R compiler support is dropped for this file |
|
228 |
|
229 * regex.h: Likewise. |
2470
|
230 * strndup.c: Likewise. |
|
231 * strnlen.c: New file, from glibc. |
2467
|
232 |
2461
|
233 2000-05-01 Jim Meyering <meyering@lucent.com> |
|
234 |
|
235 * full-write.c (full_write): Remove `FIXME' part of comment. |
|
236 |
2447
|
237 2000-04-29 Jim Meyering <meyering@lucent.com> |
|
238 |
|
239 * path-concat.c: Declare strdup only if it's not defined. |
|
240 * canon-host.c: Likewise. |
|
241 |
2445
|
242 2000-04-28 Jim Meyering <meyering@lucent.com> |
|
243 |
|
244 * rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid |
|
245 redefinition warning on some systems (HPUX). Otherwise, regex.h is |
|
246 included first, then limits.h is included by locale.h by libintl.h. |
|
247 From John David Anglin. |
|
248 |
2440
|
249 2000-04-25 Jim Meyering <meyering@lucent.com> |
|
250 |
|
251 * makepath.c (S_IRWXUGO): Define. |
|
252 (make_path): Always perform explicit chmod if MODE specifies any |
2442
|
253 of the `special' permission bits. Prompted by a bug report against |
|
254 install from Mate Wierdl and Joost van Baal. |
2440
|
255 |
2435
|
256 2000-04-18 Jim Meyering <meyering@lucent.com> |
|
257 |
2440
|
258 * README: New file. |
|
259 |
2435
|
260 * getpagesize.h [!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define |
|
261 getpagesize. For BeOS. Based on a patch from Bruno Haible. |
|
262 |
2431
|
263 2000-04-17 Jim Meyering <meyering@lucent.com> |
|
264 |
|
265 * strftime.c (my_strftime) [strftime]: Declare strftime here, since |
|
266 the definition of it to rpl_strftime also defined-away the system's |
|
267 declaration. |
|
268 |
2427
|
269 2000-04-15 Jim Meyering <meyering@lucent.com> |
|
270 |
|
271 Use `C' to denote so-called `contiguous' files, the same way |
|
272 that tar does. |
|
273 * filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define. |
|
274 (ftypelet): Use S_ISCTG. |
|
275 From Michael Deutschmann. |
|
276 |
|
277 2000-04-14 Jim Meyering <meyering@lucent.com> |
|
278 |
|
279 * strftime.c (my_strftime) [#ifdef strftime]: Declare strftime. |
|
280 |
2416
|
281 2000-04-08 Jim Meyering <meyering@lucent.com> |
|
282 |
|
283 * Makefile.am (charset.alias): Use t-$@, not $@-t so the DOS 8.3 |
|
284 names don't conflict. Reported by Eli Zaretskii. |
|
285 |
2413
|
286 2000-03-28 Bruno Haible <haible@clisp.cons.org> |
|
287 |
|
288 * unicodeio.c (print_unicode_char): Avoid triggering Solaris iconv |
2431
|
289 bug. Deal with the different error behavior of Irix iconv. |
2413
|
290 |
|
291 2000-04-07 Jim Meyering <meyering@lucent.com> |
|
292 |
|
293 * putenv.c: Move inclusion of errno.h so it follows that of sys/types.h, |
|
294 to work around system header problems on AIX 3.2.5. From Bruno Haible. |
|
295 |
2406
|
296 2000-04-05 Jim Meyering <meyering@lucent.com> |
|
297 |
|
298 Portability tweaks required for ultrix4.3. |
|
299 * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent. |
|
300 * readutmp.c: Include sys/types.h before sys/stat.h. |
|
301 * canon-host.c: Declare strdup. |
|
302 * path-concat.c: Likewise. |
|
303 From John David Anglin. |
|
304 |
2397
|
305 2000-04-04 Jim Meyering <meyering@lucent.com> |
|
306 |
|
307 Be more DOS 8.3-friendly. |
|
308 * ref-add.sin: Renamed from ref-add.sed.in. |
|
309 * ref-del.sin: Renamed from ref-del.sed.in. |
|
310 * Makefile.am: Reflect renaming. |
|
311 Reported by Eli Zaretskii. |
|
312 |
|
313 Use a temporary file name that won't clash with `charset.alias' |
|
314 in the DOS 8.3 name space. |
|
315 * Makefile.am (charset_tmp): Define. |
|
316 (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t. |
|
317 (uninstall-local): Likewise. |
|
318 Reported by Eli Zaretskii. |
|
319 |
2379
|
320 2000-03-29 Paul Eggert <eggert@twinsun.com> |
|
321 |
|
322 * time/strftime.c (my_strftime): Make sure we call the system |
|
323 strftime, not ourselves, when invoking the underlying strftime. |
|
324 |
2364
|
325 2000-03-24 Jim Meyering <meyering@lucent.com> |
|
326 |
|
327 * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in. |
|
328 (charset_alias): Define. |
|
329 (install-exec-local): Factor out common code. |
|
330 (uninstall-local): Split lines longer than 80. |
|
331 (ref-add.sed, ref-del.sed): Remove rules... (do the following instead) |
|
332 (SUFFIXES): Define. |
|
333 (.sed.in.sed): New rule. Don't redirect directly to $@. |
|
334 (CLEANFILES): Add ref-add.sed and ref-del.sed. |
|
335 |
|
336 2000-03-19 Bruno Haible <haible@clisp.cons.org> |
|
337 |
|
338 * config.charset: Output a line containing "Packages using this file". |
|
339 * ref-add.sed.in, ref-del.sed.in: New files. |
|
340 * Makefile.am (install-exec-local, uninstall-local, ref-add.sed, |
|
341 ref-del.sed): New rules. |
|
342 |
2353
|
343 2000-03-17 Jim Meyering <meyering@lucent.com> |
|
344 |
|
345 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H. |
|
346 Otherwise, include <strings.h> |
|
347 |
|
348 2000-03-17 Bruno Haible <haible@clisp.cons.org> |
|
349 |
|
350 * unicodeio.c (utf8_wctomb): New function. |
|
351 (print_unicode_char): Pass the Unicode character to iconv in UTF-8 |
|
352 format instead of in UCS-4 with platform dependent endianness. |
|
353 |
2343
|
354 2000-03-07 Paul Eggert <eggert@twinsun.com> |
|
355 |
2583
|
356 * savedir.c (savedir): Work even if directory size is |
2343
|
357 negative; this can happen with some screwy NFS configurations. |
|
358 |
2348
|
359 2000-03-06 Jim Meyering <meyering@lucent.com> |
|
360 |
|
361 * localcharset.c (get_charset_aliases): Don't try to free file_name |
|
362 if it's NULL (because we ran out of memory). From Bruno Haible. |
|
363 |
2337
|
364 2000-03-05 Jim Meyering <meyering@lucent.com> |
|
365 |
2339
|
366 * localcharset.c ("path-concat.h"): Include. |
|
367 (get_charset_aliases): Use path_concat instead of ANSI string |
|
368 concatenation. |
|
369 |
2337
|
370 * unicodeio.h (PARAMS): Define. |
|
371 Use it to guard prototype. |
|
372 |
2330
|
373 2000-03-04 Jim Meyering <meyering@lucent.com> |
|
374 |
2332
|
375 * Makefile.am (install-exec-local): Create $(libdir) before installing |
|
376 into it. |
2334
|
377 (uninstall-local): Uncomment this rule so `make distcheck' works |
|
378 once again. |
2332
|
379 |
2330
|
380 * unicodeio.c (<errno.h>): Include it. |
|
381 (errno): Declare if not defined. |
|
382 |
|
383 * localcharset.c: Add Bruno's comment justifying use of volatile. |
|
384 |
|
385 * config.charset: New version, incorporating remarks from a linux |
|
386 i18n mailing list. From Bruno Haible. |
|
387 |
|
388 2000-03-02 Jim Meyering <meyering@lucent.com> |
|
389 |
|
390 * Makefile.am (EXTRA_DIST): Add config.charset. |
|
391 |
2309
|
392 2000-03-01 Jim Meyering <meyering@lucent.com> |
|
393 |
|
394 * localcharset.c: Guard some #includes with `#if HAVE_...'. |
|
395 * unicodeio.c: Likewise. |
|
396 |
|
397 2000-02-02 Bruno Haible <haible@clisp.cons.org> |
|
398 |
|
399 * config.charset: New file. |
|
400 * localcharset.c: New file. |
|
401 * unicodeio.h, unicodeio.c: New files. |
|
402 * Makefile.am (DEFS): Add -DLIBDIR=... |
|
403 (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c. |
|
404 (noinst_HEADERS): Add unicodeio.h. |
|
405 (all-local, install-exec-local, charset.alias): New targets. |
|
406 |
2300
|
407 2000-02-28 Paul Eggert <eggert@twinsun.com> |
|
408 |
2583
|
409 * quotearg.c (ALERT_CHAR): New macro. |
2300
|
410 (quotearg_buffer_restyled): Use it. |
|
411 |
2285
|
412 2000-02-27 Jim Meyering <meyering@lucent.com> |
|
413 |
2298
|
414 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/. |
|
415 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'. |
|
416 |
2295
|
417 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', |
|
418 not `#if STDC_HEADERS'. |
|
419 Declare malloc if needed. |
|
420 |
2290
|
421 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' |
|
422 now that autoconf always defines the HAVE_DECL_ symbols. |
|
423 * human.c: Likewise. |
|
424 * same.c: Likewise. |
|
425 * strtoumax.c: Likewise. |
|
426 |
|
427 * backupfile.c: Arrange for cpp to fail if the configure-time |
|
428 declaration check was not run. |
|
429 * hash.c: Likewise. |
|
430 * human.c: Likewise. |
|
431 * same.c: Likewise. |
|
432 * strtoumax.c: Likewise. |
|
433 |
2285
|
434 * userspec.c (parse_user_spec): If there is no `:' but there is a `.', |
|
435 then first look up the entire `.'-containing string as a login name. |
|
436 |
2286
|
437 2000-02-18 Paul Eggert <eggert@twinsun.com> |
|
438 |
2583
|
439 * getdate.y: Handle two-digit years with leading zeros correctly. |
2286
|
440 (textint): New typedef. |
|
441 (parser_control): Member year changed from int to textint. |
|
442 All uses changed. |
|
443 (YYSTYPE): Removed; replaced by %union with int and textint members. |
|
444 (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN, |
|
445 tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER, |
|
446 tYEAR_UNIT, tZONE, o_merid): Now of type <intval>. |
|
447 (tSNUMBER, tUNUMBER): Now of type <textintval>. |
|
448 (date, number, to_year): Use width of number in digits, not its value, |
|
449 to determine whether it's a 2-digit year, or a 2-digit time. |
|
450 (yylex): Store number of digits of numeric tokens. |
|
451 Reported by John Kendall. |
|
452 |
|
453 (parser_control): Changed from struct parser_control to typedef (for |
|
454 consistency). All uses changed. |
|
455 |
|
456 (tID): Removed; not used. |
|
457 (yylex): Return '?' for unknown identifiers, rather than (unused) tID. |
|
458 |
2278
|
459 2000-02-14 Paul Eggert <eggert@twinsun.com> |
|
460 |
2583
|
461 * getpagesize.h (getpagesize): Port to VMS for Alpha; |
2279
|
462 adapted from changes to grep getpagesize.h by Martin P.J. Zinser. |
2278
|
463 |
2274
|
464 2000-02-12 Jim Meyering <meyering@lucent.com> |
|
465 |
|
466 * userspec.c (ISDIGIT): Define it. |
|
467 (isdigit): Remove definition. |
|
468 (is_number): Use ISDIGIT, not isdigit. |
|
469 <libintl.h>: Include. |
|
470 (_ and N_): Define. |
|
471 (parse_user_spec): Mark translatable strings. |
|
472 |
2268
|
473 2000-02-10 Jim Meyering <meyering@lucent.com> |
|
474 |
|
475 With these changes, nanosleep.[ch] are finally enough like the other |
|
476 lib/* replacement files to compile on a few more losing systems. |
|
477 |
|
478 * nanosleep.h: Don't include config.h. |
|
479 Remove prototype from declaration of nanosleep. |
|
480 (PARAMS): Remove now-unneeded definition. |
|
481 * nanosleep.c: #undef nanosleep. |
|
482 (rpl_nanosleep): Rename from nanosleep. |
|
483 |
2245
|
484 2000-02-03 Jim Meyering <meyering@lucent.com> |
|
485 |
|
486 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', |
|
487 rather than with `#if HAVE_UTMPNAME'. |
|
488 |
|
489 2000-02-01 Jim Meyering <meyering@lucent.com> |
|
490 |
|
491 * readutmp.h (UT_USER): Add parens. From Andreas Schwab. |
|
492 |
2235
|
493 2000-01-31 Jim Meyering <meyering@lucent.com> |
|
494 |
2240
|
495 * nanosleep.h (nanosleep): Guard declaration with |
|
496 `#if ! HAVE_DECL_NANOSLEEP'. |
2275
|
497 Without this, OFS gets a redeclaration error for rpl_nanosleep, due to |
2240
|
498 the declaration in that vendor's sys/timers.h. |
|
499 Reported by Christian Krackowizer. |
|
500 |
2235
|
501 * quotearg.c (ISASCII): Add #undef and move definition to follow |
|
502 inclusion of wctype.h to work around solaris2.6 namespace pollution. |
|
503 (ISPRINT): Likewise. |
2236
|
504 Reported by Tom Tromey. |
2235
|
505 |
2228
|
506 2000-01-30 Jim Meyering <meyering@lucent.com> |
|
507 |
|
508 * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding |
|
509 uses of ->ut_name. The latter doesn't work with new Linux header files |
|
510 where only utmpx.ut_user is declared. |
|
511 |
|
512 * readutmp.h (UT_USER): Define. |
|
513 |
2193
|
514 2000-01-23 Jim Meyering <meyering@lucent.com> |
|
515 |
|
516 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of |
|
517 obstack.c. |
|
518 |
2163
|
519 2000-01-22 Jim Meyering <meyering@lucent.com> |
2188
|
520 |
|
521 * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul. |
|
522 [! HAVE_DECL_STRTOULL]: Declare strtoull. |
|
523 Required for some AIX systems. Reported by Christian Krackowizer. |
|
524 [TESTING] (main): New function. |
|
525 |
2172
|
526 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il> |
|
527 * dirname.c (dir_name): Support for DOS-style file names with drive |
|
528 letters. |
2163
|
529 |
2185
|
530 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint. |
2184
|
531 |
2163
|
532 * strverscmp.c (ISDIGIT): Define. |
|
533 (strverscmp): Use ISDIGIT, not isdigit. |
|
534 |
2152
|
535 2000-01-17 Paul Eggert <eggert@twinsun.com> |
|
536 |
|
537 * nanosleep.c (nanosleep): |
|
538 Don't use SA_INTERRUPT to decide whether to call sigaction, as |
|
539 POSIX.1 doesn't require SA_INTERRUPT and some systems |
|
540 (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; |
|
541 it's been part of POSIX.1 since day 1 (in 1988). |
|
542 |
2150
|
543 2000-01-17 Jim Meyering <meyering@lucent.com> |
|
544 |
|
545 * interlock: Remove unused file. Reported by Fran�ois Pinard. |
|
546 |
2144
|
547 2000-01-16 Paul Eggert <eggert@twinsun.com> |
|
548 |
2583
|
549 * quotearg.c (quotearg_buffer_restyled): Do not quote |
2144
|
550 alert, backslash, formfeed, and vertical tab unnecessarily in |
|
551 shell quoting style. |
2190
|
552 |
|
553 Local Variables: |
|
554 version-control: never |
|
555 End: |