At 12:03 19/09/2003 +0200, you wrote:
- if ( -s "$JobName-$MPfile.mp" > 100 ) { $MPJobName = "$JobName-$MPfile.mp" } - elsif ( -s "$MPfile.mp" > 100 ) { $MPJobName = "$MPfile.mp" } - else { $MPJobName = "" } + if ( -e "$JobName-$MPfile.mp" && -s "$JobName-$MPfile.mp" > 100 ) { + $MPJobName = "$JobName-$MPfile.mp" + } elsif ( -e "$JobName-$MPfile.mp" && -s "$MPfile.mp" > 100 ) {
^^^^^^^^^ delete this
+ $MPJobName = "$MPfile.mp" + } else { $MPJobName = "" }
ok, i fixed this, btw, your patch introduces a new bug -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------