Re: [Templates] Template2/lib/Template/Plugin/File.pm: bug in File.user method

[prev] [thread] [next] [Date index for 2004/12/21]

From: Alex Vandiver
Subject: Re: [Templates] Template2/lib/Template/Plugin/File.pm: bug in File.user method
Date: 13:56 on 21 Dec 2004
On Mon, 2004-07-12 at 11:59 +0200, Lubomir Host wrote:
> Hi!
> [snip]
This (one-character!) patch has still not been applied -- just trying to
make sure it hasn't slipped through the cracks.
 - Alex

> -----------------------------------%<-----------------------------------
> --- Template2/lib/Template/Plugin/File.pm.orig	2004-07-12 11:44:27.000000000 +0200
> +++ Template2/lib/Template/Plugin/File.pm	2004-07-12 11:44:35.000000000 +0200
> @@ -101,7 +101,7 @@
>  	    || return $class->throw("$abs: $!");
>  	@$self{ @STAT_KEYS } = @stat;
>  	unless ($config->{ noid }) {
> -	    $self->{ user  } = eval { &getpwuid( $self->{ uid }) || $self->{ uid } };
> +	    $self->{ user  } = eval { getpwuid( $self->{ uid }) || $self->{ uid } };
>  	    $self->{ group } = eval { getgrgid( $self->{ gid }) || $self->{ gid } };
>  	}
>  	$self->{ isdir } = -d $abs;
> -----------------------------------%<-----------------------------------

        -- 
        Networking -- only one letter away from not working


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

Re: [Templates] Template2/lib/Template/Plugin/File.pm: bug in File.user method
Alex Vandiver 13:56 on 21 Dec 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52