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.
This commit is contained in:
Ulrich Drepper 2003-12-30 17:57:38 +00:00
parent e5ebb9ca48
commit 5bd4d36871
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View 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

View 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 */