1 --- src/update.c 2009-08-15 20:57:00.000000000 +0200
2 +++ src/update.c 2009-10-02 13:37:45.000000000 +0200
7 -/* we don't look at "." / ".." nor files with newlines in their name */
8 -static bool skip_path(const char *path)
9 +/* we don't look at hidden files nor files with newlines in them */
10 +static int skip_path(const char *path)
12 - return (path[0] == '.' && path[1] == 0) ||
13 - (path[0] == '.' && path[1] == '.' && path[2] == 0) ||
14 - strchr(path, '\n') != NULL;
15 + return (path[0] == '.' || strchr(path, '\n')) ? 1 : 0;