process.c (28066) | process.c (35520) |
---|---|
1/*- 2 * Copyright (c) 1992 Diomidis Spinellis. 3 * Copyright (c) 1992, 1993, 1994 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Diomidis Spinellis of Imperial College, University of London. 8 * --- 26 unchanged lines hidden (view full) --- 35 * SUCH DAMAGE. 36 */ 37 38#ifndef lint 39#if 0 40static char sccsid[] = "@(#)process.c 8.6 (Berkeley) 4/20/94"; 41#endif 42static const char rcsid[] = | 1/*- 2 * Copyright (c) 1992 Diomidis Spinellis. 3 * Copyright (c) 1992, 1993, 1994 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Diomidis Spinellis of Imperial College, University of London. 8 * --- 26 unchanged lines hidden (view full) --- 35 * SUCH DAMAGE. 36 */ 37 38#ifndef lint 39#if 0 40static char sccsid[] = "@(#)process.c 8.6 (Berkeley) 4/20/94"; 41#endif 42static const char rcsid[] = |
43 "$Id$"; | 43 "$Id: process.c,v 1.6 1997/08/11 07:21:06 charnier Exp $"; |
44#endif /* not lint */ 45 46#include <sys/types.h> 47#include <sys/stat.h> 48#include <sys/ioctl.h> 49#include <sys/uio.h> 50 51#include <ctype.h> --- 183 unchanged lines hidden (view full) --- 235 tspace = PS; 236 PS = HS; 237 HS = tspace; 238 break; 239 case 'y': 240 if (pd) 241 break; 242 for (p = ps, len = psl; --len; ++p) | 44#endif /* not lint */ 45 46#include <sys/types.h> 47#include <sys/stat.h> 48#include <sys/ioctl.h> 49#include <sys/uio.h> 50 51#include <ctype.h> --- 183 unchanged lines hidden (view full) --- 235 tspace = PS; 236 PS = HS; 237 HS = tspace; 238 break; 239 case 'y': 240 if (pd) 241 break; 242 for (p = ps, len = psl; --len; ++p) |
243 *p = cp->u.y[*p]; | 243 *p = cp->u.y[(unsigned char)*p]; |
244 break; 245 case ':': 246 case '}': 247 break; 248 case '=': 249 (void)printf("%lu\n", linenum); 250 } 251 cp = cp->next; --- 382 unchanged lines hidden --- | 244 break; 245 case ':': 246 case '}': 247 break; 248 case '=': 249 (void)printf("%lu\n", linenum); 250 } 251 cp = cp->next; --- 382 unchanged lines hidden --- |