Mail Archives: djgpp/1996/09/18/09:33:39
On Wed, 18 Sep 1996, Eli Zaretskii wrote:
>
>On Wed, 18 Sep 1996, Mark Habersack wrote:
>
>> Frankly, I don't see why a program might suffer from seeing hid/sys
>> files?
>
>Because `findfirst' by default doesn't bring the hidden files, and people
>tend to think about `readdir' as a substitute for `findfirst'. If a
>program doesn't expect to get files that it cannot change, it might
>break.
But again, do people that use findfirst/next will use readdir()?
findfirst/next are DOS-specific and are used only in this environment. If
someone tries to write code for Unix without earlier experience, h/she should
expect some differences in some functions and read the docs carefully.
I think that Unix specific routines ported to DOS should behave exactly as
they do in their native environment (you tried to mimic stat
features unsupported by DOS as much as possible Eli, is that right? This is
the right thing to do and I think it should be done for all Unix functions).
**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw...
******************* http://ananke.amu.edu.pl/~grendel ****************
- Raw text -