[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Leafnode-1.9.5b2

Matthias Andree wrote:

> krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:
> > which I think is not exactly helpful, especially because I don't know what
> > sets _FILE64. In any case, when I tried to compile newsq.c I could make
> > the warning vanish by changing line 45 to
> > 
> >                 printf("%s: %8u bytes, spooled %s\tFrom: %-.66s\n"
> >                             ^^^
>                                                    ^
> it lacks an \n here (in front of the \t) for proper layout.

Does it? On my ancient libc5, ctime() automatically attaches an \n to the
output string by itself, i.e. the output looks something like

28900-943543591-1:     1268 bytes, spooled Thu Nov 25 16:26:31 1999
        From: Cornelius Krasel <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
        Ngrp: de.comp.os.unix.linux.misc
        Subj: Re: Login-Screen-Text "Welcome to SuSE Linux..."  =?ISO-8859-1?Q?=

which is the way it should look like (IMO, of course). (Did I ever mention
that I hate portable programming?)


/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list