AmigaLabs / clib4

Clib4 for AmigaOS4
Other
14 stars 7 forks source link

Further patches on the unix->amiga path translation algorithm #194

Closed elfpipe closed 3 months ago

elfpipe commented 3 months ago

1) Roll back the snip that introduces default (native) path search for unix->amiga path translation, because it can break the resulting program in cases, where such an object exists on the system path but not in the current dir. (stat(EXISTS) will return true in such cases, when the correct answer is false.

2) Comment out/suggest removal of the snip, that tags on the current path to an immediate (no-path) object in unix->amiga path translation, because of a parallel and very opposite case : If the program is trying to execute a command on the system search path, this snip will tag on code, that makes it impossible for the call (for instance popen) to find the command.