diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-19 15:38:15 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-19 15:38:15 +0200 |
commit | 63cac97c24b36295e26600238938c748d676a190 (patch) | |
tree | bc88b0ba1a68ac8ceea70a52d5337013411c6cd3 | |
parent | Rewrite and relicense (diff) | |
download | orphan-reaper-63cac97c24b36295e26600238938c748d676a190.tar.gz orphan-reaper-63cac97c24b36295e26600238938c748d676a190.tar.bz2 orphan-reaper-63cac97c24b36295e26600238938c748d676a190.tar.xz |
Fix arg.h2.3.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | arg.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ extern char *argv0; /* use main(int argc, char *argv[]) */ #define ARGBEGIN for (argv0 = *argv, argv++, argc--;\ - argv[0] && argv[0][1];\ + argv[0] && argv[0][0] && argv[0][1];\ argc--, argv++) {\ char argc_;\ char **argv_;\ |