This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [PATCH 2/6] Use makedoc generated texinfo documentation for reentrant syscalls


On 29/07/15 16:55, Jon TURNEY wrote:
On 29/07/2015 11:50, Andre Vieira wrote:
On 23/07/15 13:47, Jon TURNEY wrote:
We use texinfo nodes beginning with an underscore in several other
places, so
revert this ancient workaround for a no longer existing bug, and use
the makedoc
generated texinfo for reentrant versions of syscalls, rather than
handwritten
documentation.

Also alphabetically sort these functions.

Also add documentation for _execve_r, _getpid_r, _kill_r and _times_r
functions,
whose non-reentrant versions are documented as stubs

v2:
Keep _open64_r, _lseek64_r and _fstat64_r functions under texinfo
conditional STDIO64
Add _stat64_r function likewise.
[...]
This is failing for our 32-bit build. The menu entries for _fstat64_r,
_lseek64_r, _open64_r and _stat64_r are included regardless of whether
STDIO64 is set, so if it's not, the nodes they reference will not be
created. This yields errors such as:

./reent/statr.def:1: Prev reference to nonexistent node `_stat64_r'
(perhaps incorrect sectioning?).

Oh dear.  Sorry about that.

I guess the attached is the fix?


Hi Jon,

Yes that works! Thank you.

BR,


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