From: Hans Hagen <pragma@wxs.nl>
Subject: Re: error messages after installation
Date: Mon, 22 Nov 2004 14:40:10 +0100 [thread overview]
Message-ID: <41A1EC3A.70902@wxs.nl> (raw)
In-Reply-To: <20041122140924.108ff8db.taco@elvenkind.com>
Taco Hoekwater wrote:
> I believe it is possible that this code
>
>
>> if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~ /$EnginePath\/$/))) {
>> $FormatPath .= $EnginePath . '/' ;
>> unless (-d $FormatPath) {
>> mkdir $FormatPath ;
>> }
>> }
>
>
> breaks in perl versions < 5.8.0 because of the trailing slash in the mkdir call.
> It would be great if someone could verify if
>
> mkdir "test/" ;
>
> actually fails in 5.004/5.005/5.6.x (perl58delta seems to hint at that).
> If so, then probably changing the second line to read:
>
> $FormatPath .= $EnginePath ;
>
> will fix the bug.
ah, thanks for looking into it, i changed the code to:
if ($UseEnginePath && ($FormatPath ne '' && ($FormatPath !~
/$EnginePath\/$/))) {
$FormatPath .= $EnginePath ;
unless (-d $FormatPath) {
mkdir $FormatPath ;
}
$FormatPath .= '/' ;
}
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2004-11-22 13:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-20 3:32 ciro
2004-11-20 6:30 ` Willi Egger
2004-11-20 12:14 ` Dirar BOUGATEF
2004-11-20 16:15 ` Ciro A. Soto
2004-11-21 22:03 ` h h extern
2004-11-21 20:02 ` ab
2004-11-21 23:21 ` h h extern
2004-11-22 13:09 ` Taco Hoekwater
2004-11-22 13:40 ` Hans Hagen [this message]
2004-11-22 22:03 ` ab
2004-11-23 9:46 ` Taco Hoekwater
2004-11-23 13:07 ` ab
2004-11-23 14:18 ` Hans Hagen
2004-11-24 1:43 ` ab
2004-11-22 13:14 ` ab
2004-11-22 8:19 ` Taco Hoekwater
2004-11-22 12:50 ` ab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41A1EC3A.70902@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).