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