libc-19980601: Hurd weak alias corrections

Gordon Matzigkeit gord@m-tech.ab.ca
Mon Jun 1 22:42:00 GMT 1998


Hi!

The attached patch fixes up some undefined symbols.  Basically, the
problem is that some libc functions were renamed to have `__'
prepended to them (and weak aliases introduced), but the Hurd and
generic ports were not adjusted accordingly.

1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>

	* sysdeps/generic/socket.c (__socket): Renamed from socket, and
	created a weak alias.
	* sysdeps/mach/hurd/socket.c (__socket): Likewise.

	* sysdeps/mach/hurd/write.c (__libc_write): Rename from old
	__write function, and create a weak alias to __write.
	* sysdeps/mach/hurd/read.c (__libc_read): Likewise, for __read.

1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>

	* sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
	ftruncate function, and create a weak alias to ftruncate.

Thanks,

-- 
Gordon Matzigkeit   \ Proudly running pieces of the GNU operating system.
gord@profitpress.com \ Jacques Cousteau loved programming in assembler.



More information about the Libc-alpha mailing list