This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fwd: Re: Whither a2ps.exe?


I thought that I CC'ed the attached to the list.  Obviously, I didn't.

Jason


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



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]