Opened 8 years ago
Closed 8 years ago
#151 closed defect (fixed)
cups-filters: Fix symlinks to executables
Reported by: | dmik | Owned by: | Silvan Scherrer |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | cups | Version: | |
Severity: | medium | Keywords: | |
Cc: |
Description (last modified by )
Turns out that cups makefiles creates a lot of symlinks to executables (e.g. /@unixroot/usr/bin/driverless
pointing to /@unixroot/usr/lib/cpus/driver/driverless
) but they lack the .exe extension which makes these symlinks completely broken (i.e. the proper file for the above case is /@unixroot/usr/lib/cpus/driver/driverless.exe
).
Please note that it's enough to only fix the link's target — the link itself doesn't need an .exe extension in order to work from under sh. It's even desirable that the link itself doesn't have an .exe extension — this will avoid recognising it as an executable by native OS/2 tools like CMD.EXE that don't support kLIBC symlinks so they will fail to execute it anyway.
So, in the above case the fix is to make /@unixroot/usr/bin/driverless
point to /@unixroot/usr/lib/cpus/driver/driverless.exe
, but no need to add .exe to the symlink itself.
Change History (4)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
Summary: | cups: Fix symlinks to executables → cups-filters: Fix symlinks to executables |
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
cups-filters fixed in r2184
cups fixed in r2183