commit 6a9d1cd4563f12d5efb35a960514f5be93bcb5fd Author: Sam Hocevar Date: Fri Jun 13 08:34:44 2008 +0000 * Finished the libzzuf manual page. commit 7aa513f96bf294ea752476ca7d0a3180586dca25 Author: sam Date: Tue Jun 10 16:21:22 2008 +0000 * Fix a crash in the realloc() wrapper occurring when dlsym() or dlopen() call realloc() with a NULL pointer. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2355 92316355-f0b4-4df1-b90c-862c8a59935f commit 7eaffe2cae8140a2a03c49dec92e66579ef06f94 Author: sam Date: Tue Jun 10 16:21:17 2008 +0000 * Do not try to free() on buffers that have been allocated with the real malloc, or we may crash unexpectedly, for instance if dlsym("free") calls malloc() then free() while free hasn't been loaded yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2354 92316355-f0b4-4df1-b90c-862c8a59935f commit 8447cd86b88e15420b33aca866253cafb24edf02 Author: sam Date: Tue Jun 10 16:21:11 2008 +0000 * Started writing a manual page for libzzuf. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2353 92316355-f0b4-4df1-b90c-862c8a59935f commit 7e89b65b0220025ce0de4832aebe9462254370e9 Author: sam Date: Mon May 19 11:25:05 2008 +0000 * Change -M to mean mebibytes instead of megabytes, because I'm a fucking pedant. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2345 92316355-f0b4-4df1-b90c-862c8a59935f commit 6fb1534dd3fb8a0aa70f002c69a335f8715df4a6 Author: sam Date: Mon May 19 11:25:01 2008 +0000 * Change -F to -j, to mimic make. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2344 92316355-f0b4-4df1-b90c-862c8a59935f commit 165cb3e1d88729e5e7c9b741d83a2d0a6b18918e Author: sam Date: Mon May 19 11:24:56 2008 +0000 * Allow to omit the right-hand side of the seed range, for indefinite fuzzing attempts. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2343 92316355-f0b4-4df1-b90c-862c8a59935f commit 17f520620875c356ef8fefa8643b51717cc9a338 Author: sam Date: Mon May 19 11:24:51 2008 +0000 * Clarify -C0 behaviour. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2342 92316355-f0b4-4df1-b90c-862c8a59935f commit 72a58bd7258b83ebdca6065a4159f713109d0d82 Author: sam Date: Mon May 19 11:24:46 2008 +0000 * Add SIGPIPE to the list of crashing signals. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2341 92316355-f0b4-4df1-b90c-862c8a59935f commit 0d13041f540a4825962cf2fce0ff63686b6749e7 Author: sam Date: Mon May 19 11:24:41 2008 +0000 * Fix an invalid cast on the Alpha architecture caused by sockaddr_in* having larger alignment requirements than sockaddr*. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2340 92316355-f0b4-4df1-b90c-862c8a59935f commit d8cdd907bbb6d0b45fa0303401378c4dccfe9dfd Author: sam Date: Sun May 18 19:56:52 2008 +0000 * Version 0.11. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2338 92316355-f0b4-4df1-b90c-862c8a59935f commit 8a012199697a3ea4a97b88c44de199be5b9b2b47 Author: sam Date: Sun May 18 19:56:48 2008 +0000 * Minor memory and speed optimisation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2337 92316355-f0b4-4df1-b90c-862c8a59935f commit 55d6b282fe64d620c78b8758e02ad0ba394c4ae1 Author: sam Date: Sun May 18 18:13:45 2008 +0000 * Start working on the internal code documentation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2336 92316355-f0b4-4df1-b90c-862c8a59935f commit b23e6f6d1ffe319bab701461046ab1b16ac86d87 Author: sam Date: Sun May 18 12:38:37 2008 +0000 * Don't use `--' in the testsuite, it is no longer understood. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2335 92316355-f0b4-4df1-b90c-862c8a59935f commit 6878caf0233304a9840890f4611841644d4c451b Author: sam Date: Sun May 18 12:38:32 2008 +0000 * Implement getchar() and getchar_unlocked(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2334 92316355-f0b4-4df1-b90c-862c8a59935f commit 2195331d79b1d0f13bd1a7d0ac3368e46eb5b68c Author: sam Date: Sun May 18 09:45:53 2008 +0000 * Minor changes: add quotes between launched program name, update copyright. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2333 92316355-f0b4-4df1-b90c-862c8a59935f commit 0310e6df18691d5cdf233ddd8705e81de34ce30c Author: sam Date: Sun May 18 09:45:48 2008 +0000 * Make sure the fgets_unlocked() reimplementation uses fgetc_unlocked(), not fgetc(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2332 92316355-f0b4-4df1-b90c-862c8a59935f commit 4f90c5cac54429a342cd3d89158c3ede9aa96a7a Author: sam Date: Sat May 17 23:10:47 2008 +0000 * Implement fgets_unlocked() and fread_unlocked(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2331 92316355-f0b4-4df1-b90c-862c8a59935f commit 366d3e34344bbc1ca7375911f37e2885c5a0c36b Author: sam Date: Sat May 17 23:10:41 2008 +0000 * Implement getc_unlocked() and fgetc_unlocked(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2330 92316355-f0b4-4df1-b90c-862c8a59935f commit 77696046ec0212a67e66fbcffc52480ea8fbe212 Author: sam Date: Sat May 17 13:40:45 2008 +0000 * Document the new command line parsing behaviour. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2328 92316355-f0b4-4df1-b90c-862c8a59935f commit fe0175caa122801c8bc52b125289e6ec953edacb Author: sam Date: Sat May 17 13:40:40 2008 +0000 * No longer require the "--" trick to separate zzuf's flags and the called program's. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2327 92316355-f0b4-4df1-b90c-862c8a59935f commit 173639a25168855517211031178d4c8ceda416b5 Author: sam Date: Fri May 16 22:01:18 2008 +0000 * Cosmetic: remove trailing spaces from the source code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2326 92316355-f0b4-4df1-b90c-862c8a59935f commit 85038d0d052fa2021440d33d36e24c460c4a8229 Author: sam Date: Fri May 16 22:01:11 2008 +0000 * Add statistical analysis to the testsuite to check our random number generator. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2325 92316355-f0b4-4df1-b90c-862c8a59935f commit 3a16d81e016363d774124358758799a578fa9cdf Author: sam Date: Fri May 16 22:01:07 2008 +0000 * Improve overall randomness. Now even close seeds have very different behaviours on which bits are flipped. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2324 92316355-f0b4-4df1-b90c-862c8a59935f commit ec33640c4c482a2516dad74e9167b160213505a1 Author: sam Date: Fri May 16 22:01:03 2008 +0000 * Update TODO. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2323 92316355-f0b4-4df1-b90c-862c8a59935f commit 598a079e5c5cad2ee24f49b6d6831e09be3189a7 Author: sam Date: Fri May 16 22:00:58 2008 +0000 * Update copyright and homepage in the manual page. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2322 92316355-f0b4-4df1-b90c-862c8a59935f commit 2fcd5443c4ae9410d253b6854e718d6b09618398 Author: sam Date: Sat Apr 26 12:24:57 2008 +0000 * Implement dup() and dup2(). They are needed for Debian's implementation of dd which otherwise causes the regression tests to fail. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2320 92316355-f0b4-4df1-b90c-862c8a59935f commit 167c4bd6a0d95be6dc517ccbb4bbc55b45ab62ca Author: sam Date: Sat Apr 26 11:30:45 2008 +0000 * Slightly updated the build system. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2319 92316355-f0b4-4df1-b90c-862c8a59935f commit afa62fb3427277fface10233dfbb74f447fd4e21 Author: sam Date: Sat Apr 12 07:44:34 2008 +0000 * Set minimal fuzzing ratio to 0.000000001% (less than one bit changed on a whole DVD). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2272 92316355-f0b4-4df1-b90c-862c8a59935f commit 154aeba35277db385d46a94330f696f2785b790e Author: sam Date: Wed Apr 9 09:49:16 2008 +0000 * Implement %g in the debug() format string. Incomplete but useful. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@2271 92316355-f0b4-4df1-b90c-862c8a59935f commit d362b379676d6fb028d1620ceed5e5991d2353ef Author: sam Date: Sat Nov 3 00:24:46 2007 +0000 * Version 0.10. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1867 92316355-f0b4-4df1-b90c-862c8a59935f commit c43c65bc41859913b7ed93dacd49d3d16cbbc1de Author: sam Date: Sat Nov 3 00:22:58 2007 +0000 * Link libzzuf with winsock because of our use of htons. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1866 92316355-f0b4-4df1-b90c-862c8a59935f commit 3a67614e84d77eda502fa99b97bf18c67e50fcea Author: sam Date: Sat Nov 3 00:14:40 2007 +0000 * Documentation updates. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1865 92316355-f0b4-4df1-b90c-862c8a59935f commit 5e4355d4f7b887b1b19e6ea648fbbfa98b29b85d Author: sam Date: Sat Nov 3 00:08:43 2007 +0000 * Do not fuzz non-IP network protocols. They’re too painful to fine-tune. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1864 92316355-f0b4-4df1-b90c-862c8a59935f commit 2b366b6aeb34fc47f6ef4dceb6a85fb5e541411d Author: sam Date: Fri Nov 2 23:34:22 2007 +0000 * Merged the bind() and connect() diversions using macros. They were almost identical. * Check the addrlen value to avoid crashing with weird protocols. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1863 92316355-f0b4-4df1-b90c-862c8a59935f commit f724eaddbc5935c45c66f665c2810a17242a22b0 Author: sam Date: Fri Nov 2 23:23:25 2007 +0000 * Divert connect() so that -p/--ports now works with outbound connections. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1862 92316355-f0b4-4df1-b90c-862c8a59935f commit 36a1d6d638e666c43d233668b5b4a322887e1f88 Author: sam Date: Fri Nov 2 23:22:11 2007 +0000 * Look for connect(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1861 92316355-f0b4-4df1-b90c-862c8a59935f commit 641fb3dfef07b1be67a3a2813ce95670db52feb7 Author: sam Date: Fri Nov 2 23:07:41 2007 +0000 * Updated documentation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1860 92316355-f0b4-4df1-b90c-862c8a59935f commit b6158f9d44b968f08e3cda0abd91e5f5b35d1336 Author: sam Date: Fri Nov 2 23:01:09 2007 +0000 * Fix a bug in the -p handling that made it opt-out instead of opt-in. * Don’t bother using AF_UNIX, it doesn’t have ports. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1859 92316355-f0b4-4df1-b90c-862c8a59935f commit a9af95e4e80ba477a0b08fd9f0c1b4f3040419d5 Author: sam Date: Fri Nov 2 22:45:54 2007 +0000 * Network destination port choosing with -p/--ports. * Renamed -p/--pick into -l/--list to avoid conflicts. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1858 92316355-f0b4-4df1-b90c-862c8a59935f commit b5ac0ce54cd7ab10062c23edb5844450f7a71be0 Author: sam Date: Fri Nov 2 21:50:08 2007 +0000 * Check for , it’s needed for struct sockaddr_in. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1857 92316355-f0b4-4df1-b90c-862c8a59935f commit ee8bae2f341cdf5155812858d0e01b444594ebe8 Author: sam Date: Fri Nov 2 21:40:38 2007 +0000 * Support %d, %ld and %lld in addition to %i etc. in debug(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1856 92316355-f0b4-4df1-b90c-862c8a59935f commit a30236149611e24259264a01e372d0878b4d268f Author: sam Date: Fri Nov 2 21:32:18 2007 +0000 * Log and divert bind() calls. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1855 92316355-f0b4-4df1-b90c-862c8a59935f commit a37583961ae5c6bab6d4d8b42cc5df19e050066c Author: sam Date: Fri Nov 2 21:16:57 2007 +0000 * Check for bind in the configure step. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1854 92316355-f0b4-4df1-b90c-862c8a59935f commit 8015cefe33b79545c06eede75c5b818f32ada822 Author: sam Date: Tue Jul 10 15:55:35 2007 +0000 * Version 0.9. For real, this time. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1804 92316355-f0b4-4df1-b90c-862c8a59935f commit 82109307cb1fd2798602fba824ce3d80d40a290a Author: sam Date: Tue Jul 10 15:42:37 2007 +0000 * Documented the new -T / --max-cpu flag. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1803 92316355-f0b4-4df1-b90c-862c8a59935f commit 84dd6b2f10b1d9661c63113e6a5bce20525ba940 Author: sam Date: Tue Jul 10 15:31:40 2007 +0000 * -M is megabytes, not bytes. Fixed --help output. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1802 92316355-f0b4-4df1-b90c-862c8a59935f commit ea7d338f1ccb0350bc143233f77f572bb3544170 Author: sam Date: Tue Jul 10 15:23:18 2007 +0000 * Implemented -T / --max-cpu for max CPU time limits. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1801 92316355-f0b4-4df1-b90c-862c8a59935f commit 48d7ef78d2e06445061eaaaabad7346f92db3198 Author: sam Date: Tue Jul 10 14:30:13 2007 +0000 * Rename -T to -t. -T will be the CPU time limit. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1800 92316355-f0b4-4df1-b90c-862c8a59935f commit 6480d28eec195c23a5d14c2fe9a0a8371b9b6ab8 Author: sam Date: Tue Jul 10 14:26:08 2007 +0000 * Rename ZZUF_RLIMIT_CONST into ZZUF_RLIMIT_MEM because we're going to have the _CPU one as well. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1799 92316355-f0b4-4df1-b90c-862c8a59935f commit a8a75acfa14c896c72cd7dbf7bc56e051aa39f6b Author: sam Date: Tue Jul 10 09:01:12 2007 +0000 * Correct thinko in manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1798 92316355-f0b4-4df1-b90c-862c8a59935f commit a013023cbccb3d2bfe20e6a7d17e43b162078b99 Author: sam Date: Tue Jul 10 00:24:35 2007 +0000 * Version 0.9. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1797 92316355-f0b4-4df1-b90c-862c8a59935f commit dba3ff6a2103046dd2dba4ee263498634850938a Author: sam Date: Mon Jul 9 23:51:49 2007 +0000 * Do not clobber LD_PRELOAD, patch by Sami Liedes. Heavily rewritten. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1796 92316355-f0b4-4df1-b90c-862c8a59935f commit fa5646275d2e28dfd1c467c180a42787565d3c45 Author: sam Date: Fri Jul 6 20:47:51 2007 +0000 * Renamed ranges_static into static_ranges. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1794 92316355-f0b4-4df1-b90c-862c8a59935f commit 0698e4c74384530019b888948aeda8d270c0328d Author: sam Date: Fri Jul 6 20:47:38 2007 +0000 * Documented -p/--pick in the man page. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1793 92316355-f0b4-4df1-b90c-862c8a59935f commit 2a9e992aa5d22c23a685a59bd28513eacdebd6ce Author: sam Date: Fri Jul 6 14:39:39 2007 +0000 * Factored common range-parsing code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1792 92316355-f0b4-4df1-b90c-862c8a59935f commit 13e400ace8a560f60d43d06de1b1fec602726af8 Author: sam Date: Fri Jul 6 13:40:55 2007 +0000 * Added -p flag to cherry pick file descriptors that get fuzzed. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1791 92316355-f0b4-4df1-b90c-862c8a59935f commit 51c22666edd63a7dc60412de9df931dfe2622b33 Author: sam Date: Fri Jul 6 13:34:38 2007 +0000 * Allow to use debug() everywhere in the code; it'll just do nothing in zzuf itself, and will only output stuff in the library. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1790 92316355-f0b4-4df1-b90c-862c8a59935f commit 4500fde8e6b7184faa5d64cb2e025e952c678345 Author: sam Date: Fri Jul 6 13:31:23 2007 +0000 * Add -DLIBZZUF to the libzzuf build. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1789 92316355-f0b4-4df1-b90c-862c8a59935f commit a0f92cc7a9753cdfa9b3d680b5edf0fecb746ef2 Author: sam Date: Thu Mar 1 23:57:14 2007 +0000 * Version 0.8.1. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1764 92316355-f0b4-4df1-b90c-862c8a59935f commit 3ff283422d19673ac90aebd32ed76fcafba373da Author: sam Date: Thu Mar 1 23:53:51 2007 +0000 * Save errno in offset_check, thanks to Sami Liedes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1763 92316355-f0b4-4df1-b90c-862c8a59935f commit 5f538eeb17ec50904618e34a695ef3d852cd82d6 Author: sam Date: Thu Mar 1 23:52:00 2007 +0000 * Removed spurious verbosity, thanks to Sami Liedes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1762 92316355-f0b4-4df1-b90c-862c8a59935f commit b1c4e08f1fa877bd97dcb37c11ba71f8d00268ed Author: sam Date: Sat Feb 24 17:37:46 2007 +0000 * Cleaned up md5.c. * Do not convert words to little endian if the architecture is already little endian. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1761 92316355-f0b4-4df1-b90c-862c8a59935f commit 53b3e8017e9de57b45fb438f2484ed5d52408c02 Author: sam Date: Sat Feb 24 16:37:12 2007 +0000 * Version 0.8. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1760 92316355-f0b4-4df1-b90c-862c8a59935f commit 7399adbe977b9c09d5e1e3eb34afccc817b04802 Author: sam Date: Sat Feb 24 16:32:54 2007 +0000 * Fix WTFPL address. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1759 92316355-f0b4-4df1-b90c-862c8a59935f commit 3e8348887a61ce7bbf751120cbb3510cf9927de0 Author: sam Date: Sat Feb 24 16:20:42 2007 +0000 * Minor win32 cosmetic updates. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1758 92316355-f0b4-4df1-b90c-862c8a59935f commit aadd0d1a56d6b246294875cd1aa6f5dfd0bf7359 Author: sam Date: Tue Feb 20 18:18:27 2007 +0000 * OS X doesn’t have MAP_ANONYMOUS, alias it to MAP_ANON. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1751 92316355-f0b4-4df1-b90c-862c8a59935f commit 79f35f770e0326c476ec08ab2c20308baa6ec239 Author: sam Date: Mon Feb 19 10:28:16 2007 +0000 * Use mmap() instead of malloc() in the mmap() reimplementation so that returned values are not in the heap. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1749 92316355-f0b4-4df1-b90c-862c8a59935f commit 68c3ce62371e6745e1e413e4a1290deed9d885f7 Author: sam Date: Mon Feb 19 10:26:41 2007 +0000 * Check for getpagesize() at configure time. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1748 92316355-f0b4-4df1-b90c-862c8a59935f commit 6c37047b5153af8d41b6fdd715d0cf4053ce4fb4 Author: sam Date: Mon Feb 19 10:25:54 2007 +0000 * Check mmap() return value. * Don't pass offsets to mmap() that are not page aligned. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1747 92316355-f0b4-4df1-b90c-862c8a59935f commit 555502122bd0bcb99c667b14f340033c460e7af4 Author: sam Date: Mon Feb 19 09:28:52 2007 +0000 * Oops, fix compilation warning. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1746 92316355-f0b4-4df1-b90c-862c8a59935f commit a482e0becc8f63917dcf466cf8153cf45c243d20 Author: sam Date: Mon Feb 19 09:16:10 2007 +0000 * Added mmap() to the testsuite. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1745 92316355-f0b4-4df1-b90c-862c8a59935f commit d4c5389b2bdc703ded03b2b15090af48792bc156 Author: sam Date: Fri Feb 9 01:52:59 2007 +0000 * Improved win32 pipes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1744 92316355-f0b4-4df1-b90c-862c8a59935f commit 3b059b7987e8f1ad852aa73b5084580079025a12 Author: sam Date: Fri Feb 9 01:33:02 2007 +0000 * Use doubles, not float. Fixes an issue when using the default ratio value. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1743 92316355-f0b4-4df1-b90c-862c8a59935f commit f75d9ac051b4d8162c9abf905d9f8ae645cf0021 Author: sam Date: Thu Feb 8 23:08:38 2007 +0000 * Disable -M when setrlimit isn't available. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1742 92316355-f0b4-4df1-b90c-862c8a59935f commit 5c36363504617bb94c43977ada24de0f6daa4309 Author: sam Date: Thu Feb 8 21:51:37 2007 +0000 * OpenBSD support for setrlimit(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1741 92316355-f0b4-4df1-b90c-862c8a59935f commit ffb7d8acf3f83e3aa3e75007997c32ac948934c2 Author: sam Date: Thu Feb 8 17:23:48 2007 +0000 * Handle architectures that don't have RLIMIT_AS (like OpenBSD). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1740 92316355-f0b4-4df1-b90c-862c8a59935f commit 7c708caf85faaf4a7c539739bd691c583bc0567f Author: sam Date: Fri Feb 2 11:58:06 2007 +0000 * Fixed more MSVC compilation warnings. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1736 92316355-f0b4-4df1-b90c-862c8a59935f commit 35095929e22fca97ca4c3e54ca9023fc5c00ce88 Author: sam Date: Fri Feb 2 11:29:27 2007 +0000 * Fixed a minor warning and commented our printf-like function. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1735 92316355-f0b4-4df1-b90c-862c8a59935f commit 0a6d1d5c0047086a86d7195cf70adfc96f1faa5b Author: sam Date: Thu Feb 1 22:50:34 2007 +0000 * Added mygetopt files to the MSVC project. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1734 92316355-f0b4-4df1-b90c-862c8a59935f commit 7ca5ac191fafa696003ab2005a7cae7ae0a7727f Author: sam Date: Thu Feb 1 22:33:07 2007 +0000 * Reimplemented getopt_long. We use our replacement even if simple getopt is available on the operating system. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1733 92316355-f0b4-4df1-b90c-862c8a59935f commit c4bc06ccc4fb12b17c657a1bb89bf3feb68b2f2a Author: sam Date: Thu Feb 1 22:20:48 2007 +0000 * Fixed a few signed/unsigned confusions. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1732 92316355-f0b4-4df1-b90c-862c8a59935f commit 03ac083b79a6486a46eb390c80e6c0d81bbd43d6 Author: sam Date: Thu Feb 1 19:27:21 2007 +0000 * Fuck notepad and its fucking CRLFs. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1731 92316355-f0b4-4df1-b90c-862c8a59935f commit b2bfc3cc1c03786104b4f06b692ac49005a06b97 Author: sam Date: Thu Feb 1 18:19:03 2007 +0000 * Fixed a few 64-bit issues reported by MSVC. * More Win32 portability fixes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1730 92316355-f0b4-4df1-b90c-862c8a59935f commit ce794ecefcbea23e4958077c690e266c7f37ab27 Author: sam Date: Thu Feb 1 16:41:54 2007 +0000 * Added an MSVC project. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1729 92316355-f0b4-4df1-b90c-862c8a59935f commit 5ecc0cd95aae02de6702af8df7baa7acc8e8e132 Author: sam Date: Thu Feb 1 16:08:33 2007 +0000 * Check for , too. MSVC doesn't have it. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1728 92316355-f0b4-4df1-b90c-862c8a59935f commit fda34eaef8e033e5d6996c303133595f1fae7430 Author: sam Date: Thu Feb 1 15:57:10 2007 +0000 * Only include conditionally. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1727 92316355-f0b4-4df1-b90c-862c8a59935f commit 88bd22bb3f3d007d70f99980dc716878775cc188 Author: sam Date: Sun Jan 28 01:17:49 2007 +0000 * Version 0.7. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1726 92316355-f0b4-4df1-b90c-862c8a59935f commit 0867c50fbe1856118459e194964e89975a2c4a20 Author: sam Date: Sun Jan 28 00:53:19 2007 +0000 * Merged fdcat and streamcat into zzcat. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1725 92316355-f0b4-4df1-b90c-862c8a59935f commit 21a27a53177eac9270b93fa40c35e218d286e2de Author: sam Date: Sun Jan 28 00:50:53 2007 +0000 * Print "EOF" instead of -1 when it means EOF. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1724 92316355-f0b4-4df1-b90c-862c8a59935f commit 0ea0389f79de7785206506c5737e99633acb44fb Author: sam Date: Sun Jan 28 00:22:23 2007 +0000 * Oops, fixed syntax error. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1723 92316355-f0b4-4df1-b90c-862c8a59935f commit 1e5d26591bb85d1a33b6dcd60bbc56b7d3b37f2e Author: sam Date: Sun Jan 28 00:21:58 2007 +0000 * Better debug messages for special cases (eg. fgetc returning -1). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1722 92316355-f0b4-4df1-b90c-862c8a59935f commit 7aacef91a13851a3bb1fb81725a0fa622dbe522d Author: sam Date: Sat Jan 27 21:40:31 2007 +0000 * Updated testsuite to use our own files instead of /dev/*. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1721 92316355-f0b4-4df1-b90c-862c8a59935f commit 5aaac19407fde552b9b4d7188931c48092b61069 Author: sam Date: Sat Jan 27 19:05:46 2007 +0000 * Implemented -f/--fuzzing (fuzzing mode). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1720 92316355-f0b4-4df1-b90c-862c8a59935f commit c253e61cee6f2004901eec04b9b807773d0b1068 Author: sam Date: Sat Jan 27 15:13:34 2007 +0000 * Better ungetc() implementation. Now we don't need to care about the fuzzing method. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1719 92316355-f0b4-4df1-b90c-862c8a59935f commit 7bb45612e2bbf36c78b9cdc95563ee4c9e0dae6d Author: sam Date: Thu Jan 25 22:34:28 2007 +0000 * Carry DEBUG_FILENO in the ZZUF_DEBUG environment variable. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1718 92316355-f0b4-4df1-b90c-862c8a59935f commit 9c75d64d33cc8960e22aac2600afb5ac8edc7058 Author: sam Date: Thu Jan 25 22:07:23 2007 +0000 * Initialise malloc-related functions earlier. They're needed for regex initialisation amongst others. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1717 92316355-f0b4-4df1-b90c-862c8a59935f commit 2cad7c8c277a0b948f74b3b6a28e323dc1f5c99c Author: sam Date: Thu Jan 25 21:43:37 2007 +0000 * Put a few debug messages in malloc-related functions when they use our custom buffer. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1716 92316355-f0b4-4df1-b90c-862c8a59935f commit 211870d75e2e86c9804c1ddc2b366be3ee52b70d Author: sam Date: Thu Jan 25 20:18:34 2007 +0000 * Updated NEWS. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1715 92316355-f0b4-4df1-b90c-862c8a59935f commit 0227f9b36ea5a3456d7f980b7fcacb55569ff358 Author: sam Date: Thu Jan 25 19:55:20 2007 +0000 * Crap! Fixed memory manager initialisation. And sticking that into the 0.6.1 tarball, no one will notice! (ha ha ha) git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1714 92316355-f0b4-4df1-b90c-862c8a59935f commit 7bc4184eb259c03bee220bebf9b4f22c81da314a Author: sam Date: Thu Jan 25 16:56:22 2007 +0000 * Version 0.6.1. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1713 92316355-f0b4-4df1-b90c-862c8a59935f commit 2cfd6dc543da53a2b3005bfdd18a8f8116a9d74e Author: sam Date: Thu Jan 25 15:33:22 2007 +0000 * More verbosity in fread(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1712 92316355-f0b4-4df1-b90c-862c8a59935f commit f5a48c25b141d5fb0b827fafb39a4d1660aff20d Author: sam Date: Thu Jan 25 15:28:24 2007 +0000 * Fixed an index inconsistency bug in fread(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1711 92316355-f0b4-4df1-b90c-862c8a59935f commit d603953fb925367cf2d282d6ec7939da96e59fbf Author: sam Date: Thu Jan 25 14:56:18 2007 +0000 * Grrr, fixed a bug in finfo() that corrupted the display. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1710 92316355-f0b4-4df1-b90c-862c8a59935f commit 126441f91deaf5fea92aefdc79714f2984daf489 Author: sam Date: Thu Jan 25 13:28:40 2007 +0000 * Version 0.6. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1709 92316355-f0b4-4df1-b90c-862c8a59935f commit a3b6f5242d5f303d0f6617b2d9d9a0e826492637 Author: sam Date: Thu Jan 25 12:15:47 2007 +0000 * Added a networking example using socat. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1708 92316355-f0b4-4df1-b90c-862c8a59935f commit 2cb2bb91d3ff787231c353637692098af07dc287 Author: sam Date: Thu Jan 25 11:59:33 2007 +0000 * Oops, fix in-tree preloading! git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1707 92316355-f0b4-4df1-b90c-862c8a59935f commit 051665e7ccaccc5a9d3c70de4c1841912d9051e5 Author: sam Date: Thu Jan 25 11:47:44 2007 +0000 * Put opts->bytes handling in the right place. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1706 92316355-f0b4-4df1-b90c-862c8a59935f commit 0f0620a7e8840aa153052a705c432b5716e6f507 Author: sam Date: Thu Jan 25 11:40:27 2007 +0000 * Implemented -b/--bytes to restrict fuzzing to specific offsets. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1705 92316355-f0b4-4df1-b90c-862c8a59935f commit 5b9cc9ef26d5f4dfbe04835f0ea884f903143004 Author: sam Date: Thu Jan 25 02:16:00 2007 +0000 * Fixed ifdef typo. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1704 92316355-f0b4-4df1-b90c-862c8a59935f commit abfa806d1873d1e13e23e1e07e8f7a8315f37519 Author: sam Date: Thu Jan 25 01:10:10 2007 +0000 * Updated TODO list. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1703 92316355-f0b4-4df1-b90c-862c8a59935f commit 49aca7e7e5b3b511d3d259c180a8375c0f3e0bd8 Author: sam Date: Wed Jan 24 15:06:17 2007 +0000 * Added DLL injection to the Win32 port attempt. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1702 92316355-f0b4-4df1-b90c-862c8a59935f commit 0a51b0d9cf032da94b1d6ee3b500f5555fb98d54 Author: sam Date: Tue Jan 23 15:38:18 2007 +0000 * Added DLL initialisation code for Win32. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1701 92316355-f0b4-4df1-b90c-862c8a59935f commit dbba79b87a77149178da7d64f45db5b63736e7da Author: sam Date: Tue Jan 23 12:16:50 2007 +0000 * Fix minor memory leak. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1700 92316355-f0b4-4df1-b90c-862c8a59935f commit 8c133628484a390c6f8ddc9069e9ad9125c70ea9 Author: sam Date: Tue Jan 23 08:45:47 2007 +0000 * Put either ORIG() or NEW(() around functions, because the naming scheme is likely to change for the Win32 port. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1699 92316355-f0b4-4df1-b90c-862c8a59935f commit 43989d8729a927d9b0b3ea8c6d7cf1f3c8b3b9c7 Author: sam Date: Thu Jan 18 21:04:34 2007 +0000 * Minor documentation updates. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1698 92316355-f0b4-4df1-b90c-862c8a59935f commit 2ee5f1dae7f12321fad014532ed1b4d477aea0c7 Author: sam Date: Thu Jan 18 18:45:58 2007 +0000 * Minor improvement in the locking mechanism. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1697 92316355-f0b4-4df1-b90c-862c8a59935f commit 27e5de91475bf2abfa81c051be04c40d1ed723ef Author: sam Date: Thu Jan 18 12:32:31 2007 +0000 * Check recv() return type: int on Linux, ssize_t on OS X. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1696 92316355-f0b4-4df1-b90c-862c8a59935f commit b09372fe8d0f5ce9291ba390ee01b510b48d250a Author: sam Date: Thu Jan 18 00:21:07 2007 +0000 * Added enough autoconf checks and #ifdefs so that libzzuf builds on Win32. zzuf itself doesn't build yet, though. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1695 92316355-f0b4-4df1-b90c-862c8a59935f commit 37c26496b451f74cdab930ab7ee21a1f002e5f5f Author: sam Date: Wed Jan 17 21:52:44 2007 +0000 * Replaced _zz_disabled with a less stinky API. Still not thread safe, does not recover very well from errors, but why care? git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1694 92316355-f0b4-4df1-b90c-862c8a59935f commit cdf161608c05122bc57c38bdf2eacac0494786a9 Author: sam Date: Wed Jan 17 21:12:27 2007 +0000 * Added aio_read() and aio_return(). They don’t work well yet, I’ll need to fix the _zz_disabled mess first. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1693 92316355-f0b4-4df1-b90c-862c8a59935f commit 616829f8634dc509b8debb7d30c282be89ccb3bb Author: sam Date: Wed Jan 17 19:48:23 2007 +0000 * Reorganised code, got rid of global variables. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1692 92316355-f0b4-4df1-b90c-862c8a59935f commit 25e26576e3cafe6ccfbd46fac35b10e29a198ebb Author: sam Date: Wed Jan 17 17:14:22 2007 +0000 * recvmsg() support by Rémi Denis-Courmont. * Minor code reorganisation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1691 92316355-f0b4-4df1-b90c-862c8a59935f commit 6391dda196b9ed90e36b303fb2304904d4d3e17b Author: sam Date: Wed Jan 17 16:32:45 2007 +0000 * Improved recvfrom() debug information. * Implemented recv(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1690 92316355-f0b4-4df1-b90c-862c8a59935f commit 1f207fbdd82bcb9f454de6060f9076c0a3fccb64 Author: sam Date: Wed Jan 17 16:26:40 2007 +0000 * Add %x to the format string parameters supported by debug(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1689 92316355-f0b4-4df1-b90c-862c8a59935f commit 0a9f3051c622db53352dbc95e01545e20212a366 Author: sam Date: Wed Jan 17 15:31:40 2007 +0000 * Improved %c usage in our custom fprintf() implementation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1688 92316355-f0b4-4df1-b90c-862c8a59935f commit 10f5871609a410b7b225e14a51a18efac3dc6381 Author: sam Date: Wed Jan 17 15:21:09 2007 +0000 * Use __func__ wherever possible. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1687 92316355-f0b4-4df1-b90c-862c8a59935f commit c6aa547ceb74a0226f47359be971ca09f87cb506 Author: sam Date: Wed Jan 17 15:07:35 2007 +0000 * recvfrom() support from Dominik Kuhlen. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1686 92316355-f0b4-4df1-b90c-862c8a59935f commit 831c29045116d3a3690a363785e508364bd5818d Author: sam Date: Wed Jan 17 15:02:05 2007 +0000 * Print "NULL" instead of "(nil)" when printing null pointers. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1685 92316355-f0b4-4df1-b90c-862c8a59935f commit c00ae0099af84dd8711e6cedc426128ecd8199a6 Author: sam Date: Wed Jan 17 14:35:12 2007 +0000 * Allow -r 0.0 again. Fixed the testsuite accordingly. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1684 92316355-f0b4-4df1-b90c-862c8a59935f commit 2a5326a69ef6ce86b261970ed352d920dd534d64 Author: sam Date: Wed Jan 17 13:46:38 2007 +0000 * Moved files around. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1683 92316355-f0b4-4df1-b90c-862c8a59935f commit f685c88375b666876ed034a9cf15458497ea6b96 Author: sam Date: Wed Jan 17 13:42:18 2007 +0000 * Suggest jot instead of seq in the examples. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1682 92316355-f0b4-4df1-b90c-862c8a59935f commit 10d4511b58547dcac91305c206e670a60bb6a1be Author: sam Date: Wed Jan 17 07:22:10 2007 +0000 * Fix a longopt parsing crash, thanks to Matti Hämäläinen. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1681 92316355-f0b4-4df1-b90c-862c8a59935f commit f757f49d51d49b3277f51676be6af2a717413d7d Author: sam Date: Wed Jan 17 07:21:40 2007 +0000 * Fix testsuite by printing MD5 hashes to stdout. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1680 92316355-f0b4-4df1-b90c-862c8a59935f commit 4bcb10325a090f40ec7115136b797922417fb811 Author: sam Date: Tue Jan 16 14:36:33 2007 +0000 * Got rid of the *_load() functions. Now each diverted function is supposed to check that the *_orig() functions it calls are properly loaded. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1679 92316355-f0b4-4df1-b90c-862c8a59935f commit 090bcb800f3ed266136bbd1807c8a4db9e147f31 Author: sam Date: Tue Jan 16 14:21:28 2007 +0000 * pread() implementation, thanks to Clément Stenac. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1678 92316355-f0b4-4df1-b90c-862c8a59935f commit d228086399957bba9a211649e4b8a03fb9a9c39f Author: sam Date: Tue Jan 16 14:06:57 2007 +0000 * Don't do the offset sanity check on non-seekable devices. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1677 92316355-f0b4-4df1-b90c-862c8a59935f commit fbc569c967df2506411454607eb10fd6d5b8f39c Author: sam Date: Tue Jan 16 13:54:34 2007 +0000 * readv() implementation, thanks to Rémi Denis-Courmont. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1676 92316355-f0b4-4df1-b90c-862c8a59935f commit f07251d9f2876021e32806c95582b99aa0318313 Author: sam Date: Mon Jan 15 13:28:19 2007 +0000 * Use seq instead of awk in the example, to make shorter code. I know it won't work on BSD systems, but should I care? git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1675 92316355-f0b4-4df1-b90c-862c8a59935f commit 7233748dd9cfe1ebc7e959a6ecb2372d228e6f7d Author: sam Date: Sun Jan 14 23:56:39 2007 +0000 * Version 0.5. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1674 92316355-f0b4-4df1-b90c-862c8a59935f commit f4f8f289173d4f4f97f1b82cebaa8dd4786c9c59 Author: sam Date: Sun Jan 14 23:42:34 2007 +0000 * interval -> range. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1673 92316355-f0b4-4df1-b90c-862c8a59935f commit e75edd4cdcc7f00172b5e19e3d925d851d67f27c Author: sam Date: Sun Jan 14 23:41:03 2007 +0000 * Support ranges with the -r flag. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1672 92316355-f0b4-4df1-b90c-862c8a59935f commit 50685b028b1aca810e99992a2b6e41cec18f2f15 Author: sam Date: Sun Jan 14 20:47:18 2007 +0000 * Oops, ratio should be a double, not a float. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1671 92316355-f0b4-4df1-b90c-862c8a59935f commit c376af60fc3be24137e11df9b3bc3cef5e013e6b Author: sam Date: Sun Jan 14 20:28:09 2007 +0000 * Exit non-zero if one process crashed. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1670 92316355-f0b4-4df1-b90c-862c8a59935f commit e394452529ee65c790683b7bdc58b10ea2906d32 Author: sam Date: Sun Jan 14 20:18:31 2007 +0000 * Display our information to stderr, not stdout. Documented that. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1669 92316355-f0b4-4df1-b90c-862c8a59935f commit 1dec769822103e275fdab027720a719b9f092bae Author: sam Date: Sun Jan 14 20:17:45 2007 +0000 * Only display our own kills in verbose mode. * Factorise min/max ratio values. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1668 92316355-f0b4-4df1-b90c-862c8a59935f commit 1ba41a8a18beb7ffb091a4e9f7bd3a0abb9903ee Author: sam Date: Sun Jan 14 17:47:01 2007 +0000 * Added -v/--verbose (unused yet). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1667 92316355-f0b4-4df1-b90c-862c8a59935f commit daa02f8b5c5f027cd339fcbbbd474505d285a633 Author: sam Date: Sun Jan 14 11:03:37 2007 +0000 * Set --version to -V, not -v. We'll use -v for verbose. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1666 92316355-f0b4-4df1-b90c-862c8a59935f commit 3bc06e53d6f4112a6e2450f755543402483759bd Author: sam Date: Sun Jan 14 01:03:44 2007 +0000 * Fix a problem with filedescriptor 17 being reused for other purposes than the debugging channel. * Print signal name, eg. SIGABRT instead of just "signal 6". git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1665 92316355-f0b4-4df1-b90c-862c8a59935f commit f74c5b1beb463313f8f0dd323cecd96d41f29ce8 Author: sam Date: Sat Jan 13 22:47:56 2007 +0000 * Minor documentation layout fix. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1664 92316355-f0b4-4df1-b90c-862c8a59935f commit ad0461ffac346dc50039c8b14a53c002d88d367a Author: sam Date: Sat Jan 13 19:33:48 2007 +0000 * Added auto-increment mode. Not very handy to use yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1663 92316355-f0b4-4df1-b90c-862c8a59935f commit 0efc21cdd92450880bfdeb98690a37aef4d88deb Author: sam Date: Sat Jan 13 18:00:03 2007 +0000 * Print program PID when initialising libzzuf. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1662 92316355-f0b4-4df1-b90c-862c8a59935f commit 7db0ab13de04d69d68caa6d36b2763ffca9d9b92 Author: sam Date: Sat Jan 13 10:59:07 2007 +0000 * Fixed -c behaviour. Sometimes apps open "$PWD/file" when asked to simply open "file" (eg. eog). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1661 92316355-f0b4-4df1-b90c-862c8a59935f commit f47c46a3c183a44a0577c02c341bfa00d7e25252 Author: sam Date: Sat Jan 13 10:50:38 2007 +0000 * Implemented -D/--delay to avoid fork bombs. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1660 92316355-f0b4-4df1-b90c-862c8a59935f commit 1d68bc784499bab0eaf8b9b03d3b4a6c3c115e9c Author: sam Date: Fri Jan 12 18:01:27 2007 +0000 * Refactored some shit around. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1659 92316355-f0b4-4df1-b90c-862c8a59935f commit e95d9f9895dc432f67e543a3f3af46f800a40b96 Author: sam Date: Fri Jan 12 16:20:14 2007 +0000 * Minor documentation fixes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1658 92316355-f0b4-4df1-b90c-862c8a59935f commit fb41a81ee65d8e5e3f1ad3a9484a9ee35511143c Author: sam Date: Fri Jan 12 15:47:48 2007 +0000 * Change timing functions to gettimeofday() instead of time() for more precision. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1657 92316355-f0b4-4df1-b90c-862c8a59935f commit 23e202c336b6e02094aa3dd584555f629eec3cfa Author: sam Date: Fri Jan 12 14:19:55 2007 +0000 * Lowercase zzuf everywhere. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1656 92316355-f0b4-4df1-b90c-862c8a59935f commit 2b50cdc843cc385de13c2cffd525c98228355299 Author: sam Date: Fri Jan 12 10:09:22 2007 +0000 * Better line-buffered stdin reads. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1655 92316355-f0b4-4df1-b90c-862c8a59935f commit bd1e4b6781341bb61a82f7daeef3085cedf9903d Author: sam Date: Thu Jan 11 23:36:28 2007 +0000 * Version 0.4. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1654 92316355-f0b4-4df1-b90c-862c8a59935f commit a9f04fa129c0fd2aae92d8e61b33e734befe61c7 Author: sam Date: Thu Jan 11 23:30:29 2007 +0000 * Got rid of malloc() for each file opened. Now we only start calling malloc() after the 32th file descriptor. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1653 92316355-f0b4-4df1-b90c-862c8a59935f commit 6b7641f3f1976376ec01c3b69ed4000045ee73ab Author: sam Date: Thu Jan 11 22:43:45 2007 +0000 * Reduce number of malloc() calls within libzzuf. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1652 92316355-f0b4-4df1-b90c-862c8a59935f commit f65031ae6191d4092e3a47167d8d08b5b85bf7ea Author: sam Date: Thu Jan 11 22:11:56 2007 +0000 * Remove two useless malloc() calls. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1651 92316355-f0b4-4df1-b90c-862c8a59935f commit 98790fa3337e016ce4b3876a9a0b89cc8afed52a Author: sam Date: Thu Jan 11 22:11:28 2007 +0000 * Don't stop if the process was killed by us. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1650 92316355-f0b4-4df1-b90c-862c8a59935f commit c332680bd51b8a687e89c704597528f4d4a8c4d1 Author: sam Date: Thu Jan 11 10:21:11 2007 +0000 * Better realloc dummy implementation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1649 92316355-f0b4-4df1-b90c-862c8a59935f commit 7e56dd05cb59e50fc345bf9d5bde11371d3bb955 Author: sam Date: Thu Jan 11 00:39:59 2007 +0000 * Minor code factorisation into LOADSYM(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1648 92316355-f0b4-4df1-b90c-862c8a59935f commit 55f7d73be390948f51e0af94ef7d7b0adc30746d Author: sam Date: Thu Jan 11 00:27:47 2007 +0000 * Typo in the manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1647 92316355-f0b4-4df1-b90c-862c8a59935f commit 001af9af7dd65aa864e8757ad9d53c5c65fb09d8 Author: sam Date: Wed Jan 10 18:11:13 2007 +0000 * Allow several calls to malloc()/calloc() in the library preloading stage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1646 92316355-f0b4-4df1-b90c-862c8a59935f commit 070fc46970445248a950de1046388c3822d9811c Author: sam Date: Wed Jan 10 17:31:58 2007 +0000 * Removed brk/sbrk, they're so outdated and useless. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1645 92316355-f0b4-4df1-b90c-862c8a59935f commit c1876592decd9758791db414bf004a8e90affb43 Author: sam Date: Wed Jan 10 17:25:09 2007 +0000 * Oops, fixed an old OS X build failure. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1644 92316355-f0b4-4df1-b90c-862c8a59935f commit 715e645c8b73e3faf1a032867b875dc86145b62c Author: sam Date: Wed Jan 10 17:23:23 2007 +0000 * Check for memalign and posix_memalign. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1643 92316355-f0b4-4df1-b90c-862c8a59935f commit 4ee193c73e09ebdf8726d77edd8afd7d24ab2433 Author: sam Date: Wed Jan 10 17:19:48 2007 +0000 * Check for malloc.h. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1642 92316355-f0b4-4df1-b90c-862c8a59935f commit 078a7afa1bc7654ebaf3872863478f32955e2ba8 Author: sam Date: Wed Jan 10 17:17:26 2007 +0000 * Implemented memory limits. Probably breaks on other arches because of all the new functions. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1641 92316355-f0b4-4df1-b90c-862c8a59935f commit 5ec99810046ad4cdf899d5127daca0864633c175 Author: sam Date: Wed Jan 10 15:22:09 2007 +0000 * Changed -M to -m (for --md5). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1640 92316355-f0b4-4df1-b90c-862c8a59935f commit 906f0afaeef813a2d5161cfa9cceb09752fe4082 Author: sam Date: Wed Jan 10 14:57:22 2007 +0000 * Split load-fd.c into load-fd.c and load-mem.c (mmap, etc.). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1639 92316355-f0b4-4df1-b90c-862c8a59935f commit 90576cb680f2ae583f5dd56c8f8cc19b5ca33164 Author: sam Date: Tue Jan 9 16:39:07 2007 +0000 * Fixed double mmap debug message. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1638 92316355-f0b4-4df1-b90c-862c8a59935f commit 11dc8b6c6d8fda3819c5bc38d547bbf78f9d91ad Author: sam Date: Tue Jan 9 16:16:00 2007 +0000 * Add verbosity to read() and mmap() so that we roughly know where we are reading. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1637 92316355-f0b4-4df1-b90c-862c8a59935f commit d0875b55aab3a2b6b5ec530f36ef6d4982a59ebd Author: sam Date: Tue Jan 9 16:14:31 2007 +0000 * Change debug's %c so that it automatically escapes binary characters. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1636 92316355-f0b4-4df1-b90c-862c8a59935f commit 53e72a22152c296c1ec2062c53eda030b29dd3ea Author: sam Date: Tue Jan 9 15:40:08 2007 +0000 * mmap() maps the file descriptor at offset 0. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1635 92316355-f0b4-4df1-b90c-862c8a59935f commit 9bdff8ac519ee512cd1fb8b95642e50311989c71 Author: sam Date: Tue Jan 9 11:22:09 2007 +0000 * Don’t report exit status by default. * Add -x/--check-exit to get back to the previous behaviour. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1634 92316355-f0b4-4df1-b90c-862c8a59935f commit fcd22b6474faeb7958a05a300115a6b87f1cf69e Author: sam Date: Tue Jan 9 10:07:35 2007 +0000 * Bah, reverted that. We'll use -O for --offset. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1633 92316355-f0b4-4df1-b90c-862c8a59935f commit f68cbe55dbf24f2606121ac83bae44d4378bd05f Author: sam Date: Tue Jan 9 10:05:47 2007 +0000 * Rename -B/--max-bytes to -O/--max-output so that we can implement -A/-B. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1632 92316355-f0b4-4df1-b90c-862c8a59935f commit 3b9f2db74356e526ec742f18a49641607010aa40 Author: sam Date: Tue Jan 9 10:02:57 2007 +0000 * Implement map_fd for OS X. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1631 92316355-f0b4-4df1-b90c-862c8a59935f commit fe028ec8789593c59a2fe1d37a5f3dacdeceb04f Author: sam Date: Mon Jan 8 21:51:06 2007 +0000 * Fixed testsuite for anal shells. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1630 92316355-f0b4-4df1-b90c-862c8a59935f commit 4f9c0e7244ec358ef878e91d1159b9e898a02449 Author: sam Date: Mon Jan 8 21:49:57 2007 +0000 * Tru64 loader support (_RLD_LIST). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1629 92316355-f0b4-4df1-b90c-862c8a59935f commit a6695e0ad2353b9fa586cdc3255e416204aedf2e Author: sam Date: Mon Jan 8 21:48:39 2007 +0000 * Fix the socklen_t type detection on Linux. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1628 92316355-f0b4-4df1-b90c-862c8a59935f commit 3769d13e84dc220ca7288ce8109bb23515a06b15 Author: sam Date: Mon Jan 8 21:05:05 2007 +0000 * Define sig_t to void (*) (int) if it does not exist. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1627 92316355-f0b4-4df1-b90c-862c8a59935f commit 9329ed73f8994cd61e43db61933025b291ae8af1 Author: sam Date: Mon Jan 8 21:03:32 2007 +0000 * Define socklen_t to int if it does not exist. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1626 92316355-f0b4-4df1-b90c-862c8a59935f commit f5d3a826750368ad51a4055aebea1a8856f25e29 Author: sam Date: Mon Jan 8 18:15:49 2007 +0000 * Test suite now uses the new MD5 feature. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1625 92316355-f0b4-4df1-b90c-862c8a59935f commit ec6d5434ced3886050b63accc9e6d7d0b0c613db Author: sam Date: Mon Jan 8 17:54:16 2007 +0000 * Changed --md5 to only compute the standard output. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1624 92316355-f0b4-4df1-b90c-862c8a59935f commit 214cddf57e3703e8b2cbc37f2c47ef84e308c3f0 Author: sam Date: Mon Jan 8 17:50:34 2007 +0000 * Implemented -M/--md5 flag. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1623 92316355-f0b4-4df1-b90c-862c8a59935f commit 42429f94660a75d563f696f024eb7448d2632064 Author: sam Date: Sun Jan 7 21:29:37 2007 +0000 * Version 0.3. * Updated NEWS and ChangeLog. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1622 92316355-f0b4-4df1-b90c-862c8a59935f commit 0faa467a258d37ab98e4a4080d5e56c3e9c4908c Author: sam Date: Sun Jan 7 21:14:26 2007 +0000 * Factor regex stuff into fd.c, so that isn’t needed otherwhere. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1621 92316355-f0b4-4df1-b90c-862c8a59935f commit 1cd450310fc616192e76a7bd179ede3be1ca0338 Author: sam Date: Sun Jan 7 21:13:31 2007 +0000 * Use __srefill() on OS X, too. It now works properly. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1620 92316355-f0b4-4df1-b90c-862c8a59935f commit a1b86adf916e4a7341c958cd66fe62eaf62a3d57 Author: sam Date: Sun Jan 7 20:50:49 2007 +0000 * Implemented freopen(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1619 92316355-f0b4-4df1-b90c-862c8a59935f commit 372d7e494656c57e735fe0d260a33642f02e4eff Author: sam Date: Sun Jan 7 20:24:03 2007 +0000 * Protect __srefill_orig() calls. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1618 92316355-f0b4-4df1-b90c-862c8a59935f commit 8541bae1e254afd9d66b82d1a05690177dd157bf Author: sam Date: Sun Jan 7 19:12:35 2007 +0000 * Updated bootstrap script. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1617 92316355-f0b4-4df1-b90c-862c8a59935f commit 5def4f865c855fde1c859bc976921782870071be Author: sam Date: Sun Jan 7 18:45:00 2007 +0000 * Documented stdin behaviour. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1616 92316355-f0b4-4df1-b90c-862c8a59935f commit f7d235fa90ae47f77bc2ecdbcf57f9ee1206baaf Author: sam Date: Sun Jan 7 18:36:19 2007 +0000 * Factored sources in the makefile. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1615 92316355-f0b4-4df1-b90c-862c8a59935f commit cd2b38ca23091b4988fb5d72f0eae0c5ddf1d584 Author: sam Date: Sun Jan 7 18:34:50 2007 +0000 * Merged chars.c and fuzz.c. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1614 92316355-f0b4-4df1-b90c-862c8a59935f commit 3f1e7f93c0c6100c85ef2542f8e38144f1937f17 Author: sam Date: Sun Jan 7 18:18:50 2007 +0000 * If no argument is given, just fuzz standard input. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1613 92316355-f0b4-4df1-b90c-862c8a59935f commit f03ddbd8356e0abb947a32d17c91f532d535a47e Author: sam Date: Sun Jan 7 17:12:53 2007 +0000 * Don't call cat or dd in the testsuite if they're statically linked. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1612 92316355-f0b4-4df1-b90c-862c8a59935f commit ae749302ce43777106bfab96281dde67ea04115f Author: sam Date: Sun Jan 7 16:31:33 2007 +0000 * Fix a compilation warning. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1611 92316355-f0b4-4df1-b90c-862c8a59935f commit ad39f0638d3c500171db5b0f7360f9b908653085 Author: sam Date: Sun Jan 7 16:29:25 2007 +0000 * Added note about 64-bit offsets in manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1610 92316355-f0b4-4df1-b90c-862c8a59935f commit bb9d97f50940ccd07348cf9d52fc03438948b386 Author: sam Date: Sun Jan 7 16:27:59 2007 +0000 * Fixed __srefill()/lseek() conflict issue. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1609 92316355-f0b4-4df1-b90c-862c8a59935f commit 8f8b7e2a0adb774939fd6c16632443690dc38b05 Author: sam Date: Sun Jan 7 16:09:13 2007 +0000 * Only use __srefill on OpenBSD and FreeBSD. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1608 92316355-f0b4-4df1-b90c-862c8a59935f commit eaf5c617b5b15112c965881c852b0e299edca175 Author: sam Date: Sun Jan 7 15:55:24 2007 +0000 * Updated manpage, fixed - to \- here and there. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1607 92316355-f0b4-4df1-b90c-862c8a59935f commit d1b0512986c0b304a9791af91a6bf8052ea86670 Author: sam Date: Sun Jan 7 15:55:00 2007 +0000 * Implemented BSD stdio by overriding __srefill(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1606 92316355-f0b4-4df1-b90c-862c8a59935f commit ab9d811fd9c2e8ded61526a9743c585d4c75be01 Author: sam Date: Sun Jan 7 14:22:34 2007 +0000 * Fuzz in __srefill even if _zz_disabled is on. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1605 92316355-f0b4-4df1-b90c-862c8a59935f commit d367550fc99b1448984977bc43e5674ebb50c109 Author: sam Date: Sun Jan 7 14:16:46 2007 +0000 * Oops, got it wrong. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1604 92316355-f0b4-4df1-b90c-862c8a59935f commit ace4bfa13ab850ebcd9859b308af03b951108628 Author: sam Date: Sun Jan 7 14:16:06 2007 +0000 * Fix compilation warnings on BSD libc’s and a bug on FreeBSD. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1603 92316355-f0b4-4df1-b90c-862c8a59935f commit 10f17f48197f8d206c05765688910da985829bcc Author: sam Date: Sun Jan 7 14:14:19 2007 +0000 * Implemented __refill(). Untested yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1602 92316355-f0b4-4df1-b90c-862c8a59935f commit ae18bb2f87ea1878cb22d35b77606cfe10a858f7 Author: sam Date: Sun Jan 7 14:13:29 2007 +0000 * Made the testsuite shorter. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1601 92316355-f0b4-4df1-b90c-862c8a59935f commit 5dd97f8469452ba7971303c651869ff9cc9f932d Author: sam Date: Sun Jan 7 13:20:04 2007 +0000 * Protected the _IO_getc_orig declaration. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1600 92316355-f0b4-4df1-b90c-862c8a59935f commit f93d1dd3146996eb0915d79a6661481795d4c9b8 Author: sam Date: Sun Jan 7 13:18:36 2007 +0000 * Oops, compilation fix. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1599 92316355-f0b4-4df1-b90c-862c8a59935f commit f2e805e0f0e4bce2256a3f1d78b48a9e4abfff6f Author: sam Date: Sun Jan 7 13:16:43 2007 +0000 * Added __srefill() skeleton, for BSD libc. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1598 92316355-f0b4-4df1-b90c-862c8a59935f commit 7ee4debd47ae53fa62676075fe5bbc120e5862fb Author: sam Date: Sun Jan 7 12:39:30 2007 +0000 * Added a note about statically linked binaries and one about getc(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1597 92316355-f0b4-4df1-b90c-862c8a59935f commit 7fe0ef7de94bb9defd6860ccfb01f0b34d1c957a Author: sam Date: Sun Jan 7 12:06:07 2007 +0000 * Don’t run the testsuite if /bin/cat is statically linked. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1596 92316355-f0b4-4df1-b90c-862c8a59935f commit eaf692461a6c6fd9d81b64ddc9ffc0b7d56f806e Author: sam Date: Sun Jan 7 10:34:45 2007 +0000 * Always define getc(), but undefine the getc macro beforehands just in case. * Implemented _IO_getc(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1595 92316355-f0b4-4df1-b90c-862c8a59935f commit a4797afc4529301c72dac2a56bd1064b1234ee24 Author: sam Date: Sun Jan 7 09:34:42 2007 +0000 * Implemented fseeko(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1594 92316355-f0b4-4df1-b90c-862c8a59935f commit 190511294a27f63c1dd40374bd6c06ef2e3dc8f6 Author: sam Date: Sat Jan 6 22:17:09 2007 +0000 * Fix a bug in the fgetln() implementation. The newline was not properly accounted for in the returned length. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1593 92316355-f0b4-4df1-b90c-862c8a59935f commit cf5ca3a3c1be1e65c3064affd371d207f3a27e7a Author: sam Date: Sat Jan 6 21:54:02 2007 +0000 * BSD's md5 does not have a --help option. Trying /dev/null instead. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1592 92316355-f0b4-4df1-b90c-862c8a59935f commit 7beda020ce6ff05e10514d7a02c9a248bf7b334b Author: sam Date: Sat Jan 6 21:38:33 2007 +0000 * Cleaned up code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1591 92316355-f0b4-4df1-b90c-862c8a59935f commit f693e7287dcebbdf66c79eb098a74f00d3b9b665 Author: sam Date: Sat Jan 6 21:37:42 2007 +0000 * Only link with -ldl when available. * Removed PKG_* stuff from configure.ac. * Add more compilation warnings. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1590 92316355-f0b4-4df1-b90c-862c8a59935f commit 9e0e4cb76770fd17c88f5e02bfabc75efa501a01 Author: sam Date: Sat Jan 6 21:25:56 2007 +0000 * Got testsuite to work on FreeBSD. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1589 92316355-f0b4-4df1-b90c-862c8a59935f commit 883aa413bf1a71e27e13969100268b48c9e06bde Author: sam Date: Sat Jan 6 20:59:28 2007 +0000 * Fix for BSD machines: getc() may be defined as a macro. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1588 92316355-f0b4-4df1-b90c-862c8a59935f commit 2b202a471ac870b87151e7f3455e54b83af57d37 Author: sam Date: Sat Jan 6 20:24:54 2007 +0000 * Fixed the head call in the testsuite so that it works on OS X. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1587 92316355-f0b4-4df1-b90c-862c8a59935f commit b372bdaafadf5726dec46dd6ef266c7ec3ce5c89 Author: sam Date: Sat Jan 6 20:20:15 2007 +0000 * Added head and tail to the testsuite. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1586 92316355-f0b4-4df1-b90c-862c8a59935f commit 24946cc39474f4b2bc53be5b2ed6fc590654fbba Author: sam Date: Sat Jan 6 20:08:31 2007 +0000 * Fixed implicit declaration. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1585 92316355-f0b4-4df1-b90c-862c8a59935f commit 1a2d2faaa70ce6bf2edcd6f9036e0bef0b04a8bd Author: sam Date: Sat Jan 6 20:02:01 2007 +0000 * Updated documentation wrt. mmap(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1584 92316355-f0b4-4df1-b90c-862c8a59935f commit fc2c562801d977e225142225dc59abbece3fe7c5 Author: sam Date: Sat Jan 6 20:01:51 2007 +0000 * Missing autoconf check for mmap64(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1583 92316355-f0b4-4df1-b90c-862c8a59935f commit 943a0278b5a56bd4a48ae945c73853f1412c169b Author: sam Date: Sat Jan 6 20:01:25 2007 +0000 * Implemented the mmap() family. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1582 92316355-f0b4-4df1-b90c-862c8a59935f commit 76ce44308ce68ace44e87e175a76295313e32292 Author: sam Date: Sat Jan 6 20:01:15 2007 +0000 * Implemented rewind(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1581 92316355-f0b4-4df1-b90c-862c8a59935f commit 00b1f1a1ebbcdda7da9bb79e563441c729c2d02a Author: sam Date: Sat Jan 6 15:54:14 2007 +0000 * Fix fread() issue with standard input reading. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1580 92316355-f0b4-4df1-b90c-862c8a59935f commit 65d07c22d424d3d77780d37bf9c9714e2ec52dc6 Author: sam Date: Sat Jan 6 14:03:07 2007 +0000 * Added a note about mmap() not being available. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1579 92316355-f0b4-4df1-b90c-862c8a59935f commit c3f925484173f40c9710c5f3111f326024f2a9d0 Author: sam Date: Sat Jan 6 14:02:51 2007 +0000 * Fix build with older versions of gcc. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1578 92316355-f0b4-4df1-b90c-862c8a59935f commit 280ea46a38cd8d11b3edde9ddddb8291fca76967 Author: sam Date: Sat Jan 6 10:51:44 2007 +0000 * Documentation tuning. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1577 92316355-f0b4-4df1-b90c-862c8a59935f commit cc0823a88153ad61662bf3fa0183f87881e32ad3 Author: sam Date: Sat Jan 6 00:40:51 2007 +0000 * Version 0.2 is ready. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1576 92316355-f0b4-4df1-b90c-862c8a59935f commit 951a1b7ad55de644bf4addabcbf3c4b393163cec Author: sam Date: Sat Jan 6 00:26:39 2007 +0000 * Another note in the manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1575 92316355-f0b4-4df1-b90c-862c8a59935f commit b9e12a232b078844e63fd3949aad923415f83b38 Author: sam Date: Sat Jan 6 00:10:46 2007 +0000 * Cosmetic fixes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1574 92316355-f0b4-4df1-b90c-862c8a59935f commit a906f8bc784702385bc6f559729cbb099701b8b8 Author: sam Date: Sat Jan 6 00:08:16 2007 +0000 * Implemented --max-crashes. * Renamed --forks to --max-forks. * Changed debug messages format. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1573 92316355-f0b4-4df1-b90c-862c8a59935f commit 7af80dac2e51b5eeb8d3c0e8c35306bf51eaf7e7 Author: sam Date: Fri Jan 5 23:15:29 2007 +0000 * Oops, forgot to fix --help output. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1572 92316355-f0b4-4df1-b90c-862c8a59935f commit 8b38085f751cc71819075d636f2e4f086c268f1d Author: sam Date: Fri Jan 5 23:14:37 2007 +0000 * Rename --fork to --max-forks. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1571 92316355-f0b4-4df1-b90c-862c8a59935f commit 721f5d9d2cbeb6b5ff7872d5deaf0e694bcaaaae Author: sam Date: Fri Jan 5 21:36:13 2007 +0000 * Specified signal handling stuff in the manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1570 92316355-f0b4-4df1-b90c-862c8a59935f commit 6a12dc31a020c268b7bde1553fedb00ad328bcc2 Author: sam Date: Fri Jan 5 21:33:28 2007 +0000 * Split the bugs manpage section into bugs and restrictions. * Listed diverted functions. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1569 92316355-f0b4-4df1-b90c-862c8a59935f commit ba16f0dc550b316c054ff98bd22c904c9abc9748 Author: sam Date: Fri Jan 5 17:34:10 2007 +0000 * Fix an uncontrolled corruption bug in fgetln(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1568 92316355-f0b4-4df1-b90c-862c8a59935f commit d3ac2577c43c733938af5fb1dd5d463b3676af00 Author: sam Date: Fri Jan 5 16:03:04 2007 +0000 * Fix fgetln(). The testsuite *almost* passes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1567 92316355-f0b4-4df1-b90c-862c8a59935f commit fdaa9cfef83dbd783b6b5476862eb9bf7a5bef40 Author: sam Date: Fri Jan 5 14:36:39 2007 +0000 * Implemented BSD fgetln(). Untested yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1566 92316355-f0b4-4df1-b90c-862c8a59935f commit 5340742077256c95afa8d90a741098b895d8569a Author: sam Date: Fri Jan 5 11:01:49 2007 +0000 * Put back grep and sed into the testsuite, now that we can protect newlines from being fuzzed away. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1565 92316355-f0b4-4df1-b90c-862c8a59935f commit 708ee4d029e82d7270312f4df67a822d8d9b51d4 Author: sam Date: Fri Jan 5 10:49:12 2007 +0000 * Minor layout tuning. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1564 92316355-f0b4-4df1-b90c-862c8a59935f commit 8b24c6b5e0296e990d4c348b822f6ede88fa9511 Author: sam Date: Fri Jan 5 10:28:07 2007 +0000 * Allow octal escape values for -P and -R. * Updated manpage accordingly and added a few minor things in it. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1563 92316355-f0b4-4df1-b90c-862c8a59935f commit dd964972484febd3cd940740166deca44f2a6b21 Author: sam Date: Fri Jan 5 08:01:06 2007 +0000 * Change -N to -n for --network. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1562 92316355-f0b4-4df1-b90c-862c8a59935f commit 5627236611eca3e22f6942b747dd204aec6ee581 Author: sam Date: Fri Jan 5 07:57:41 2007 +0000 * Clarified reproducibility claim. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1561 92316355-f0b4-4df1-b90c-862c8a59935f commit b5df66bf0dfa156f911331634b46f2f812562ada Author: sam Date: Fri Jan 5 07:52:30 2007 +0000 * Network support. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1560 92316355-f0b4-4df1-b90c-862c8a59935f commit f99b21a0d8b8d7024f8a3aa3ef7d470720c79ebb Author: sam Date: Fri Jan 5 00:24:43 2007 +0000 * Manpage layout improvements. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1559 92316355-f0b4-4df1-b90c-862c8a59935f commit 8ab98ef880431ac281a605a4f3f4d94272295996 Author: sam Date: Thu Jan 4 13:33:33 2007 +0000 * Minor manpage improvement. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1558 92316355-f0b4-4df1-b90c-862c8a59935f commit 9072f7022a919d73189a03331cfc5987bc632170 Author: sam Date: Thu Jan 4 13:28:35 2007 +0000 * Improved manpage, especially the statistical effect of using -R. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1557 92316355-f0b4-4df1-b90c-862c8a59935f commit d02551154b4f350dab88964de580068faf9863bc Author: sam Date: Thu Jan 4 08:59:05 2007 +0000 * Implemented -R / --refuse. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1555 92316355-f0b4-4df1-b90c-862c8a59935f commit f930ad29221b0715dbd0415615fa5ac7de779ea0 Author: sam Date: Thu Jan 4 01:09:04 2007 +0000 * Implement -P / --protect. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1554 92316355-f0b4-4df1-b90c-862c8a59935f commit faae881c76b5eac291c3d6142aa7a539174172a8 Author: sam Date: Wed Jan 3 22:51:36 2007 +0000 * Added a _zz_disabled flag. This is needed on OS X where we protect the fopen_orig() call because it will call our own diverted open() function and we don't want it to fiddle with our structures. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1553 92316355-f0b4-4df1-b90c-862c8a59935f commit b9eed7bf9daa4c0b1008e1cb74d3e5b643107d0a Author: sam Date: Wed Jan 3 22:25:45 2007 +0000 * Do not fuzz anything if 0 bytes were read. * Added a debug message for fuzzing. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1552 92316355-f0b4-4df1-b90c-862c8a59935f commit ab943738876fa48f4970871bb81da9e807c3f8e0 Author: sam Date: Wed Jan 3 22:12:02 2007 +0000 * Better debug messages in load-stream.c. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1551 92316355-f0b4-4df1-b90c-862c8a59935f commit 871f9d27dc093bc19be25fc632f4ec1cd1687a6a Author: sam Date: Wed Jan 3 22:10:57 2007 +0000 * Implemented %c in our debug() printf implementation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1550 92316355-f0b4-4df1-b90c-862c8a59935f commit 875b8c5a24833ff8a5ff94f05520ecd7de588d4d Author: sam Date: Wed Jan 3 21:53:03 2007 +0000 * Use "strings Date: Wed Jan 3 21:51:11 2007 +0000 * Added a stupid PRNG to streamcat and fdcat. * Do not use sed in the testsuite, because of OS X. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1548 92316355-f0b4-4df1-b90c-862c8a59935f commit 40cd2ff92bfd475f7c63330a6a0196e7784b71bd Author: sam Date: Wed Jan 3 21:20:22 2007 +0000 * No longer use the OS's PRNG, we use our own (based on a Dr Dobbs article from November 1985, page 91). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1547 92316355-f0b4-4df1-b90c-862c8a59935f commit 8440679beb5a497ede45783cf962b288eaec7983 Author: sam Date: Wed Jan 3 20:43:47 2007 +0000 * Split some code into clean functions. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1546 92316355-f0b4-4df1-b90c-862c8a59935f commit c262e3b04a65442545fdd07bff7043cfb26405c5 Author: sam Date: Wed Jan 3 17:58:11 2007 +0000 * Make the testsuite reproductible. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1545 92316355-f0b4-4df1-b90c-862c8a59935f commit 475565b81fbe33886887e21ec29d8132b9a3f784 Author: sam Date: Wed Jan 3 17:57:52 2007 +0000 * Now works on Darwin! git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1544 92316355-f0b4-4df1-b90c-862c8a59935f commit 2ff341f08885ca980ecc2954f49b41be10b16f13 Author: sam Date: Wed Jan 3 09:09:41 2007 +0000 * The whole crap now builds on OS X. Now if it only agreed to run, too... git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1543 92316355-f0b4-4df1-b90c-862c8a59935f commit 2d48100d1abd051770b22b52db858b6f5c615591 Author: sam Date: Wed Jan 3 09:04:01 2007 +0000 * Minor optimisations to the testsuite. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1542 92316355-f0b4-4df1-b90c-862c8a59935f commit 25e2e334d951027b678159bda263215254334ada Author: sam Date: Wed Jan 3 01:28:02 2007 +0000 * Oops, fixed the testsuite again. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1541 92316355-f0b4-4df1-b90c-862c8a59935f commit d229f69f87d0a9c4be891b23d9524f94fc084534 Author: sam Date: Tue Jan 2 18:26:56 2007 +0000 * Oops, fixed stdout writing. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1540 92316355-f0b4-4df1-b90c-862c8a59935f commit cad778250cda8be8c82b8233d690610bbbf9ce81 Author: sam Date: Tue Jan 2 17:15:34 2007 +0000 * Totally reworked webpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1539 92316355-f0b4-4df1-b90c-862c8a59935f commit 0b6c094b887e16809793af3eb94b49baab396e38 Author: sam Date: Tue Jan 2 14:51:55 2007 +0000 * Output process status to stdout, not stderr. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1538 92316355-f0b4-4df1-b90c-862c8a59935f commit acdb9fdcec5ed793cb391cbb83cdd3f0aea736bc Author: sam Date: Tue Jan 2 13:26:32 2007 +0000 * Do not count debug bytes in the --max-bytes count. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1537 92316355-f0b4-4df1-b90c-862c8a59935f commit 52350c75832e804c346efde298988b5c4d2f2a7a Author: sam Date: Tue Jan 2 10:45:19 2007 +0000 * Fix typo in manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1536 92316355-f0b4-4df1-b90c-862c8a59935f commit 8b3d23095aa377dd42f54fdb66f42fc3edd3339e Author: sam Date: Tue Jan 2 01:13:05 2007 +0000 * Use a separate file descriptor for debugging messages, so that the -q flag does not remove debug messages. * Slightly improved fd handling code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1535 92316355-f0b4-4df1-b90c-862c8a59935f commit a54d904955b15916ddf020be960a7333941e91c8 Author: sam Date: Tue Jan 2 00:27:33 2007 +0000 * Made the debug() function signal-safe by reimplementing the necessary subset of fprintf() we needed. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1534 92316355-f0b4-4df1-b90c-862c8a59935f commit a48b358b768e77666390d24315428bbea8568d95 Author: sam Date: Mon Jan 1 21:55:48 2007 +0000 * Deprecate README tutorial. Everything’s in the manpage now. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1533 92316355-f0b4-4df1-b90c-862c8a59935f commit 5b8dae09456d1c1a739c3eacdcf14d97e71f8bd9 Author: sam Date: Mon Jan 1 21:35:54 2007 +0000 * Implemented signal handling. * Updated documentation accordingly and improved a few parts. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1532 92316355-f0b4-4df1-b90c-862c8a59935f commit 0f4ce45838f3f8a6066019fdc933c64081d082bf Author: sam Date: Mon Jan 1 19:49:57 2007 +0000 * Alphabetise flags in help output and manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1531 92316355-f0b4-4df1-b90c-862c8a59935f commit 5b072e01aeed09473923df8a7c2273ba5e20521f Author: sam Date: Mon Jan 1 19:14:55 2007 +0000 * Update documentation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1530 92316355-f0b4-4df1-b90c-862c8a59935f commit afe6d97bc7ce8b9734f032b2356033bd008ebc47 Author: sam Date: Mon Jan 1 18:56:13 2007 +0000 * Switch to REG_EXTENDED. * Implement -c (--cmdline). * Updated documentation accordingly. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1529 92316355-f0b4-4df1-b90c-862c8a59935f commit c2e64f1d37c050a7c08f96c65fa3cdfdfa0df3f2 Author: sam Date: Fri Dec 29 18:13:42 2006 +0000 * Check regex syntax in zzuf. * Fix minor, harmful memory leaks. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1528 92316355-f0b4-4df1-b90c-862c8a59935f commit 1891f39b0b59f09519b28372aacd5965799db178 Author: sam Date: Fri Dec 29 17:49:11 2006 +0000 * Factored regex matching stuff. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1527 92316355-f0b4-4df1-b90c-862c8a59935f commit 0f14107de892b1c622b6c95dfd37179c99a88746 Author: sam Date: Fri Dec 29 17:22:11 2006 +0000 * Added the -i flag (for stdin fuzzing). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1526 92316355-f0b4-4df1-b90c-862c8a59935f commit 62a0e8821e229dfc5e90b88555cb6232daf1b143 Author: sam Date: Fri Dec 29 16:46:06 2006 +0000 * Change -i/-e to -I/-E. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1525 92316355-f0b4-4df1-b90c-862c8a59935f commit 944b9bdf9fef1ff8a1cfaacf2c89cfb881d87948 Author: sam Date: Thu Dec 28 20:32:21 2006 +0000 * Renamed functions here and there. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1524 92316355-f0b4-4df1-b90c-862c8a59935f commit 18f824112152ea395fa29541701a8f4bc7b2823a Author: sam Date: Thu Dec 28 20:22:32 2006 +0000 * Improved zfd_register() and zfd_* function performances. * Changed function names here and there. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1523 92316355-f0b4-4df1-b90c-862c8a59935f commit cf6685d6b3ac0991b7d4e4af14a6539510371ffd Author: sam Date: Thu Dec 28 17:48:05 2006 +0000 * Fixed a partial read data loss bug in the fread implementation. * Cosmetic fixes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1522 92316355-f0b4-4df1-b90c-862c8a59935f commit 3c1c5e12fabc9101ff0164d82dccfada6597b28c Author: sam Date: Thu Dec 28 17:47:26 2006 +0000 * Added cat reimplementations to the testsuite. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1521 92316355-f0b4-4df1-b90c-862c8a59935f commit d32d5babf16d53d29d0fa8ebca3ef1ccbac9f732 Author: sam Date: Thu Dec 28 15:51:43 2006 +0000 * Shorten function names. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1520 92316355-f0b4-4df1-b90c-862c8a59935f commit 5863e7b925aa5ac7fdeba863ac8fa195cbf31bed Author: sam Date: Thu Dec 28 15:48:10 2006 +0000 * Hide struct zzuf behind public functions. No real abstraction yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1519 92316355-f0b4-4df1-b90c-862c8a59935f commit ffb2b21de1ff8599ab20a09578784cdfc00242fc Author: sam Date: Thu Dec 28 15:44:28 2006 +0000 * Add a changelog (from version 1.0). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1518 92316355-f0b4-4df1-b90c-862c8a59935f commit 4f48479e11e401d96948976cef9f283fe2f3921c Author: sam Date: Thu Dec 28 15:44:13 2006 +0000 * Do not put version information in the distributed .so. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1517 92316355-f0b4-4df1-b90c-862c8a59935f commit 5f348bee9696613ee9ee69ee2736dd529f4931f2 Author: sam Date: Thu Dec 28 15:43:28 2006 +0000 * Update documentation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1516 92316355-f0b4-4df1-b90c-862c8a59935f commit ff246c746cc0093bfdf7c5ed190f14255096e2e7 Author: sam Date: Sat Dec 23 19:12:52 2006 +0000 * Oops, correctly install manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1515 92316355-f0b4-4df1-b90c-862c8a59935f commit abe0757d55551c30d8b93f9b525dca8c206f6766 Author: sam Date: Sat Dec 23 18:40:28 2006 +0000 * Typo in Makefile.am. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1514 92316355-f0b4-4df1-b90c-862c8a59935f commit d54d8db8c340ce46d6ac2d6d76b8e333ba42f9f6 Author: sam Date: Sat Dec 23 18:37:52 2006 +0000 * Prepare version 0.1. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1513 92316355-f0b4-4df1-b90c-862c8a59935f commit b4c0935ccf7eb7d019581f5917c85c2f1f1e5b34 Author: sam Date: Fri Dec 22 23:40:03 2006 +0000 * Sync’ed README and manpage. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1512 92316355-f0b4-4df1-b90c-862c8a59935f commit 077054a3cc4e4a064561d648f8f37573c78dfae0 Author: sam Date: Fri Dec 22 23:36:04 2006 +0000 * Slightly updated documentation. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1511 92316355-f0b4-4df1-b90c-862c8a59935f commit d1f8b10b4406ecfa68c2be1981de3825ef63eb3b Author: sam Date: Fri Dec 22 17:01:16 2006 +0000 * Fix stdout/stderr copying. Don't use fprintf for something that can have null bytes (lol @ me). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1510 92316355-f0b4-4df1-b90c-862c8a59935f commit b53d285afd7fdc85097223e19d98a92b03565247 Author: sam Date: Fri Dec 22 16:54:55 2006 +0000 * Fix a cleanup bug in the testsuite. * If any of the tests failed, do not erase the test files. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1509 92316355-f0b4-4df1-b90c-862c8a59935f commit e1adfc44fd1f9f1f903e5b190d3e9a2f092b8743 Author: sam Date: Fri Dec 22 16:36:47 2006 +0000 * Slightly modified --help message. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1508 92316355-f0b4-4df1-b90c-862c8a59935f commit d98b13bf9b3a3c123f09c76d37122139ab367038 Author: sam Date: Fri Dec 22 16:36:30 2006 +0000 * Wrote a manpage. Phew. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1507 92316355-f0b4-4df1-b90c-862c8a59935f commit 7a64c123daa17f5aeaf4b8cefaf0fc14ea3cfb69 Author: sam Date: Fri Dec 22 15:06:21 2006 +0000 * Implement --max-bytes and --max-time. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1506 92316355-f0b4-4df1-b90c-862c8a59935f commit 5a856cd864e8da9ec398266fd2da62c1c34a4148 Author: sam Date: Fri Dec 22 13:53:58 2006 +0000 * Implemented parallelisation. * Implemented “quiet” mode. * Handle stdin and stderr in their own pipes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1505 92316355-f0b4-4df1-b90c-862c8a59935f commit 4d714909cd2fd4c476adb37ea18fd89cd88ef711 Author: sam Date: Fri Dec 22 13:18:13 2006 +0000 * Don’t rely on libzzuf.h in debug.c, so that it can be used in zzuf, too. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1504 92316355-f0b4-4df1-b90c-862c8a59935f commit 0525ddd7c02676049dab2cadf357310a155acee7 Author: sam Date: Thu Dec 21 19:56:22 2006 +0000 * Fork to launch the child and read its stdout/stderr. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1503 92316355-f0b4-4df1-b90c-862c8a59935f commit 343875108d71916e2ce7b865767129d64780e1b6 Author: sam Date: Mon Dec 18 13:23:56 2006 +0000 * Improved help. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1502 92316355-f0b4-4df1-b90c-862c8a59935f commit f0e3700a62d7af44414dea3f82d8dbc6a3b0739b Author: sam Date: Mon Dec 18 12:58:47 2006 +0000 * Improved TODO list. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1501 92316355-f0b4-4df1-b90c-862c8a59935f commit b05f2326f7ba1383c541a8c4bf7d6eb76c934ed0 Author: sam Date: Mon Dec 18 12:48:49 2006 +0000 * More testsuite improvements. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1500 92316355-f0b4-4df1-b90c-862c8a59935f commit cf7c6a6353b7b918a4208b956ea48fa35f90bcef Author: sam Date: Mon Dec 18 11:07:42 2006 +0000 * Better tests and error reporting in the testsuite. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1499 92316355-f0b4-4df1-b90c-862c8a59935f commit f5ef4d4d49a81de0f2d6c9a7a4f411af3cc781d5 Author: sam Date: Sun Dec 17 23:58:23 2006 +0000 * Huge performance improvement by caching the bit array. Yay. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1498 92316355-f0b4-4df1-b90c-862c8a59935f commit 9a3253a9c8de7a325b1b186cae0ac19c1f14c3cc Author: sam Date: Sun Dec 17 22:14:13 2006 +0000 * Added getc(), fgetc(), fgets(), ungetc(), getline() and getdelim(). * sed now works properly. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1497 92316355-f0b4-4df1-b90c-862c8a59935f commit d90c8d8d34d7657f15bdd0ca4d0849a80709423b Author: sam Date: Sun Dec 17 22:12:11 2006 +0000 * Better, more complete testsuite program. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1496 92316355-f0b4-4df1-b90c-862c8a59935f commit 2a44223aaa5b90a48e1f9bb044500574dc69e51e Author: sam Date: Sun Dec 17 17:33:02 2006 +0000 * Added a testsuite script. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1495 92316355-f0b4-4df1-b90c-862c8a59935f commit e34777b38d84bfbd997d6b72dd23ff57f5f59652 Author: sam Date: Sun Dec 17 17:17:31 2006 +0000 * Split preload.c into load-fd.c and load-stream.c. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1494 92316355-f0b4-4df1-b90c-862c8a59935f commit bdf9b43116c6c01e31f097ce8cfe780e7735e370 Author: sam Date: Sat Dec 16 10:37:41 2006 +0000 * Update README file. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1493 92316355-f0b4-4df1-b90c-862c8a59935f commit f0e76579671d435ec92b73d70a31b1a22dba49fa Author: sam Date: Fri Dec 15 20:42:27 2006 +0000 * Added AUTHORS file. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1492 92316355-f0b4-4df1-b90c-862c8a59935f commit e76e830dc0ed123f7d4872ca5000f983dc2c55c7 Author: sam Date: Fri Dec 15 18:49:33 2006 +0000 * More TODO. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1491 92316355-f0b4-4df1-b90c-862c8a59935f commit 01648ee6aad054d2e6deaee48e7e18715b35a270 Author: sam Date: Fri Dec 15 18:48:24 2006 +0000 * Rename zzuf_preload to zzuf_preload_libc. You never know. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1490 92316355-f0b4-4df1-b90c-862c8a59935f commit 309d2231c7acfcffe5caf939a92210d8abc84181 Author: sam Date: Fri Dec 15 17:48:17 2006 +0000 * Added a few examples to README. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1489 92316355-f0b4-4df1-b90c-862c8a59935f commit 9ce2cf73b4b3fa3c28a65851ef32aca83ebd78f1 Author: sam Date: Fri Dec 15 17:47:59 2006 +0000 * Fix ratio so that it talks about bits, not bytes. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1488 92316355-f0b4-4df1-b90c-862c8a59935f commit b7342aa9932677c6d764c9d9171d1b41f6b27d46 Author: sam Date: Fri Dec 15 17:44:20 2006 +0000 * Support --prefix (library location). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1487 92316355-f0b4-4df1-b90c-862c8a59935f commit b5bd3458d137034333562b7c3d1819cb3bed9e1e Author: sam Date: Fri Dec 15 16:10:56 2006 +0000 * Rename percent to ratio. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1486 92316355-f0b4-4df1-b90c-862c8a59935f commit a1f60e0d7cf32a4ebd2448d5dafe143ecd44e61d Author: sam Date: Fri Dec 15 15:07:38 2006 +0000 * Crap, percents could not go higer than 1.0. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1485 92316355-f0b4-4df1-b90c-862c8a59935f commit 178c82d46b051b0db720c5fc156fee542dd05b0d Author: sam Date: Fri Dec 15 14:57:59 2006 +0000 * Switch random back to 32 bits. It's enough (tm). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1484 92316355-f0b4-4df1-b90c-862c8a59935f commit 909599959425f63adab5164980baafcd7891d0bd Author: sam Date: Fri Dec 15 14:07:46 2006 +0000 * Really fix the inconsistency bug. Now dd bs=2048 count=1 gives the same result as dd bs=1 count=2048. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1483 92316355-f0b4-4df1-b90c-862c8a59935f commit 934366dd7667ab3e43b12d06df62d39278397ede Author: sam Date: Fri Dec 15 13:20:01 2006 +0000 * Implemented lseek() and factored lseek64() code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1482 92316355-f0b4-4df1-b90c-862c8a59935f commit 5b04ac93c83e199cbad58c15ce487cde13ff80f6 Author: sam Date: Fri Dec 15 13:12:44 2006 +0000 * Handle percent < 100.0/CHUNK_SIZE a bit better. * Fix a grave index bug in the fuzzer that made everything inconsistent. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1481 92316355-f0b4-4df1-b90c-862c8a59935f commit 8e3241bb8ee503869d323fbd4d704ca66c843084 Author: sam Date: Fri Dec 15 10:18:57 2006 +0000 * Add a printf attribute to the debug function to trap errors. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1480 92316355-f0b4-4df1-b90c-862c8a59935f commit 2d6bfa0f77176df301fe6f1d0c919627d452ab6c Author: sam Date: Fri Dec 15 10:07:53 2006 +0000 * Oops, fix a bug in the lseek64() diversion. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1479 92316355-f0b4-4df1-b90c-862c8a59935f commit 784d34c471e815d82d3a4c586fbd5daa598ee0bc Author: sam Date: Fri Dec 15 10:06:30 2006 +0000 * Divert close, fclose, lseek64. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1478 92316355-f0b4-4df1-b90c-862c8a59935f commit fd9825dd5225c902205f2fc996fc870f1231cefa Author: sam Date: Fri Dec 15 09:08:52 2006 +0000 * Remove useless verbosity. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1477 92316355-f0b4-4df1-b90c-862c8a59935f commit cac118f089b178c7bf70bbde6fc218391684ed97 Author: sam Date: Fri Dec 15 09:03:48 2006 +0000 * Divert fseek(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1476 92316355-f0b4-4df1-b90c-862c8a59935f commit 3cb1ef3522349aea991b000793a28b8e18522d5a Author: sam Date: Fri Dec 15 09:01:46 2006 +0000 * Better error reporting if command failed. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1475 92316355-f0b4-4df1-b90c-862c8a59935f commit 00e5aea1cd4ad4a08d6f732eae718e32c90727a3 Author: sam Date: Fri Dec 15 08:42:27 2006 +0000 * Add --debug. * --include and --exclude now work. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1474 92316355-f0b4-4df1-b90c-862c8a59935f commit 7ad3a52b86b2e4139d0d71d175f1f47fe9f76403 Author: sam Date: Fri Dec 15 08:14:38 2006 +0000 * Add fallbacks to our functions in case other libraries call libc functions in their init constructor (eg. libproc). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1473 92316355-f0b4-4df1-b90c-862c8a59935f commit 1ec3fd16599603a8dfaba0348f2582b464362fd3 Author: sam Date: Fri Dec 15 07:53:09 2006 +0000 * Added code for --include/--exclude. Does not work yet. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1472 92316355-f0b4-4df1-b90c-862c8a59935f commit 2d3ab7f839efeb4072e25b55754053ce1c73f785 Author: sam Date: Fri Dec 15 00:43:39 2006 +0000 * Support fopen64(). git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1471 92316355-f0b4-4df1-b90c-862c8a59935f commit c2094bbdbab3ffb1f4aef791a6e176081db53851 Author: sam Date: Fri Dec 15 00:26:01 2006 +0000 * First somewhat working version. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1470 92316355-f0b4-4df1-b90c-862c8a59935f commit 51b336492c39af8634f99928b29eae48e3bd44e9 Author: sam Date: Thu Dec 14 16:11:14 2006 +0000 * Fix a bug and refactor some code. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1467 92316355-f0b4-4df1-b90c-862c8a59935f commit de6f4e24a1b7425a79415d79ca1b587bbe7d049c Author: sam Date: Thu Dec 14 15:55:18 2006 +0000 * First try at libzzuf. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1466 92316355-f0b4-4df1-b90c-862c8a59935f commit e13ce91133e5a6a1d261b7951d735807e31f4479 Author: sam Date: Thu Dec 14 14:25:10 2006 +0000 * Oops, typo. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1465 92316355-f0b4-4df1-b90c-862c8a59935f commit 3d0ee5546b4ffe3fa704d1a9c4e756517fb80f5f Author: sam Date: Thu Dec 14 14:23:07 2006 +0000 * Easy POC code. We need some LD_PRELOAD shit instead. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1464 92316355-f0b4-4df1-b90c-862c8a59935f commit e876a1102d893c6c40dcee474811ec07deed2b6e Author: sam Date: Wed Dec 13 20:17:27 2006 +0000 * Initial tree. git-svn-id: svn://svn.zoy.org/libcaca/zzuf/trunk@1463 92316355-f0b4-4df1-b90c-862c8a59935f