Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging

[ROCm/clr commit: 36298f36d3]
Этот коммит содержится в:
Jason Tang
2021-11-23 16:36:34 -05:00
коммит произвёл Gerrit Code Review
родитель 7d6aaab5dd 244fb0defd
Коммит 4151dfab84
+2 -1
Просмотреть файл
@@ -42,7 +42,8 @@ int getopt(int argc, char *const argv[], const char *optstring) {
return '?';
}
optarg = argv[optind];
optind++;
}
optind++;
return opt;
}