search for: 16380b0

Displaying 1 result from an estimated 1 matches for "16380b0".

Did you mean: 16380
2010 May 04
1
[PATCH] cat.c32: check if filename exists
cat.c32: check if filename exists. Signed-off-by: Gert Hulselmans <gerth at zytor.com> --- com32/samples/cat.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/com32/samples/cat.c b/com32/samples/cat.c index 16380b0..3930f74 100644 --- a/com32/samples/cat.c +++ b/com32/samples/cat.c @@ -15,13 +15,18 @@ int main(int argc, char *argv[]) printf("argv[%d] = %p = \"%s\"\n", i, argv[i], argv[i]); if (argc < 2) { - fprintf(stderr, "Missing file name!\n"); - exit(1); + fprintf(...