packages: rpcbind/rpcbind-sunrpc.patch - s/rpcbind/sunrpc/ in rpcinfo

draenog draenog at pld-linux.org
Fri Jan 8 18:23:29 CET 2010


Author: draenog                      Date: Fri Jan  8 17:23:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- s/rpcbind/sunrpc/ in rpcinfo

---- Files affected:
packages/rpcbind:
   rpcbind-sunrpc.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/rpcbind/rpcbind-sunrpc.patch
diff -u packages/rpcbind/rpcbind-sunrpc.patch:1.1 packages/rpcbind/rpcbind-sunrpc.patch:1.2
--- packages/rpcbind/rpcbind-sunrpc.patch:1.1	Thu Jan  7 21:41:57 2010
+++ packages/rpcbind/rpcbind-sunrpc.patch	Fri Jan  8 18:23:23 2010
@@ -9,3 +9,14 @@
  static char superuser[] = "superuser";
  
  int main __P((int, char *[]));
+--- rpcbind-0.1.7/src/rpcinfo.c~	2010-01-08 16:14:24.592156602 +0000
++++ rpcbind-0.1.7/src/rpcinfo.c	2010-01-08 16:14:31.578838609 +0000
+@@ -633,7 +633,7 @@
+ 	{
+ 	  memset (&hints, 0, sizeof hints);
+ 	  hints.ai_family = AF_INET;
+-	  if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 &&
++	  if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 &&
+               (error = getaddrinfo (host, "portmapper", &hints, &res)) != 0)
+ 	    {
+ 	      fprintf (stderr, "rpcinfo: %s: %s\n",
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpcbind/rpcbind-sunrpc.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list