Date: Thu, 24 Apr 1997 14:37:28 +0300 (IDT) From: Eli Zaretskii To: Jim Hunter cc: djgpp AT delorie DOT com Subject: Re: A Globbing Problem In-Reply-To: <335BF613.5BAB@jhuapl.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.