projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec34511
)
tail: declare "file descriptor" variable to be "int", not size_t
author
Jim Meyering
<meyering@redhat.com>
Wed, 8 Jul 2009 17:51:22 +0000
(19:51 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Wed, 8 Jul 2009 17:52:58 +0000
(19:52 +0200)
* src/tail.c (tail_forever_inotify): Use "int", not size_t
as the type of a file descriptor variable.
src/tail.c
patch
|
blob
|
history
diff --git
a/src/tail.c
b/src/tail.c
index b3ebba9d608e2b7f75730bb1f2633ba6c346e641..79c5576360af948da218e5cdaf04e175dcbedfce 100644
(file)
--- a/
src/tail.c
+++ b/
src/tail.c
@@
-1169,7
+1169,7
@@
tail_forever_inotify (int wd, struct File_spec *f, int n_files)
Hash_table *wd_table;
bool found_watchable = false;
-
size_
t prev_wd;
+
in
t prev_wd;
size_t evlen = 0;
char *evbuf;
size_t evbuf_off = 0;