Creating files: Lack of error checking in TF kernel (Developers)
> > Oh, so are you creating/truncating a file (by opening it) in this case?
> > Yes, that shouldn't work if the directory is write-protected
>
> So what was write-protected now?
If the disk device is write-protected, then the file system is write-protected.
If the file system is write-protected, then the directories are write-protected.
Was this conclusion so hard?
> > As an aside DJGPP appears to use the obsolete function 3Ch to open the file
>
> Would you like to use my program UI21DEB to verify this?
No thanks. I only read that DJGPP uses function 3Ch in the DJGPP list quotation RayeR provided. But it's not worth looking into right now. This is just trivia not really related to this topic.
---
l
Complete thread:
- Different behavior of fopen("w") under freedos and msdos? - RayeR, 16.03.2011, 00:55 (Developers)
- Different behavior of fopen("w") under freedos and msdos? - ecm, 16.03.2011, 18:27
- Different behavior of fopen("w") under freedos and msdos? - RayeR, 17.03.2011, 14:58
- Creating files: Lack of error checking in TF kernel - ecm, 17.03.2011, 15:40
- Creating files: Lack of error checking in TF kernel - ecm, 08.04.2011, 21:38
- Creating files: Lack of error checking in TF kernel - RayeR, 10.04.2011, 00:25
- Creating files: Lack of error checking in TF kernel - ecm, 10.04.2011, 00:35
- Creating files: Lack of error checking in TF kernel - RayeR, 10.04.2011, 00:25
- Creating files: Lack of error checking in TF kernel - DOS386, 03.05.2011, 09:56
- Creating files: Lack of error checking in TF kernel - ecm, 03.05.2011, 18:03
- Creating files: Lack of error checking in TF kernel - DOS386, 04.05.2011, 11:14
- Terminology - ecm, 04.05.2011, 14:07
- Creating files: Lack of error checking in TF kernel - DOS386, 04.05.2011, 11:14
- Creating files: Lack of error checking in TF kernel - RayeR, 04.05.2011, 18:48
- Creating files: Lack of error checking in TF kernel - ecm, 03.05.2011, 18:03
- Creating files: Lack of error checking in TF kernel - ecm, 08.04.2011, 21:38
- Creating files: Lack of error checking in TF kernel - ecm, 17.03.2011, 15:40
- Different behavior of fopen("w") under freedos and msdos? - RayeR, 17.03.2011, 14:58
- Different behavior of fopen("w") under freedos and msdos? - ecm, 16.03.2011, 18:27