Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump version to 0.5.8
[vor.git]
/
file.c
diff --git
a/file.c
b/file.c
index
5ce183f
..
5f6204d
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-52,7
+52,8
@@
find_files(void)
return true;
}
return true;
}
-FILE *open_score_file(char *mode)
+FILE *
+open_score_file(char *mode)
{
return fopen("scores", mode);
}
{
return fopen("scores", mode);
}
@@
-98,10
+99,10
@@
is_dir(char *dirname)
}
static bool
}
static bool
-is_file(char *dirname)
+is_file(char *filename)
{
struct stat buf;
{
struct stat buf;
- if(stat(dirname, &buf)) {
+ if(stat(filename, &buf)) {
return false;
}
return S_ISREG(buf.st_mode);
return false;
}
return S_ISREG(buf.st_mode);