libiberty/socketpair.c

Jeffrey A Law law@cygnus.com
Wed Oct 13 00:11:00 GMT 1999


  In message <199908080147.DAA04363@mail.macqel.be>you write:
  > It seems like I must send the following here, because it should go into
  > libiberty, altough it is actually needed by gdb.
  > 
  > Mon Jul 19 10:46:18 1999  Philippe De Muyter  <phdm@macqel.be>
  > 
  > 	* configure.in (socketpair): Function added to the list of functions
  > 	to provide.
  > 	* socketpair.c: New file.
This can't be accepted as-is.

I suspect the first time someone tries to compile libiberty for some embedded
system it's going to blow up because you're depending on socket.h and in.h.

You're going to have to somehow conditionalize building of this module on the
existence of certain header files it needs.

You also should add a copyright notice to the file.  LGPL would be appropriate
I believe.





More information about the Gcc-patches mailing list