Date: Fri, 3 May 2002 10:05:25 -0700 (PDT) From: "J. Mallett" <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xargs xargs.c Message-ID: <200205031705.g43H5Pe26546@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2002/05/03 10:05:25 PDT Modified files: usr.bin/xargs xargs.c Log: Rewrite the loop that handles substitution in the -I case, and try to make it easier to understand. Making it easy to understand isn't all that easy, so litter the code with comments so some other poor soul can come along some day and work on this if they see fit to do so. Avoid calling strlen(3) to check for a nil-string, when we can just check for *str=='\0'. Approved by: src/tools/regression/usr.bin/xargs/ Revision Changes Path 1.25 +75 -15 src/usr.bin/xargs/xargs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205031705.g43H5Pe26546>