Mail Archives: djgpp/1996/12/05/06:54:28
(1) In v2, if I call open("filename",mode) with two args to create a new
file and write to it, even if I use mode O_RDWR, the file is created with its
DOS readonly attribute set so it can't be altered or deleted afterwards
(unless I state the permission required, as open("filename",mode,S_IWUSR)).
This is unexpected and annoying, and did not happen in v1. Why is this?
(2) How can I look through a big Gnu C++ program for unused functions and
global variables? I was once advised to use NM, which I just did; but I could
not see in its output anything that told me whether each symbol is ever
referred to or not.
- Raw text -