Warning fix
Andreas Schwab
schwab@suse.de
Fri Dec 7 07:40:00 GMT 2001
I have committed this to fix a warning: opensock is using strcpy.
Andreas.
2001-12-07 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.
--- sysdeps/unix/sysv/linux/opensock.c.~1.1.~ Fri Dec 7 00:02:00 2001
+++ sysdeps/unix/sysv/linux/opensock.c Fri Dec 7 16:31:58 2001
@@ -19,6 +19,7 @@
#include <assert.h>
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
More information about the Libc-hacker
mailing list