Opened 9 years ago

Last modified 9 years ago

#554 closed defect

Trap on rescan following rename caused by pci->pszFileName being NullStr — at Initial Version

Reported by: Gregg Young Owned by:
Priority: minor Milestone: Release_3.24
Component: fm/2 base Version: 3.23
Keywords: Cc:

Description

After I "fixed" the direct edit code it would leave a blank directory line above or below the renamed directory. I added a rescan and the problem was covered up. This seemed fine until it trapped. I traced the trap to UM_RESCAN2 treecnr.c ~791 if (pci && (INT) pci != -1 && pci->pszFileName != NullStr) { fixme? will try checking pci->pszFileName instead of the pointer

if (!(driveflags[toupper(*pci->pszFileName) - 'A'] &

DRIVE_REMOVABLE)

driveserial[toupper(*pci->pszFileName) - 'A'] != -1) {

I added the != NullStr which fixed the trap. I can see we had problems with this in the past based on the fixme. Hopefully this fixed that problem also.

Change History (0)

Note: See TracTickets for help on using tickets.