On Monday 24 December 2007, Daniel C. Bastos wrote: > #define min(a,b) (a) <= (b) ? (a) : (b)
there's already a MIN() macro
> #define SIZE 256
non-descript magic #
> int i; char real[128]; char fake[128]; char vargv[8192]; int n;
> strncpy(fake, argv[1], n); fake[n] = '\0';
> strncpy(real, argv[2], n); real[n] = '\0';
these should be on separate lines. i'm guessing your 8192 should actually be
BUFSIZ. then again, the whole arg shifting looks like voodoo and could
(should?) be simpler. *shrug*
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
