Commit Graph
23538 Commits
Author SHA1 Message Date
Paul Eggert cfbf64e087 Undo latest change; I was confused about gettext versus gcc. 2006-08-10 22:53:24 +00:00
Paul Eggert 16d5b9133a Undo latest change; I was confused about xgettext versus gcc. 2006-08-10 22:52:57 +00:00
Paul Eggert c84d9ff0d1 Adjust some files for gettext 0.15. 2006-08-10 22:51:06 +00:00
Paul Eggert 9d302e0729 Import from gettext 0.15. 2006-08-10 22:50:40 +00:00
Paul Eggert fa2b1fe3bc (XGETTEXT_OPTIONS): Add pass-c-format flags for
_ and N_, so that we get format checking even when --enable-nls.
Add c-format flags for error, error_at_line, asprintf, vasprintf,
asnprintf, vasnprintf, wrapf.
(USE_MSGCTXT): New macro.
2006-08-10 22:50:17 +00:00
Paul Eggert ead8494d04 (my-distcheck): Don't bother with --disable-nls,
as it shouldn't be needed with gettext 0.15.
2006-08-10 22:49:50 +00:00
Paul Eggert 023d6ad752 (AM_GNU_GETTEXT_VERSION): Update from 0.13.1 to 0.15. 2006-08-10 22:49:26 +00:00
Paul Eggert 8397326569 Import from gettext 0.15 2006-08-10 22:49:06 +00:00
Paul Eggert f073139b52 (struct control): Remove fastmap member.
(extract_regexp): Allocate fastmap separately, since otherwise
it might move due to a realloc.
2006-08-10 20:53:32 +00:00
Paul Eggert 4a16cc52e0 Import regex changes from libc via gnulib. 2006-08-10 20:49:28 +00:00
Paul Eggert 037836e29f Update cycle-check from gnulib. 2006-08-10 19:26:39 +00:00
Paul Eggert 2869cbffcf Accommodate new getaddrinfo implementation in gnulib.
(gl_PREREQ): Require gl_FUNC_SNPRINTF, gl_GETADDRINFO,
gl_HEADER_ARPA_INET, gl_HEADER_NETINET_IN, gl_HEADER_SYS_SOCKET,
gl_INET_NTOP, gl_TYPE_SOCKEN_T.
2006-08-10 19:10:52 +00:00
Paul Eggert 9afbf11b76 Accommodate new getaddrinfo implementation in gnulib.
(libcoreutils_a_SOURCES): Add inet_ntop.h, snprintf.h.
(MOSTLYCLEANDIRS): New macro.
(BUILT_SOURCES): Add $(ARPA_INET_H), $(SYS_SOCKET_H), $(NETINET_IN_H).
(arpa/inet.h, netinet/in.h, sys/socket.h): New rules.
(MOSTLYCLEANFILES): Add arpa/inet.h, arpa/inet.h-t, netinet/in.h,
netinet/in.h-t, sys/socket.h, sys/socket.h-t.
(EXTRA_DIST): Add socket_.h.
2006-08-10 19:10:26 +00:00
Paul Eggert ffafcd2998 Import from gnulib, to support new getaddrinfo implementation of gnulib. 2006-08-10 19:09:33 +00:00
Paul Eggert 01dddfef2a Add snprintf.h, socket_.h. 2006-08-10 19:08:58 +00:00
Jim Meyering db7ffe5582 * tests/ls/stat-dtype: If "." is tmpfs, skip this test unless uname -s
reports "Linux".  This avoids a failure on Solaris 10's tmpfs.
Redirect both stdout and stderr of df invocations.
2006-08-10 09:22:33 +00:00
Jim Meyering 6d1d2c0068 * src/dircolors.hin: Add a TERM directive for each of the following:
ansi, color-xterm, gnome, konsole, kterm, rxvt-cygwin,
rxvt-cygwin-native, screen.linux, xterm-256color.
Sort the TERM directives.
From Mike Frysinger.
2006-08-10 08:50:37 +00:00
Jim Meyering 407ff38d94 add a comment 2006-08-10 08:25:03 +00:00
Paul Eggert ade68b234a Regenerate. 2006-08-09 23:46:10 +00:00
Paul Eggert 8c0eb21023 Regenerate. 2006-08-09 23:44:56 +00:00
Paul Eggert decc2e1f87 Sync from gnulib. 2006-08-09 23:44:30 +00:00
Paul Eggert 93f90065f3 Sync from gnulib. 2006-08-09 23:42:26 +00:00
Paul Eggert d24265f965 Warn about oflag=append without conv=notrunc. 2006-08-09 21:16:28 +00:00
Paul Eggert 433a1eac7f Add mlterm, rxvt-unicode; this fixes Debian bug 317503. 2006-08-09 20:56:15 +00:00
Paul Eggert acaeed035b Regenerate. 2006-08-09 20:24:38 +00:00
Paul Eggert 4e9733c2e1 Regenerate. 2006-08-09 20:23:36 +00:00
Paul Eggert 4cf3358407 Add shuf. 2006-08-09 20:23:07 +00:00
Paul Eggert 15c54c0b83 * LINGUAS: Add ro, sr, uk, wa.
* ro.po, sr.po, uk,po, wa.po: New files.
Regenerate other translations.
2006-08-09 20:11:12 +00:00
Paul Eggert 87bfb896c6 Remove the po-update procedure; it doesn't
work with the new repository on http://www.iro.umontreal.ca/.
For now I guess we'll have to fix things by hand.
(do-po-update, po-update): Remove.  All references removed.
2006-08-09 20:06:14 +00:00
Paul Eggert 4ab47a295f Fix too-long line in 2006-08-08 checkin, and an encoding error
in 2006-07-19 checkin.
2006-08-09 20:05:18 +00:00
Paul Eggert adcb60e9d8 (my-distcheck): Compile with -Wpointer-arith
to detect this sort of problem automatically in the future.
2006-08-09 18:08:06 +00:00
Paul Eggert b1a2656bdb (next_line): New function.
(read_input): Use it, to avoid relying on GCC-specific behavior
with void * arithmetic.
2006-08-09 18:07:43 +00:00
Jim Meyering a5e7cc0811 Add a compile-time check to ensure that filetype
and filetype_letter have the same number of elements.
2006-08-09 09:45:17 +00:00
Jim Meyering ff7f318ae1 Remove use of --seed=S. 2006-08-09 08:24:37 +00:00
Jim Meyering aa4f6c56c7 Include <config.h>. 2006-08-09 08:13:36 +00:00
Jim Meyering a402cb33ba Add lib/randread.c, lib/xmemxfrm.c, and src/shuf.c. 2006-08-09 08:12:27 +00:00
Paul Eggert 5e56a8e861 Fix typo in latest changelog entry: restrict.m4 wasn't logged right. 2006-08-08 22:41:15 +00:00
Paul Eggert dc64059426 Add shuf, better random number generation, and fix sort -R in
funny locales.
2006-08-08 22:28:00 +00:00
Paul Eggert cd321e4660 Remove, since we no longer need gl_RESTRICT. 2006-08-08 22:26:44 +00:00
Paul Eggert 7c4b2e2a5c Remove; its contents are now in ../lib/rand-isaac.c. 2006-08-08 22:23:11 +00:00
Paul Eggert 73742c2566 New file, introduced for shuf, sort -R, and/or shred. 2006-08-08 22:22:47 +00:00
Paul Eggert f2f8ea1001 (TESTS): Add shuf. 2006-08-08 22:20:59 +00:00
Paul Eggert f8abf03c3f Use new random-number interface rather than rand-isaac.c.
Don't include rand-isaac.c; include randint.h and randread.h instead.
(RANDOM_SOURCE_OPTION): New enum.
(long_opts, usage, main): New option --random-source.
Include md5.h, randread.h, xmemxfrm.h.
(longopts, usage, main): Remove undocumented --seed option;
it's now replaced by --random-source.
(rand_state, get_hash): Remove.
(randread_source): New static var.
(random_state, cmp_hashes, compare_random): New functions; they guarantee
no collisions in the random hash function.
(keycompare): Use compare_random for -R; don't fall back on comparing
via memcoll, since compare_random does the right thing.
2006-08-08 22:20:12 +00:00
Paul Eggert 65533e1b09 Use new random-number interface rather than rand-isaac.c.
Don't include rand-isaac.c; include randint.h and randread.h instead.
(RANDOM_SOURCE_OPTION): New enum.
(long_opts, usage, main): New option --random-source.
(struct irand_state, irand_init, irand32, irand_mod): Remove.
All callers changed to use randint interface.
(fillrand): Remove.  All callers changed to use randread interface.
(dopass): Remove dependency on ISAAC buffer size.
(genpattern): Don't wipe the random state here.
(randint_source): New static var.
(clear_random_data): New function.
(main): Allocate random source, and arrange to wipe it on exit.
2006-08-08 22:19:39 +00:00
Paul Eggert 129e7756b9 (bin_PROGRAMS): Add shuf.
(EXTRA_DIST): Remove rand-isaac.c.
(shuf_LDADD): New macro.
2006-08-08 22:19:03 +00:00
Paul Eggert 8cfbf68782 (dist_man_MANS): Add shuf.1.
(shuf.1): New dependency.
2006-08-08 22:18:39 +00:00
Paul Eggert c678c40671 Add shuf.1. 2006-08-08 22:18:20 +00:00
Paul Eggert 36ed13bc2f (gl_TIME_R): Use AC_C_RESTRICT, not
gl_C_RESTRICT, since we assume recent Autoconf.
2006-08-08 22:17:56 +00:00
Paul Eggert 14f6099f6e (gl_PREREQ_REGEX): Use AC_C_RESTRICT, not gl_C_RESTRICT, since we
assume recent Autoconf.
2006-08-08 22:17:20 +00:00
Paul Eggert 2409478e37 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
gl_RANDREAD.
2006-08-08 22:16:51 +00:00