ref: 0b212ed5054cd08bbc14a12936c07bc1ff5890a2
parent: d41f67c2b9cf3f915b12d113bd5952ce90062c8a
author: ftrvxmtrx <[email protected]>
date: Sat Feb 2 11:54:09 EST 2013
cc/lex: do not crash on -I without arg
--- a/sys/src/cmd/cc/lex.c
+++ b/sys/src/cmd/cc/lex.c
@@ -80,7 +80,8 @@
case 'I':
p = ARGF();
- setinclude(p);
+ if(p)
+ setinclude(p);
break;
} ARGEND
if(argc < 1 && outfile == 0) {