- Timestamp:
- Sep 15, 2017 4:51:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/redirect.c
r3053 r3056 1121 1121 if (chOpt == '-') 1122 1122 { 1123 /* '--' indicates where the bits to execute start. */ 1123 /* '--' indicates where the bits to execute start. Check if we're 1124 relaunching ourselves here and just continue parsing if we are. */ 1124 1125 if (*pszArg == '\0') 1125 1126 { 1126 1127 iArg++; 1127 break; 1128 if ( iArg >= argc 1129 || ( strcmp(argv[iArg], "kmk_builtin_redirect") != 0 1130 && strcmp(argv[iArg], argv[0]) != 0)) 1131 break; 1132 continue; 1128 1133 } 1129 1134
Note:
See TracChangeset
for help on using the changeset viewer.