1 --- fputs.c.bsdnew 2009-11-11 13:33:08.000000000 -0800
2 +++ fputs.c 2009-11-11 13:33:08.000000000 -0800
3 @@ -44,6 +44,9 @@ __FBSDID("$FreeBSD: src/lib/libc/stdio/f
4 #include "libc_private.h"
7 +// 3340719: __puts_null__ is used if string is NULL. Defined in puts.c
8 +__private_extern__ char const __puts_null__[];
11 * Write the given string to the given file.
13 @@ -56,6 +59,9 @@ fputs(s, fp)
17 + // 3340719: __puts_null__ is used if s is NULL
20 iov.iov_base = (void *)s;
21 iov.iov_len = uio.uio_resid = strlen(s);
23 @@ -64,5 +70,9 @@ fputs(s, fp)
25 retval = __sfvwrite(fp, &uio);
30 +#endif /* __DARWIN_UNIX03 */