Hi All,

I notice that in the initForWritingAtPath: method of GSFileHandle,
O_CREAT is not among the flags passed to open.  So, consequently,
if you try to open a non-existent file with code like
   GSFileHandle * my_handle=[[GSFileHandle alloc] initForWritingAtPath:path];
it won't work.

So, i presume this means that this is not the best way to
deal with opening (and writing to) files?

Thanks in advance for any advice on a better way to open a non-existent
file for writing.

dan
_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to