X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=qM0Fldw07qK42cv4HT3L5oqyXxoVZdW/2lg/GxqBWu7
	DS0ZgY7FpWeCWMHfZutaNgIpcOdKl5VqynhLVtI70rRg3vTqVHk7HS/RM7DGNkdF
	1eUONlDHBMVokaqshBdohXKUQ8fBmfYd3xg3fkMj64I04noudRrlb0/qdBeF3VIE
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=3GzHaF1EH+hpLBLiBSxjOMyolj8=; b=cHkONnVpyz0/BvkQU
	4WF6FCzCiK5Tc7GviaeLd9Sj1tyJGx5VQptEu51Liv+jRYeQR4WLM5lELY263ecI
	v3zZn9zxzlWKyrz+lWHxqF12+ATXyfXSfAVxuzpbsERbNf0kcLbwP+oANfeqHOpZ
	OHDyI5U5jhLI/nKexKj9wf5fFE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f169.google.com
X-Received: by 10.194.192.33 with SMTP id hd1mr66612276wjc.96.1433399222595;        Wed, 03 Jun 2015 23:27:02 -0700 (PDT)
Message-ID: <556FEFA8.6010100@gmail.com>
Date: Thu, 04 Jun 2015 08:26:48 +0200
From: Marco Atzeri <marco.atzeri@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: strftime man page is garbled
References: <556FA760.7040501@acm.org> <556FE2DA.7040505@gmail.com> <873828gh5q.fsf@Rainer.invalid>
In-Reply-To: <873828gh5q.fsf@Rainer.invalid>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes



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

