This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: strftime man page is garbled




On 6/4/2015 7:46 AM, Achim Gratz wrote:
Marco Atzeri writes:
Works fine for me, I have a complete man page
see attached.

I think that's exactly what Wayne was talking about:

DESCRIPTION
        into a null-terminated string, starting at S and occupying no more than
        MAXSIZE characters.

The beginning of the sentence seems to be missing, although it looks
like a run-in from the NAME section could be intended.  Also, if you
look at that manpage in a wide terminal you'll see that most paragraphs
have hard formatting, while some flow to the width of the terminal.

Both things are happening on other newlib manpages as well, so it's
probably either the source code for the manpages itself or man doesn't
deal with the slightly odd roff macros from newlib correctly.


Regards,
Achim.


you are right.
The man page seems very simple

--------------------------------------------------
.SH DESCRIPTION
'strftime' converts a 'struct tm' representation of the time (at TIMP)
into a null-terminated string, starting at S and occupying no more than
MAXSIZE characters.
--------------------------------------------------

It looks a man-db issue, it misinterprets the ' at the begin
of the phrase.

Adding a single space before works fine.


DESCRIPTION
 'strftime' converts a 'struct tm' representation of the time (at TIMP)
into a null-terminated string, starting at S and occupying no more than
MAXSIZE characters.








--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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