Opened 12 years ago

Closed 12 years ago

Last modified 12 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:


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 Changed 12 years ago by gyoung

  • Owner StevenHL deleted
  • Version 3.05 deleted

comment:2 Changed 12 years ago by gyoung

  • Milestone set to Release_3.10

comment:3 Changed 12 years ago by stevenhl

  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 12 years ago by stevenhl

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