- To: Troy Noble <troy dot noble at channelpoint dot com>
- Subject: Re: Whither a2ps.exe?
- From: Jason Tishler <jason at tishler dot net>
- Date: Wed, 29 Aug 2001 14:04:00 -0400
- Cc: "'Frank D. Greco'" <fgreco at crossroadstech dot com>
Troy,
On Mon, Aug 27, 2001 at 02:47:13PM -0600, Troy Noble wrote:
> Jason, that'd be great if you could include that userdata
> fix in your contributed version of a2ps. Then I could delete
> my pre-compiled version from my hard drive ;->
>
> [snip]
>
> Here are the changes (sorry no diffs) in case it's of
> use to you or others:
>
> lib/userdata.c line 130 from:
>
> udata->name = xstrdup (name ? name : _("Unknown User"));
>
> to:
>
> udata->name = xstrdup (name ? name : login ? login : _("Unknown User"));
IMO, the above is not necessary if your /etc/passwd file (i.e., GECOS
field) is set up correctly.
Jason