Closed hyln9 closed 10 years ago
ikrt_readdir added in r1763 has some bugs:
gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -g -O2 -DNDEBUG -O3 -Wall -MT ikarus-io.o -MD -MP -MF .deps/ikarus-io.Tpo -c -o ikarus-io.o ../../src/ikarus-io.c ../../src/ikarus-io.c: In function ‘ikrt_readdir’: ../../src/ikarus-io.c:398: error: ‘struct dirent’ has no member named ‘d_namlen’
The d_namlen field is not POSIX and my Ubuntu doesn't have it.
The return from the C readdir function needs to be checked for error.
Attached is a patch to fix these.
Launchpad Details: #LP358538 Derick Eddington - 2009-04-09 11:42:29 -0400
Applied patch in rev 1764. Thanks Derick.
Launchpad Details: #LPC Abdulaziz Ghuloum - 2009-04-09 16:57:39 -0400
ikrt_readdir added in r1763 has some bugs:
gcc -DHAVE_CONFIG_H -I. -I.. -I../../src -g -O2 -DNDEBUG -O3 -Wall -MT ikarus-io.o -MD -MP -MF .deps/ikarus-io.Tpo -c -o ikarus-io.o ../../src/ikarus-io.c ../../src/ikarus-io.c: In function ‘ikrt_readdir’: ../../src/ikarus-io.c:398: error: ‘struct dirent’ has no member named ‘d_namlen’
The d_namlen field is not POSIX and my Ubuntu doesn't have it.
The return from the C readdir function needs to be checked for error.
Attached is a patch to fix these.
Launchpad Details: #LP358538 Derick Eddington - 2009-04-09 11:42:29 -0400