Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 30 Dec 2003 17:57:38 +0000 (17:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 30 Dec 2003 17:57:38 +0000 (17:57 +0000)
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.

ChangeLog
manual/string.texi
sunrpc/pmap_clnt.c

index 23bd15e..64f4bd2 100644 (file)
--- 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.
index 2194159..f840f64 100644 (file)
@@ -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
index 7c9a5a3..d88487d 100644 (file)
@@ -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 */