News for hackers. Stuff that matters.
Re:Unix V5, OpenBSD, Plan 9, FreeBSD, and GNU Coreutils Impl... by arbre on Sunday February 22, 2015 @01:39AM (#9088517)
What if argc == 1 in the OpenBSD version ? You evaluate *++argv which is not defined.
Re:Unix V5, OpenBSD, Plan 9, FreeBSD, and GNU Coreutils Impl... by andrewf on Sunday February 22, 2015 @02:04AM (#9088569)
argv[argc] is defined to be a null pointer.