vfontedpr.c (28789) | vfontedpr.c (29574) |
---|---|
1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = | 1/* 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = |
45 "$Id: vfontedpr.c,v 1.8 1997/08/25 06:36:03 charnier Exp $"; | 45 "$Id: vfontedpr.c,v 1.9 1997/08/26 11:08:24 charnier Exp $"; |
46#endif /* not lint */ 47 48#include <sys/types.h> 49#include <sys/stat.h> 50#include <ctype.h> 51#include <err.h> 52#include <stdio.h> 53#include <stdlib.h> --- 189 unchanged lines hidden (view full) --- 243 if (cgetustr(defs, "kw", &cp) == -1) 244 nokeyw = TRUE; 245 else { 246 char **cpp; 247 248 cpp = l_keywds; 249 while (*cp) { 250 while (*cp == ' ' || *cp =='\t') | 46#endif /* not lint */ 47 48#include <sys/types.h> 49#include <sys/stat.h> 50#include <ctype.h> 51#include <err.h> 52#include <stdio.h> 53#include <stdlib.h> --- 189 unchanged lines hidden (view full) --- 243 if (cgetustr(defs, "kw", &cp) == -1) 244 nokeyw = TRUE; 245 else { 246 char **cpp; 247 248 cpp = l_keywds; 249 while (*cp) { 250 while (*cp == ' ' || *cp =='\t') |
251 *cp++ = NULL; | 251 *cp++ = '\0'; |
252 if (*cp) 253 *cpp++ = cp; 254 while (*cp != ' ' && *cp != '\t' && *cp) 255 cp++; 256 } 257 *cpp = NIL; 258 } 259 cgetustr(defs, "pb", &cp); --- 27 unchanged lines hidden (view full) --- 287 /* initialize the program */ 288 289 incomm = FALSE; 290 instr = FALSE; 291 inchr = FALSE; 292 _escaped = FALSE; 293 blklevel = 0; 294 for (psptr=0; psptr<PSMAX; psptr++) { | 252 if (*cp) 253 *cpp++ = cp; 254 while (*cp != ' ' && *cp != '\t' && *cp) 255 cp++; 256 } 257 *cpp = NIL; 258 } 259 cgetustr(defs, "pb", &cp); --- 27 unchanged lines hidden (view full) --- 287 /* initialize the program */ 288 289 incomm = FALSE; 290 instr = FALSE; 291 inchr = FALSE; 292 _escaped = FALSE; 293 blklevel = 0; 294 for (psptr=0; psptr<PSMAX; psptr++) { |
295 pstack[psptr][0] = NULL; | 295 pstack[psptr][0] = '\0'; |
296 plstack[psptr] = 0; 297 } 298 psptr = -1; 299 ps("'-F\n"); 300 if (!filter) { 301 printf(".ds =F %s\n", fname); 302 ps("'wh 0 vH\n"); 303 ps("'wh -1i vF\n"); --- 388 unchanged lines hidden (view full) --- 692 693/* 694 * look for a process beginning on this line 695 */ 696static boolean 697isproc(s) 698 char *s; 699{ | 296 plstack[psptr] = 0; 297 } 298 psptr = -1; 299 ps("'-F\n"); 300 if (!filter) { 301 printf(".ds =F %s\n", fname); 302 ps("'wh 0 vH\n"); 303 ps("'wh -1i vF\n"); --- 388 unchanged lines hidden (view full) --- 692 693/* 694 * look for a process beginning on this line 695 */ 696static boolean 697isproc(s) 698 char *s; 699{ |
700 pname[0] = NULL; | 700 pname[0] = '\0'; |
701 if (!l_toplex || blklevel == 0) 702 if (expmatch (s, l_prcbeg, pname) != NIL) { 703 return (TRUE); 704 } 705 return (FALSE); 706} 707 708 --- 19 unchanged lines hidden --- | 701 if (!l_toplex || blklevel == 0) 702 if (expmatch (s, l_prcbeg, pname) != NIL) { 703 return (TRUE); 704 } 705 return (FALSE); 706} 707 708 --- 19 unchanged lines hidden --- |