This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix the empty dir bug
master
lostd
lostd
10 years ago
parent
908e43cc67
commit
4384f09726
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
noice.c
+ 4
- 0
noice.c
View File
@@ -330,6 +330,10 @@ nochange:
char *ext, *bin;
pid_t pid;
/* Cannot descend in empty directories */
if (n == 0)
goto nochange;
name = dents[cur]->d_name;
switch (dents[cur]->d_type) {
Write
Preview
Loading…
Cancel
Save