OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83faee
)
I missed a spot.
author
Eric Andersen
<andersen@codepoet.org>
Mon, 12 Aug 2002 10:57:40 +0000
(10:57 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 12 Aug 2002 10:57:40 +0000
(10:57 -0000)
-Erik
libc/inet/rpc/ruserpass.c
patch
|
blob
|
history
diff --git
a/libc/inet/rpc/ruserpass.c
b/libc/inet/rpc/ruserpass.c
index
c548bde
..
5db3e56
100644
(file)
--- a/
libc/inet/rpc/ruserpass.c
+++ b/
libc/inet/rpc/ruserpass.c
@@
-118,7
+118,9
@@
int ruserpass(const char *host, const char **aname, const char **apass)
return (0);
}
/* No threads use this stream. */
+#ifdef __UCLIBC_HAS_THREADS__
__fsetlocking (cfile, FSETLOCKING_BYCALLER);
+#endif
if (gethostname(myname, sizeof(myname)) < 0)
myname[0] = '\0';
mydomain = strchr(myname, '.');