| [Overview][Constants][Types][Classes][Procedures and functions][Variables] |
OS treatment of filenames is case sensitive.
Source position: sysunixh.inc line 47
const FileNameCaseSensitive: Boolean = true; |
FileNameCaseSensitive is True if case is important when using filenames on the current OS. In this case, the OS will treat files with different cased names as different files. Note that this may depend on the filesystem: Unix operating systems that access a DOS or Windows partition will have this constant set to true, but when writing to the DOS partition, the casing is ignored.
This constant is part of a set of constants that describe the OS characteristics. These constants should be used instead of hardcoding OS characteristics.
|
Character used to separate directory parts. |
|
|
Character used to separate directory parts. |
|
|
Constant describing the current line ending character. |
|
|
COnstant describing support for long filenames. |
|
|
Character used to separate paths in a search list |
|
|
OS treatment of filenames is case sensitive. |
|
|
Default line ending style. |
The fact that, on DOS and Windows systems, FileNameCaseSensitive is true only when long filename support is available implies to me that the intent is for the filename handling routines (e.g. FExpand) to preserve the case of filenames. However, this has the side-effect that routines such as SameFileName also compare filenames case-sensitively, which is incorrect on these systems.
-- Unregistered Visitor on September 19, 2006 01:29 AM (view details)