projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7855e1e
)
Avoid use of private FTS type name.
author
Jim Meyering
<jim@meyering.net>
Mon, 31 Dec 2007 13:00:17 +0000
(14:00 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 31 Dec 2007 13:00:46 +0000
(14:00 +0100)
* lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
ChangeLog
patch
|
blob
|
history
lib/fts.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
61bafea
..
b932ad2
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2007-12-31 Jim Meyering <jim@meyering.net>
+
+ Avoid use of private FTS type name.
+ * lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
+
2007-12-30 Bruno Haible <bruno@clisp.org>
Unify 5 copies of the KMP code.
diff --git
a/lib/fts.c
b/lib/fts.c
index
ceb8935
..
82ea8f6
100644
(file)
--- a/
lib/fts.c
+++ b/
lib/fts.c
@@
-1475,7
+1475,7
@@
fts_sort (FTS *sp, FTSENT *head, register size_t nitems)
* 40 so don't realloc one entry at a time.
*/
if (nitems > sp->fts_nitems) {
-
struct _ftsent
**a;
+
FTSENT
**a;
sp->fts_nitems = nitems + 40;
if (SIZE_MAX / sizeof *a < sp->fts_nitems