Remove multiline comment
This commit is contained in:
parent
9f39fd2c85
commit
37cbae591c
1 changed files with 1 additions and 2 deletions
3
nsh.c
3
nsh.c
|
@ -223,8 +223,7 @@ int main(int argc, char **argv)
|
||||||
fprintf(stderr, "Unable to open file: %s\n", argv[i]);
|
fprintf(stderr, "Unable to open file: %s\n", argv[i]);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
/* Handle file without extension
|
/* Handle file without extension */
|
||||||
* ext is the extension if . exist in filename, otherwise nothing */
|
|
||||||
char *ext = strrchr(argv[i], '.');
|
char *ext = strrchr(argv[i], '.');
|
||||||
if (ext != NULL) {
|
if (ext != NULL) {
|
||||||
/* How to identify file type if there isn't extension? */
|
/* How to identify file type if there isn't extension? */
|
||||||
|
|
Loading…
Reference in a new issue