[
https://issues.apache.org/jira/browse/COR-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272829#comment-14272829
]
Dennis E. Hamilton commented on COR-24:
---------------------------------------
That's great!
I looked all around and I could not find a dependency. There's a no-prototype
dependency on access(fname, 0) in the tidy code, but that is not defined in
io.h.
There are two <io.h> includes in the w3c-tidy-html5 code, one in config.c and
the other in tidylib.c (down in the middle of the file!). But these reveal
nothing when compiling with the include <io.h> commented out.
I gave up at that point. There were no linker complaints.
> io.h Requirement
> ----------------
>
> Key: COR-24
> URL: https://issues.apache.org/jira/browse/COR-24
> Project: Corinthia
> Issue Type: Bug
> Reporter: Dennis E. Hamilton
> Assignee: Peter Kelly
> Priority: Minor
>
> I notice there is apparently a dependency in
> DocFormats/core/src/lib/DFFilesystem.c on what Windows includes in header
> io.h.
> Exactly what functions and constants are expected that are unavailable when
> io.h is not included?
> (I am not yet able to compile this standalone to find out what is unresolved
> or undeclared.)
> What other library are these defined in when compiling for Linux and OS X?
> I'm asking because I wonder if there is a way to satisfy the dependencies
> without io.h at all. Or without depending on low-level input-output beyond
> the Standard C library. (There are many functions that can be found in more
> than one library.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)