From 37cbae591c8f4736803358e7a527ff18386ca73a Mon Sep 17 00:00:00 2001 From: night0721 Date: Thu, 24 Oct 2024 11:00:03 +0100 Subject: [PATCH] Remove multiline comment --- nsh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nsh.c b/nsh.c index aa2aa67..53dc891 100644 --- a/nsh.c +++ b/nsh.c @@ -223,8 +223,7 @@ int main(int argc, char **argv) fprintf(stderr, "Unable to open file: %s\n", argv[i]); exit(1); } - /* Handle file without extension - * ext is the extension if . exist in filename, otherwise nothing */ + /* Handle file without extension */ char *ext = strrchr(argv[i], '.'); if (ext != NULL) { /* How to identify file type if there isn't extension? */