home *** CD-ROM | disk | FTP | other *** search
- From: gwyn@BRL.MIL
-
- In article <441@longway.TIC.COM> Andy Tanenbaum <uunet!cs.vu.nl!ast> writes:
- -> char d_name[1];
- -What happens when a program allocates a struct dirent in a program? The
- -compiler will not allocate enough storage and it will crash when used.
-
- That's what happens when programmers assume things that are not promised
- by the standards.
-
- -Is it legal to add a line
- -#include <limits.h>
- -in <dirent.h>?
-
- NO.
-
- Volume-Number: Volume 17, Number 70
-
-
-