Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#116 closed defect (fixed)

dirsize.c: read-only directory on non-hpfs drive causes error condition

Reported by: guest Owned by:
Priority: minor Milestone: Release_3.10
Component: fm/2 base Version: 3.10
Keywords: Cc:

Description

On a FAT drive, when I use "sizes" on a directory containing a read-only directory I get an FM/2 message box:

OS/2 can't find directory "c:\utils\ati100\atiplay"
Module: dirsize.c
line number: 158
OS/2 error: 3
Class: Item not located
Action: Bad user input - get new values Location: Random access device such as a disk
"SYS0003: The system cannot find the path specified."

Gregg's comment: This doesn't happen on JFS but a much more involved version occurs on a readonly NTFS drive. The error occurs for every directory and is error 18(ERROR_NO_MORE_FILES) the dialog is populated with directory names but no size information. The error is from a DosFindFirst call. Is it redundant to include FILE_NORMAL and FILE_READONLY etc in this call since FILE_NORMAL means include them all?

Change History (4)

comment:1 by Gregg Young, 17 years ago

Owner: StevenHL removed
Version: 3.05

comment:2 by Gregg Young, 17 years ago

Milestone: Release_3.10

comment:3 by Steven Levine, 17 years ago

Resolution: fixed
Status: newclosed

Appears to that the FAT IFS handles R/O directories differently than any other known IFS. Oh well, changeset #924 avoids the spurious messages.

comment:4 by Steven Levine, 17 years ago

Version: 3.10
Note: See TracTickets for help on using tickets.