Mail Archives: djgpp/1998/05/02/18:50:40
From: | michael DOT mauch AT gmx DOT de (Michael Mauch)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | _chmod() vs. _dos_setfileattr()/_dos_getfileattr() and long filenames
|
Date: | Sat, 02 May 1998 17:50:13 +0200
|
Organization: | Gerhard-Mercator-Universitaet -GH- Duisburg
|
Lines: | 16
|
Message-ID: | <6iffaj$ksp$1@news-hrz.uni-duisburg.de>
|
NNTP-Posting-Host: | ppp109.uni-duisburg.de
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
_dos_setfileattr() and _dos_getfileattr() don't handle long filenames, I
propose to mention that in the docs.
On the other hand, _chmod() does handle long filenames, although the
docs say:
"This is a direct connection to the MS-DOS chmod function call, int
0x21, %ax = 0x4300/0x4301."
That's true for _dos_setfileattr() and _dos_getfileattr(), but not for
_chmod(). _chmod() uses int 0x21, %ax = 0x7143 if _USE_LFN is set.
Regards...
Michael
- Raw text -