Date: Mon, 04 Nov 1996 13:35:31 -0500 From: Trevor Blackwell <tlb@viaweb.com> To: freebsd-bugs@freebsd.org Subject: man hangs Message-ID: <199611041835.NAA25430@tintin.uun.org>
next in thread | raw e-mail | index | archive | help
The following patch causes man(1) not to hang in the downcase routine.
System: FreeBSD 2.1.5-RELEASE #2
*** /usr/src/gnu/usr.bin/man/lib/util.c.orig Tue May 30 01:01:55 1995
--- /usr/src/gnu/usr.bin/man/lib/util.c Mon Nov 4 13:24:48 1996
***************
*** 59,65 ****
while ((c = *s) != '\0')
{
if (isalpha (c))
! *s++ = tolower (c);
}
}
--- 59,66 ----
while ((c = *s) != '\0')
{
if (isalpha (c))
! *s = tolower (c);
! s++;
}
}
--
Trevor Blackwell tlb@viaweb.com (617) 876-2692
http://www.viaweb.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611041835.NAA25430>
