rpms/libtirpc/devel libtirpc-0.2.0-rc2.patch, NONE, 1.1 libtirpc.spec, 1.48, 1.49 libtirpc-0.2.0-rc1.patch, 1.1, NONE
Steve Dickson
steved at fedoraproject.org
Mon Jun 29 16:57:51 UTC 2009
Author: steved
Update of /cvs/pkgs/rpms/libtirpc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11078
Modified Files:
libtirpc.spec
Added Files:
libtirpc-0.2.0-rc2.patch
Removed Files:
libtirpc-0.2.0-rc1.patch
Log Message:
- Updated to latest upstream tag: 0-2-1-rc2
rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error
clnt_dg: Fix infinite loop when datagram call times ou
Updated .gitignore file
Replace the hard coded path name with the top_srcdir macrc
Added 'doc' to the SUBDIRS list so make install work correctly.
libtirpc-0.2.0-rc2.patch:
--- NEW FILE libtirpc-0.2.0-rc2.patch ---
diff --git a/.gitignore b/.gitignore
index d088f05..f4a325a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,11 @@ src/libtirpc_la-*.lo
*~
# cscope database files
cscope.*
+# files generated by patches
+*.patch
+*.rej
+*.orig
+# files generated by debugging
+.gdb_history
+.gdbinit
+core
diff --git a/Makefile.am b/Makefile.am
index 3e50d3c..7f5f37b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src man
+SUBDIRS = src man doc
nobase_include_HEADERS = tirpc/netconfig.h \
tirpc/rpcsvc/crypt.x \
diff --git a/src/Makefile.am b/src/Makefile.am
index f832baa..7b002da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@
## anything like that.
-INCLUDES = -I../tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
+INCLUDES = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
-D_GNU_SOURCE -Wall -pipe
lib_LTLIBRARIES = libtirpc.la
diff --git a/src/clnt_dg.c b/src/clnt_dg.c
index 2eeaada..2f870b1 100644
--- a/src/clnt_dg.c
+++ b/src/clnt_dg.c
@@ -381,6 +381,10 @@ call_again:
}
send_again:
+ if (total_time <= 0) {
+ cu->cu_error.re_status = RPC_TIMEDOUT;
+ goto out;
+ }
nextsend_time = cu->cu_wait.tv_sec * 1000 + cu->cu_wait.tv_usec / 1000;
if (sendto(cu->cu_fd, cu->cu_outbuf, outlen, 0, sa, salen) != outlen) {
cu->cu_error.re_errno = errno;
diff --git a/src/rpcb_clnt.c b/src/rpcb_clnt.c
index 732c556..6494370 100644
--- a/src/rpcb_clnt.c
+++ b/src/rpcb_clnt.c
@@ -781,7 +781,7 @@ __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
if ((ua == NULL) || (ua[0] == 0)) {
/* address unknown */
rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED;
- continue; /* try other versions */
+ goto error;
}
address = uaddr2taddr(nconf, ua);
#ifdef ND_DEBUG
Index: libtirpc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libtirpc/devel/libtirpc.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -p -r1.48 -r1.49
--- libtirpc.spec 29 May 2009 12:50:00 -0000 1.48
+++ libtirpc.spec 29 Jun 2009 16:57:21 -0000 1.49
@@ -1,6 +1,6 @@
Name: libtirpc
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Transport Independent RPC Library
Group: System Environment/Libraries
License: SISSL and BSD
@@ -30,7 +30,7 @@ Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(devel): pkgconfig man
-Patch1: libtirpc-0.2.0-rc1.patch
+Patch1: libtirpc-0.2.0-rc2.patch
%description devel
This package includes header files and libraries necessary for
@@ -124,6 +124,14 @@ rm -rf %{buildroot}
%{_mandir}/*/*
%changelog
+* Mon Jun 29 2009 Steve Dickson <steved at redhat.com> 0.2.0-2
+- Updated to latest upstream tag: 0-2-1-rc2
+ rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent error
+ clnt_dg: Fix infinite loop when datagram call times ou
+ Updated .gitignore file
+ Replace the hard coded path name with the top_srcdir macrc
+ Added 'doc' to the SUBDIRS list so make install work correctly.
+
* Fri May 29 2009 Steve Dickson <steved at redhat.com> 0.2.0-1
- Updated to latest upstream version: 0.2.0
--- libtirpc-0.2.0-rc1.patch DELETED ---
More information about the fedora-extras-commits
mailing list