Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Eric Blake
On 06/17/2015 02:57 PM, Yaakov Selkowitz wrote: > On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: >> Busybox does not use autoconf or similar. It requires manual platform >> specific configuration which does not yet support a missing >> sethostname(). After adding HAVE_SETHOSTNAME manu

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Yaakov Selkowitz
On Wed, 2015-06-17 at 22:25 +0200, Christian Franke wrote: > Busybox does not use autoconf or similar. It requires manual platform > specific configuration which does not yet support a missing > sethostname(). After adding HAVE_SETHOSTNAME manually and some other > minor additions, busybox (whic

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Christian Franke
Corinna Vinschen wrote: On Jun 17 07:38, Christian Franke wrote: Corinna Vinschen wrote: On Jun 16 18:27, Christian Franke wrote: Found during an experimental build of busybox: The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on Cygwin. It should be disabled because Cy

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Corinna Vinschen
On Jun 17 16:59, Jon TURNEY wrote: > On 17/06/2015 14:49, Corinna Vinschen wrote: > >On Jun 17 13:37, Jon TURNEY wrote: > >>This patch set changes the DocBook source XML for the Cygwin API reference > >>to > >>use refentry elements, and also generates man pages from that. > >> > >>Again, note that

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Jon TURNEY
On 17/06/2015 14:49, Corinna Vinschen wrote: On Jun 17 13:37, Jon TURNEY wrote: This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the chunked html now has a page for each func

Re: [PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Corinna Vinschen
Hi JOn, On Jun 17 13:37, Jon TURNEY wrote: > This patch set changes the DocBook source XML for the Cygwin API reference to > use refentry elements, and also generates man pages from that. > > Again, note that after this, the chunked html now has a page for each > function, > rather than one co

[PATCH 5/5] winsup/doc: Add man.xsl customization stylesheet

2015-06-17 Thread Jon TURNEY
2015-06-17 Jon Turney * man.xsl: New file. * Makefile.in (utils2man.stamp, api2man.stamp): Use it. Signed-off-by: Jon TURNEY --- winsup/doc/ChangeLog | 5 + winsup/doc/Makefile.in | 8 winsup/doc/man.xsl | 13 + 3 files changed, 22 insertions(

[PATCH 3/5] winsup/doc: Convert cygwin-api function documentation to refentry elements

2015-06-17 Thread Jon TURNEY
Convert cygwin-api from using a sect2 element to using a refentry element for each function. This makes it possible to generate manpage-style output for those elements. Note that the chunked html now generates a page for each function, rather than one containing all functions. Also: Remove poin

[PATCH 1/5] winsup/doc: Rename cygwin.xsl as html.xsl

2015-06-17 Thread Jon TURNEY
For clarity, rename cygwin.xsl as html.xsl, because that's what it is 2015-06-17 Jon Turney * html.xsl: Renamed from cygwin.xsl. Signed-off-by: Jon TURNEY --- winsup/doc/ChangeLog| 4 winsup/doc/Makefile.in | 14 +++--- winsup/doc/{cygwin.x

[PATCH 4/5] winsup/doc: Make and install cygwin-api function manpages

2015-06-17 Thread Jon TURNEY
Use 'xmlto man' to make manpages for utils This will generate multiple .1 files as an output, but we don't know what they will be called, so use a timestamp for build avoidance 2015-06-17 Jon Turney * Makefile.in (api2man.stamp): Add rules to build and install manpages for cyg

[PATCH 0/5] Generate cygwin-api manpages

2015-06-17 Thread Jon TURNEY
This patch set changes the DocBook source XML for the Cygwin API reference to use refentry elements, and also generates man pages from that. Again, note that after this, the chunked html now has a page for each function, rather than one containing all functions. Jon TURNEY (5): winsup/doc: Re

[PATCH 2/5] winsup/doc: Generate ANSI rather than K&R style function prototypes

2015-06-17 Thread Jon TURNEY
Since K&R style prototypes appear to be the default for HTML and FO, customize the stylesheets rendering of funcsynopsis elements to generate ANSI style prototypes instead. 2015-06-17 Jon Turney * fo.xsl: Render funcsynopsis elements as ANSI style function prototypes. *

Re: [PATCH] Hide sethostname() in unistd.h

2015-06-17 Thread Corinna Vinschen
On Jun 17 07:38, Christian Franke wrote: > Corinna Vinschen wrote: > >On Jun 16 18:27, Christian Franke wrote: > >>Found during an experimental build of busybox: > >> > >>The sethostname() prototype in /usr/include/sys/unistd.h is enabled also on > >>Cygwin. > >>It should be disabled because Cygwin