Closed GoogleCodeExporter closed 9 years ago
At the moment, the Windows version trusts readdir() to enumerate ".." if the
directory has a parent.
From this report, it seems it's not always true.
Testing with "network" mounted drives letters, it seems also buggy:
- some subdirectories don't show .. even though I have the rights to navigate
there
- The root of one drive shows .. (a false positive)
In any case, note that even when the "parent directory" entry is missing, you
can type ..<enter> in the Filename to go up one directory (except on
Amiga-based OSes).
Original comment by yrizoud
on 17 Sep 2012 at 12:25
Fixed in r1994, but might need a test on Linux, especially with and without
"show hidden files/directory" option
Original comment by yrizoud
on 17 Sep 2012 at 9:12
It crashes during compile with:
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags`
`pkg-config lua --cflags --silence-errors ||pkg-config lua5.1 --cflags
--silence-errors ||pkg-config lua-5.1 --cflags` -D__ENABLE_LUA__ -O
`pkg-config --cflags libpng` -c io.c -o ../obj/unix/io.o
io.c: In function ‘File_is_hidden’:
io.c:342:28: error: ‘entry’ undeclared (first use in this function)
io.c:342:28: note: each undeclared identifier is reported only once for each
function it appears in
io.c:342:28: warning: left-hand operand of comma expression has no effect
io.c:342:28: warning: value computed is not used
io.c:342:28: warning: left-hand operand of comma expression has no effect
io.c:344:1: warning: control reaches end of non-void function
make: *** [../obj/unix/io.o] Error 1
Original comment by gry...@gmail.com
on 22 Sep 2012 at 2:07
Woops sorry. This and other unix-specific errors are fixed by r2006.
Tested on Debian (lenny)
Original comment by yrizoud
on 22 Sep 2012 at 6:03
Original issue reported on code.google.com by
yrizoud
on 17 Sep 2012 at 12:17