[677] in RedHat Linux List

home help back first fref pref prev next nref lref last post

YP/NIS and NFS servers fix (libc fix)

daemon@ATHENA.MIT.EDU (Miguel de Icaza)
Thu Oct 24 02:41:39 1996

To: redhat-list@redhat.com, sparc-list@redhat.com
CC: sog@msg.com.mx
From: Miguel de Icaza <miguel@nuclecu.unam.mx>
Date: 24 Oct 1996 00:31:02 -0500
In-Reply-To: "Eric J. Merkel"'s message of Tue, 22 Oct 1996 18:37:24 -0400
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


I have fixed the problem I reported today regarding the problem that
nfs services crashed if the machine was a NIS client and the hosts was
not declared on the /etc/hosts).

I have included a diff here against libc 5.3.12.

I am rebuilding the Linux/SPARC libc rpm and will make it available
tomorrow as soon as possible.

--- libc-5.3.12/libc/nys/nsw/src/yp/yp_misc.c.old	Thu Oct 24 01:05:52 1996
+++ libc-5.3.12/libc/nys/nsw/src/yp/yp_misc.c	Thu Oct 24 01:13:52 1996
@@ -92,10 +92,12 @@
      * simplify parsing of the YP maps.  MAG.
      */
 
-    if (delim == ' ')
+    if (delim == ' '){
        while (*str && (!isspace(*str)))
 	  str++;
-    else
+       while (*str && *(str+1) && isspace (*(str+1)))
+	  str++;
+    } else
        while (*str && *str != delim)
 	  str++;
 



--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post