517 Commits

Author SHA1 Message Date
Sam Hocevar
d71c060363 Improve zzcat's manual page. Fixes #75. 2010-01-15 21:14:48 +00:00
Sam Hocevar
f4d4744684 Fix zzcat's -s flag. It must propagate to the next file. 2010-01-15 21:14:39 +00:00
Sam Hocevar
ac372df746 Rename check-flag-# tests to check-zzuf-#-#### with the option's long name,
to avoid problems with case-insensitive filesystems.
2010-01-15 17:03:39 +00:00
Sam Hocevar
76f1c8b664 Implement zzcat -s (squeeze empty lines). 2010-01-15 00:17:03 +00:00
Sam Hocevar
e74e0aacc8 Implement zzcat -b and -n. Fixes #74. 2010-01-14 00:27:03 +00:00
Sam Hocevar
cfbc0415be Avoid leading zeroes in the unit tests' initial random seed. 2010-01-14 00:26:52 +00:00
Sam Hocevar
eaf40002d5 Rename check-memory to check-flag-M and check-rng to check-flag-r. 2010-01-14 00:26:46 +00:00
Sam Hocevar
311692ae3c Add a check-flag-f test. 2010-01-14 00:26:35 +00:00
Sam Hocevar
0a82c5a740 Add a check-flag-A test and rename check-md5 to check-flag-m. 2010-01-14 00:26:21 +00:00
Sam Hocevar
bbd8f065d8 Add informative messages about why we exit the main loop. 2010-01-13 01:16:32 +00:00
Sam Hocevar
1cdf594c54 Rename -t/--max-time to -U/--max-usertime, and add -t/--max-time to
roughly mean "maximum zzuf run time". Fixes bug #45.
2010-01-13 01:09:30 +00:00
Sam Hocevar
7c57c81b92 Add CONNECT_USES_STRUCT_SOCKADDR to msvc/config.h. 2010-01-13 01:09:19 +00:00
Sam Hocevar
647967d366 On HP-UX, connect(), bind() etc. do not use the struct sockaddr type but
use a void pointer instead. Check for that at configure time.
2010-01-13 00:11:14 +00:00
Sam Hocevar
7e045d886e Fix check-build on platforms without sh's pushd/popd or grep's \<\>. 2010-01-12 23:54:49 +00:00
Sam Hocevar
9301ff6a2d Fix the OpenBSD port. On this platform, weird stuff happens such as
fseek() calling fseeko(). Fortunately, we already have the mechanisms
for those situations.
2010-01-12 23:54:43 +00:00
Sam Hocevar
92c8464db2 Minor zzcat refactoring. 2010-01-12 23:54:38 +00:00
Sam Hocevar
d02d599a1b Add a workaround for OS X ignoring RLIMIT_RSS / RLIMIT_AS and getrusage()
not filling in RSS information. After each memory allocation, we ask the
Mach for the RSS value.
2010-01-12 23:54:31 +00:00
Sam Hocevar
920ba80caa Fix fork() return value check. 2010-01-12 23:54:25 +00:00
Sam Hocevar
e88488fcf0 Properly compute SONAME using libtool variables. 2010-01-12 23:54:20 +00:00
Sam Hocevar
4a860d6be8 Improve the default zzcat sequence to improve performance. 2010-01-12 23:54:15 +00:00
Sam Hocevar
66da2fdd51 Support cat's -AeEtTv flags in zzcat. 2010-01-12 23:54:09 +00:00
Sam Hocevar
a3161049df Fix copyright information and remove Id tag everywhere. 2010-01-12 23:54:02 +00:00
Sam Hocevar
550abdd84b Reduce the number of hardcoded figures in check-utils. 2010-01-12 23:53:56 +00:00
Sam Hocevar
6c35b0a4e1 Fix compilation warning in lib-fd.c. 2010-01-12 23:53:50 +00:00
Sam Hocevar
2999267319 Minor cosmetic change in the verbose debug output. 2010-01-12 23:53:43 +00:00
Sam Hocevar
66223df9e6 Fix the FreeBSD port by not fuzzing the __srget() output unless it's called
directly.
2010-01-12 23:53:38 +00:00
Sam Hocevar
31ae813b8d Reorganise FILE structure autoconf tests. 2010-01-12 23:53:30 +00:00
Sam Hocevar
47e539f59d In the unit test phase, only launch sequences with functions we support. 2010-01-12 23:53:24 +00:00
Sam Hocevar
638dc792a8 Improve zzcat documentation and add commandline flags, including --help
and --version.
2010-01-12 23:53:18 +00:00
Sam Hocevar
727b36b889 Move zzcat to the main src/ directory. It's becoming mature enough to be
distributed.
2010-01-12 23:53:09 +00:00
Sam Hocevar
ecfba2614e Distribute zzcat and start writing documentation for it. 2010-01-08 01:28:02 +00:00
Sam Hocevar
75c6d6f71e Fix compilation warnings on FreeBSD. 2010-01-08 01:17:23 +00:00
Sam Hocevar
bd393a72e1 Fix typos in configure.ac. 2010-01-08 01:17:17 +00:00
Sam Hocevar
5a9af3e183 Try to fix FILE structure data on FreeBSD. 2010-01-08 01:06:18 +00:00
Sam Hocevar
23f4274f85 Implement feof(x) in zzcat, to break out of a loop after EOF was hit x times. 2010-01-08 00:48:33 +00:00
Sam Hocevar
0977f25944 Deprecate --deny <list> in favour of --allow !<list>. 2010-01-08 00:48:27 +00:00
Sam Hocevar
6e99bbbecb Fix compilation warning due to kfreebsd’s fcntl.h defining FREAD. 2010-01-08 00:48:21 +00:00
Sam Hocevar
d21bc2cedc File descriptors 0 to 2 may be network sockets, don’t rule them out. 2010-01-08 00:48:12 +00:00
Sam Hocevar
0d86e64a19 Generate manual pages, so we can put the version number in them. 2010-01-06 22:46:49 +00:00
Sam Hocevar
45764eb21f Add a special section in the testsuite for regressions. 2010-01-06 02:00:49 +00:00
Sam Hocevar
9e50361057 Fix a bug caused by our seek() not understanding eglibc's behaviour. 2010-01-06 02:00:41 +00:00
Sam Hocevar
999a018e68 Fix an overflow in our printf's NULL handling with %p. 2010-01-06 00:48:47 +00:00
Sam Hocevar
f6b1f32eba Make seek() debug information more user-friendly. 2010-01-06 00:35:49 +00:00
Sam Hocevar
733920214c Avoid useless allocations in the network allow/deny code. 2010-01-04 23:59:14 +00:00
Sam Hocevar
509f293a99 getline() and getdelim() must return -1 if EOF was reached and no bytes
were read.
2009-12-20 12:25:02 +00:00
Sam Hocevar
d33737d585 Try to call _zz_init() as soon as possible. Otherwise, preloaded libraries
might be confused about half the calls actually working.
2009-12-20 12:24:56 +00:00
Sam Hocevar
c4bcc65505 Buffer debug output to reduce the number of write() calls and allow to
output information that was logged before the library was initialised.
2009-12-20 12:24:50 +00:00
Sam Hocevar
2f05014c09 Avoid overlapping regions in our realloc's memcpy call. 2009-12-20 12:24:41 +00:00
Sam Hocevar
36d0ed7e57 Synchronise VS 2010 solution with [4112]. 2009-12-16 16:15:40 +00:00
Sam Hocevar
b93cc3838d Make the check-utils output slightly clearer. 2009-12-14 16:10:15 +00:00