projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8b50e
)
Fixed a bug with the result of getopt_long.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 13 Apr 2010 18:49:28 +0000
(20:49 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 13 Apr 2010 18:49:28 +0000
(20:49 +0200)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
3c8f136
..
11265c6
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-803,9
+803,9
@@
static struct option long_options[] = {
int main(int argc, char **argv) {
char input_filename[BUFFER_SIZE], output_filename[BUFFER_SIZE];
- char
c,
*s;
+ char *s;
char pattern[BUFFER_SIZE];
- int k, l, n;
+ int
c,
k, l, n;
int cursor_position;
int error = 0, show_help = 0;
int rest_are_files = 0;