projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b370b
)
db.c find_audio_files(): use int rather than char for cwd_fd
author
Andre Noll
<maan@systemlinux.org>
Tue, 20 Feb 2007 20:07:33 +0000
(21:07 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Tue, 20 Feb 2007 20:07:33 +0000
(21:07 +0100)
db.c
patch
|
blob
|
history
diff --git
a/db.c
b/db.c
index
2e4ffbd
..
027dfda
100644
(file)
--- a/
db.c
+++ b/
db.c
@@
-50,7
+50,7
@@
int find_audio_files(const char *dirname, int (*f)(const char *, const char *))
* is usually faster and more reliable than saving cwd in some buffer
* and calling chdir() afterwards (see man 3 getcwd).
*/
-
char
cwd_fd = open(".", O_RDONLY);
+
int
cwd_fd = open(".", O_RDONLY);
struct stat s;
int ret = -1;