Package: afio
Version: 2.5-4

Hi,
I've encountered a minor (cosmetic really) bug in the verbose output of afio; when reading in null-terminated strings from find, afio reports null-terminated strings to stdout, the standard version of afio (built from source, version 2.5) does not do this; instead it replaces the null termination with a line break. The regular \n terminated input works just as expected though.

example:
# find /bin -depth -xdev ! -type s -print0 | afio -o -vv -0 -z -1 m -c 160 -b 64k /dev/null -rwxr-xr-x 1 root root 38664 Jan 30 13:51:15 2007 /bin/dd-rwxr-xr-x 1 root root 56412 Jan 30 13:51:15 2007 /bin/cp-rwxr-xr-x 1 root root 35152 Jan 30 13:51:14 2007 /bin/df-rwxr-xr-x 1 root root 39544 Apr 2 11:23:58 2003 /bin/ed-rwxr-xr-x 1 root root 130232 Feb 1 16:11:21 2005 /bin/ip-rwxr-xr-x 1 root root 22992 Jan 30 13:51:14 2007 /bin/ln-rwxr-xr-x 1 root root 77352 Jan 30 13:51:14 2007 /bin/ls-rwxr-xr-x 1 root root 20192 Mar 24 12:29:13 2006 /bin/nclrwxrwxrwx 1 root root Apr 23 10:43:14 2007 /bin/mt S-> mt-gnu-rwxr-xr-x 1 root root 63376 Jan 30 13:51:14 2007 /bin/mv-rwxr-xr-x 1 root root 65292 Sep 12 21:54:01 2006 /bin/ps-rwxr-xr-x 1 root root 34472 Jan 30 13:51:14 2007 /bin/rmlrwxrwxrwx 1 root root Apr 10 15:32:24 2007 /bin/sh S-> bash-rwsr-xr-x 1 root root 27000 Feb 27 02:53:48 2007 /bin/su-rwxr-xr-x 1 root root 17156 Jan 30 13:51:15 2007 /bin/catlrwxrwxrwx 1 root root Aug 3 16:45:04 2006 /bin/csh S-> /etc/alternatives/csh-rwxr-xr-x 1 root root 77352 Jan 30 13:51:14 2007 /bin/dir-rwxr-xr-x 1 root root 15152 Jan 30 13:51:15 2007 /bin/pwd-rwxr-xr-x 1 root root 40872 Apr 30 17:09:15 2006 /bin/sed-rwxr-xr-x 1 root root 235804 Dec 1 11:40:20 2006 /bin/tar-rwxr-xr-x 1 root root 58208 Nov 25 17:55:14 2006 /bin/afio-rwxr-xr-x 1 root root 677184 Dec 11 16:20:10 2006 /bin/bash-rwxr-xr-x 1 root root 3248 Feb 21 12:48:44 2007 /bin/arch-rwxr-xr-x 1 root root 80200 Feb 2 02:34:07 2007 /bin/dash

... removed some files here to save space ...

-rwxr-xr-x 1 root root 37652 Sep 22 15:24:21 2005 /bin/star_sym-rwxr-xr-x 3 root root 0 Sep 19 08:38:31 2006 /bin/zegrep -> /bin/zgrep-rwxr-xr-x 3 root root 0 Sep 19 08:38:31 2006 /bin/zfgrep -> /bin/zgrep-rwxr-xr-x 1 root root 1525 Sep 19 08:38:31 2006 /bin/zforce-rwxr-xr-x 1 root root 10856 Jul 25 14:04:29 2006 /bin/run-partslrwxrwxrwx 1 root root Apr 10 15:33:19 2007 /bin/kernelversion S-> ../sbin/kernelversionlrwxrwxrwx 1 root root Aug 3 12:32:52 2006 /bin/lsmod.modutils S-> /sbin/lsmod.modutils-rwxr-xr-x 1 root root 15964 Jan 30 13:51:14 2007 /bin/readlink-rwxr-xr-x 1 root root 8308 Aug 25 13:20:30 2006 /bin/bzip2recover-rwxr-xr-x 3 root root 0 Aug 25 13:20:30 2006 /bin/bunzip2 -> /bin/bzcatdrwxr-xr-x 1 root root Apr 23 10:43:14 2007 /binafio: 3m+448k+0 bytes written in 1 seconds. The operation was successful.


compiled from source under debian 4.0:
~/afio-2.5# find /bin -depth -xdev ! -type s -print0 | ./afio -o -vv -0 -z -1 m -c 160 -b 64k /dev/null
-rwxr-xr-x  1 root     root        38664 Jan 30 13:51:15 2007 /bin/dd
-rwxr-xr-x  1 root     root        56412 Jan 30 13:51:15 2007 /bin/cp
-rwxr-xr-x  1 root     root        35152 Jan 30 13:51:14 2007 /bin/df
-rwxr-xr-x  1 root     root        39544 Apr  2 11:23:58 2003 /bin/ed
-rwxr-xr-x  1 root     root       130232 Feb  1 16:11:21 2005 /bin/ip

... removed some files here to save space ...

lrwxrwxrwx 1 root root Apr 10 15:33:19 2007 /bin/kernelversion S-> ../sbin/kernelversion lrwxrwxrwx 1 root root Aug 3 12:32:52 2006 /bin/lsmod.modutils S-> /sbin/lsmod.modutils
-rwxr-xr-x  1 root     root        15964 Jan 30 13:51:14 2007 /bin/readlink
-rwxr-xr-x 1 root root 8308 Aug 25 13:20:30 2006 /bin/bzip2recover -rwxr-xr-x 3 root root 0 Aug 25 13:20:30 2006 /bin/bunzip2 -> /bin/bzcat
drwxr-xr-x  1 root     root              Apr 23 10:43:14 2007 /bin
afio: 3m+448k+0 bytes written in 0 seconds. The operation was successful.


Thanks a bunch!
--Corey

--
Corey Mann
IT Specialist / Systems Administrator
USDA-ARS-MWA-West Lafayette
275 S. Russell St.
West Lafayette, IN 47907
voice:  (765) 494-6175
fax:    (765) 494-1705



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to