[uClibc][PATCH] __fsetlocking unresolved in CVS uClibc
Erik Andersen
andersen at codepoet.org
Thu Nov 21 21:42:03 UTC 2002
On Thu Nov 21, 2002 at 02:23:16PM -0500, Pavel Roskin wrote:
> This patch helps:
> ==================================
> --- libc/unistd/usershell.c
> +++ libc/unistd/usershell.c
> @@ -109,7 +109,9 @@ static char ** initshells(void)
> goto cleanup;
> }
> /* No threads using this stream. */
> +#ifdef __UCLIBC_HAS_THREADS__
> __fsetlocking (fp, FSETLOCKING_BYCALLER);
> +#endif
> sp = shells;
> cp = strings;
> flen = statb.st_size;
My fault, sorry about that. Applied,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list