| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | emx opendir bug |
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)SEEN-BY: 633/267 270 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.