git.iko.soy
/
project-m36
readme
files
commits
refs
on
master
help
sign in
Close file descriptor
1005d76
Petter Rasmussen
9 years ago
cbits/DirectoryFsync.c
+2
compare with master
unified
split
@@ -29,6 +29,7 @@ int cDirectoryFsync(char *path)
29
29
30
if
(!S_ISDIR(fdstat.st_mode))
30
if
(!S_ISDIR(fdstat.st_mode))
31
{
31
{
32
+
close(fd);
32
return
ENOTDIR;
33
return
ENOTDIR;
33
}
34
}
34
35
@@ -43,6 +44,7 @@ int cDirectoryFsync(char *path)
43
{
44
{
44
return
errno;
45
return
errno;
45
}
46
}
47
+
close(fd);
46
return
0
;
48
return
0
;
47
}
49
}
48
#endif
50
#endif
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list