jayacotton / find

A find command for cp/m written in C
9 stars 1 forks source link

Sometimes the drive letter is off by one. #1

Closed jayacotton closed 3 years ago

jayacotton commented 3 years ago

so find . -name help.hlp reports g:help.hlp

The file is really on f:help.hlp

jayacotton commented 3 years ago

The drive letter is consistently off by one.

jayacotton commented 3 years ago

It looks like find is getting out of sync with CP/M find-first/find-next system call.. elusive ...

jayacotton commented 3 years ago

Well, I fixed it. This was a really obscure bug. It seems that you can not put a drive number into the FCB while searching for files on a specific drive. The drive number position must be 0.