Mail Archives: djgpp/1997/04/24/07:45:11
On Mon, 21 Apr 1997, Jim Hunter wrote:
> I think I've found a bug here with either the DJGGP compiler
> or Win95 in the behaviour of _dos_fileattr on globbed long names.
> I've included a short test program and would be grateful if
> someone with a similiar system could run this and tell me
> your results. I'm running Win95 with DJGPP v2.7.2. A
> workaround I've found is to use _chmod with 0 agruments.
That's not a bug, that's a feature. The `_dos_XXX' functions don't
support long filenames. Use `_chmod' which does.
The `_dos_XXX' functions are there only with compatibility with
Microsoft C compilers, no more, no less.
- Raw text -