Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
91a8e0d7
Commit
91a8e0d7
authored
Feb 18, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Feb 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DRIVE_FindDriveRoot() always checked from drive A: to Z: for each
path component even if a match already occurred.
parent
853043b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
drive.c
files/drive.c
+5
-4
No files found.
files/drive.c
View file @
91a8e0d7
...
...
@@ -65,7 +65,7 @@ typedef struct
char
label_read
[
12
];
/* drive label as read from device */
DWORD
serial_conf
;
/* drive serial number as cfg'd in wine.conf */
DRIVETYPE
type
;
/* drive type */
UINT
flags
;
/* drive flags */
UINT
flags
;
/* drive flags */
dev_t
dev
;
/* unix device number */
ino_t
ino
;
/* unix inode number */
}
DOSDRIVE
;
...
...
@@ -338,6 +338,7 @@ int DRIVE_FindDriveRoot( const char **path )
{
rootdrive
=
drive
;
*
path
=
p
;
break
;
}
}
...
...
@@ -1090,8 +1091,8 @@ BOOL WINAPI GetDiskFreeSpaceExW( LPCWSTR root, PULARGE_INTEGER avail,
* GetDriveType16 (KERNEL.136)
* This function returns the type of a drive in Win16.
* Note that it returns DRIVE_REMOTE for CD-ROMs, since MSCDEX uses the
* remote drive API. The returnvalue DRIVE_REMOTE for CD-ROMs has been
* verified on Win3.11 and Windows 95. Some programs rely on it, so don't
* remote drive API. The return
value DRIVE_REMOTE for CD-ROMs has been
* verified on Win
3.11 and Windows 95. Some programs rely on it, so don't
* do any pseudo-clever changes.
*
* RETURNS
...
...
@@ -1396,7 +1397,7 @@ BOOL WINAPI GetVolumeInformationA( LPCSTR root, LPSTR label,
if
(
DOSDrives
[
drive
].
flags
&
DRIVE_CASE_SENSITIVE
)
*
flags
|=
FS_CASE_SENSITIVE
;
if
(
DOSDrives
[
drive
].
flags
&
DRIVE_CASE_PRESERVING
)
*
flags
|=
FS_CASE_IS_PRESERVED
;
*
flags
|=
FS_CASE_IS_PRESERVED
;
}
if
(
fsname
)
{
/* Diablo checks that return code ... */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment