This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Duplicates between cygwin1.dll and libc.a.
- From: "Robert Collins" <lifeless at bigpond dot net dot au>
- To: <cygwin-developers at cygwin dot com>
- Date: Wed, 29 May 2002 22:23:56 +1000
- Subject: Duplicates between cygwin1.dll and libc.a.
The following functions (at a minimum):
`malloc':
`free':
`realloc':
`strerror':
`setenv':
`unsetenv':
`getenv':
Are defined in both the libc source and the cygwin source. Which one is
exposed for user programs to link against, and is the second one
A) used by cygwin internally
B) not used in the cygwin environment at all
?
The libc code all seem to be the same - they call the _foo_r version of
the same function, and there are no obvious duplicates there. I'm still
working on profiling, for those who are interested.
Rob