Opened 6 years ago
Last modified 6 years ago
#33 new defect
CUPS wizard cannot import PPD when %TMP% ends with \
| Reported by: | Lewis Rosenthal | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | wizzard | Version: | |
| Severity: | highest | Keywords: | |
| Cc: |
Description
Apparently, CUPSWIZ doesn't like %TMP% pointing to the root of a volume (e.g., RAM disk) or otherwise contains a trailing slash. When %TMP% is X:\, we get:
line 81 of importPPD in cupwiz.VRM +++ ok=VrMKDir (???dir)
I think we need to escape the trailing slash, e.g.:
workdir = SysTempFileName( globals.!tmpdir'\PPD_????')
ok = VrMkDir( workdir )
IF ok == 1 THEN ok = VrMkDir( workdir'\OUT')
Setting %TMP% to, say, X: works as expected.
Note:
See TracTickets
for help on using tickets.

Fixed in SVN r86 (will be CUPSWIZ v1.19).