--- xxgdb-1.12/calldbx.c.orig 2004-05-02 14:56:23.000000000 +0900 +++ xxgdb-1.12/calldbx.c 2004-05-02 15:01:35.000000000 +0900 @@ -309,6 +309,16 @@ close(0); close(1); + /* + * fix: displaying "Warning: Cannot open file hoge.c; Success" + * http://www.geocrawler.com/mail/msg.php3?msg_id=6897861&list=145 + */ + if (open("/dev/null", O_RDONLY) < 0 || + open("/dev/null", O_WRONLY) < 0) { + perror("/dev/null"); + exit(1); + } + #ifdef _POSIX_SOURCE fcntl(master, F_SETFL, O_NONBLOCK); #else