~mcf/cproc

4b3e5a6bd64335ad207167fa8fd39a098c50c1db — Michael Forney 1 year, 6 months ago 347b7d0
Handle argv = { NULL } in ARGBEGIN
1 files changed, 2 insertions(+), 1 deletions(-)

M arg.h
M arg.h => arg.h +2 -1
@@ 1,6 1,7 @@
#define ARGBEGIN \
	for (;;) { \
		++argv, --argc; \
		if (argc > 0) \
			++argv, --argc; \
		if (argc == 0 || (*argv)[0] != '-') \
			break; \
		if ((*argv)[1] == '-' && !(*argv)[2]) { \