Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.bugs.4bsd Subject: missing parentheses in man.c Message-ID: <8275@mimsy.UUCP> Date: Sun, 30-Aug-87 07:31:47 EDT Article-I.D.: mimsy.8275 Posted: Sun Aug 30 07:31:47 1987 Date-Received: Sun, 30-Aug-87 20:20:26 EDT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 46 Index: ucb/man.c 4.3BSD Fix Description: The man program is missing a () pair. Repeat-By: Examination. Fix: This also includes /usr/local/man on the default manual path. RCS file: RCS/man.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c2 -r1.1 -r1.2 *** /tmp/,RCSt1013198 Sun Aug 30 07:30:20 1987 --- /tmp/,RCSt2013198 Sun Aug 30 07:30:23 1987 *************** *** 47,51 **** int nomore; char *CAT = CAT_; ! char *manpath = "/usr/man"; char *strcpy(); char *strcat(); --- 47,51 ---- int nomore; char *CAT = CAT_; ! char *manpath = "/usr/local/man:/usr/man"; char *strcpy(); char *strcat(); *************** *** 160,164 **** { ! if (ac > 0 && strcmp(av[0], "-M") == 0 || strcmp(av[0], "-P") == 0) { if (ac < 2) { fprintf(stderr, "%s: missing path\n", av[0]); --- 160,164 ---- { ! if (ac > 0 && (strcmp(av[0], "-M") == 0 || strcmp(av[0], "-P") == 0)) { if (ac < 2) { fprintf(stderr, "%s: missing path\n", av[0]); -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris