[git commit nptl] utent.c: fix a few bugs, and shrink a bit

Austin Foxley austinf at cetoncorp.com
Fri Sep 18 18:16:43 UTC 2009


> +    if (static_fd < 0) {
>  #ifdef __UCLIBC_HAS_THREADS_NATIVE__
> -	ret = fcntl_not_cancel(static_fd, F_GETFD, 0);
> +	static_fd = open(static_ut_name, O_RDWR);
>  #else
> -	ret = fcntl(static_fd, F_GETFD, 0);
> +	static_fd = open_not_cancel_2(static_ut_name, O_RDWR);
>  #endif

Yeah I just realized I merged that horribly wrong. Will be fixed in a moment.

-Austin


More information about the uClibc-cvs mailing list