diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-30 17:57:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-30 17:57:38 +0000 |
commit | 5bd4d36871617c9ef72f5c63b6f0d527642d32d2 (patch) | |
tree | 450cdb2dd92cf4499a0eada2c1bc262440199146 | |
parent | e5ebb9ca48af0cb491663a3f368ac49268e14420 (diff) | |
download | glibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.tar.gz glibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.tar.xz glibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.zip |
Update.
2003-12-30 Jakub Jelinek <jakub@redhat.com> * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL failed. Reported by Steve Grubb.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | manual/string.texi | 2 | ||||
-rw-r--r-- | sunrpc/pmap_clnt.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 23bd15ed1e..64f4bd2ba0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-30 Jakub Jelinek <jakub@redhat.com> + + * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL + failed. Reported by Steve Grubb. + 2003-12-29 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add a few definitions from Solaris 9. diff --git a/manual/string.texi b/manual/string.texi index 21941594b1..f840f64564 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1763,7 +1763,7 @@ character of the substring, or a null pointer if no match was found. If @comment wchar.h @comment XPG @deftypefun {wchar_t *} wcswcs (const wchar_t *@var{haystack}, const wchar_t *@var{needle}) -@code{wcsstr} is an depricated alias for @code{wcsstr}. This is the +@code{wcswcs} is an deprecated alias for @code{wcsstr}. This is the name originally used in the X/Open Portability Guide before the @w{Amendment 1} to @w{ISO C90} was published. @end deftypefun diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c index 7c9a5a37c4..d88487d8f4 100644 --- a/sunrpc/pmap_clnt.c +++ b/sunrpc/pmap_clnt.c @@ -135,7 +135,7 @@ pmap_set (u_long program, u_long version, int protocol, u_short port) tottimeout) != RPC_SUCCESS) { clnt_perror (client, _("Cannot register service")); - return FALSE; + rslt = FALSE; } CLNT_DESTROY (client); /* (void)close(socket); CLNT_DESTROY closes it */ |