Matthias Huerlemann <[EMAIL PROTECTED]> wrote:

> Hello

> This patch is not meant to repair a bug. It is rather a microscopic
> feature request:
> The ".include" statement does not allow absolute paths like:

> .include "/home/user/folder/file.pir"

I think, if the filename looks like an absolute path, it should be used
as is. That's rather easy in that case (*file_name == '/') but not so
easy to get it right for all platforms (e.g. "c:file_name" vs
"c:\\file_name") and so on.

The relevant Perl libs should have implementations of the necessary
tweaks.

> Is this behaviour wanted?

Trying "/" . file_name looks wrong to me.

> Please tell me if I have done something terribly wrong ;-)

The patch looks fine, though ;)

Thanks,
leo

Reply via email to