ikrt_readdir bugs
Bug #358538 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
Undecided
|
Abdulaziz Ghuloum |
Bug Description
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/
../../src/
../../src/
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.
Related branches
To post a comment you must log in.
Applied patch in rev 1764. Thanks Derick.