projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated the copyright headers and the version to 1.1.6.
[selector.git]
/
selector.c
diff --git
a/selector.c
b/selector.c
index
effd014
..
0cb82ea
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-3,7
+3,7
@@
* selector is a simple command line utility for selection of strings
* with a dynamic pattern-matching.
*
* selector is a simple command line utility for selection of strings
* with a dynamic pattern-matching.
*
- * Copyright (c) 2009, 2010, 2011 Francois Fleuret
+ * Copyright (c) 2009, 2010, 2011
, 2012
Francois Fleuret
* Written by Francois Fleuret <francois@fleuret.org>
*
* This file is part of selector.
* Written by Francois Fleuret <francois@fleuret.org>
*
* This file is part of selector.
@@
-45,7
+45,7
@@
#include <getopt.h>
#include <limits.h>
#include <getopt.h>
#include <limits.h>
-#define VERSION "1.1.
5
"
+#define VERSION "1.1.
6
"
#define BUFFER_SIZE 4096
#define BUFFER_SIZE 4096
@@
-320,8
+320,9
@@
struct matcher {
};
/* Routine to add an interval to a sorted list of intervals
};
/* Routine to add an interval to a sorted list of intervals
- extermities. Returns the number of extremities. This is an effing
- nightmare */
+ extremities. Returns the resulting number of extremities.
+
+ This routine is an effing nightmare */
int add_interval(int n, int *switches, int start, int end) {
int f, g, k;
int add_interval(int n, int *switches, int start, int end) {
int f, g, k;