Subj : emx opendir bug To : All From : andrew clarke Date : Thu Jan 30 2003 11:07 pm While writing my own portable opendir/readdir/closedir functions for DOS, 32-bit Windows and OS/2 programs I came across a bug with EMX 0.9d, causing it to segfault: #include #include int main(void) { opendir("/"); return 0; } process 3 get hardware fault 13 (general protection) at 104C4 Program received signal SIGSEGV, Segmentation fault. 0x104c4 in _trslash () (gdb) bt #0 0x104c4 in _trslash () #1 0x10203 in _opendir () #2 0x1004e in main () at emxbug.c:6 --- timEd/Cygwin 1.11.a1 * Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/267.1) .