1/* $FreeBSD: head/usr.sbin/ctm/mkCTM/mkctm.c 69793 2000-12-09 09:35:55Z obrien $ */ 2 |
3/* Still missing: 4 * 5 * mkctm 6 * -B regex Bogus 7 * -I regex Ignore 8 * -D int Damage 9 * -q decrease verbosity 10 * -v increase verbosity --- 13 unchanged lines hidden (view full) --- 24#include <regex.h> 25#include <stdio.h> 26#include <fcntl.h> 27#include <string.h> 28#include <stdlib.h> 29#include <unistd.h> 30#include <md5.h> 31#include <err.h> |
32#include <paths.h> |
33#include <signal.h> 34 35#define DEFAULT_IGNORE "/CVS$|/\\.#|00_TRANS\\.TBL$" 36#define DEFAULT_BOGUS "\\.core$|\\.orig$|\\.rej$|\\.o$" 37regex_t reg_ignore, reg_bogus; 38int flag_ignore, flag_bogus; 39 40int verbose; --- 517 unchanged lines hidden (view full) --- 558 default: 559 Usage(); 560 return (1); 561 } 562 argc -= optind; 563 argv += optind; 564 565 if (!logf) |
566 logf = fopen(_PATH_DEVNULL, "w"); |
567 568 setbuf(stdout, 0); 569 570 if (argc != 6) { 571 Usage(); 572 return (1); 573 } 574 --- 22 unchanged lines hidden --- |