Soft'N'Design Software
/
projects
/
hexdump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09776c0
)
cleaning
master
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 9 Jan 2024 13:14:19 +0000
(14:14 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 9 Jan 2024 13:14:19 +0000
(14:14 +0100)
hexdump.c
patch
|
blob
|
blame
|
history
diff --git
a/hexdump.c
b/hexdump.c
index c65675b1acd1695ddf7eb016070e0104be1b3a4c..02814449497c964194fcbd51abc6f53e08e42c1d 100644
(file)
--- a/
hexdump.c
+++ b/
hexdump.c
@@
-526,14
+526,13
@@
int main (int argc, char *argv[])
}
/* check input */
+ fin = stdin;
if (input) {
fin = fopen (input, "rb");
if (!fin) {
VERBOSE (ERROR, fprintf (stderr, "error: can't open file '%s'\n", input));
return 1;
}
- } else {
- fin = stdin;
}
/* check output */