function.c (91400) | function.c (92786) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#ifndef lint 38#if 0 39static const char sccsid[] = "@(#)function.c 8.10 (Berkeley) 5/4/95"; 40#else 41static const char rcsid[] = | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * SUCH DAMAGE. 35 */ 36 37#ifndef lint 38#if 0 39static const char sccsid[] = "@(#)function.c 8.10 (Berkeley) 5/4/95"; 40#else 41static const char rcsid[] = |
42 "$FreeBSD: head/usr.bin/find/function.c 91400 2002-02-27 17:57:00Z dwmalone $"; | 42 "$FreeBSD: head/usr.bin/find/function.c 92786 2002-03-20 10:32:05Z markm $"; |
43#endif 44#endif /* not lint */ 45 46#include <sys/param.h> 47#include <sys/ucred.h> 48#include <sys/stat.h> 49#include <sys/wait.h> 50#include <sys/mount.h> --- 9 unchanged lines hidden (view full) --- 60#include <regex.h> 61#include <stdio.h> 62#include <stdlib.h> 63#include <string.h> 64#include <unistd.h> 65 66#include "find.h" 67 | 43#endif 44#endif /* not lint */ 45 46#include <sys/param.h> 47#include <sys/ucred.h> 48#include <sys/stat.h> 49#include <sys/wait.h> 50#include <sys/mount.h> --- 9 unchanged lines hidden (view full) --- 60#include <regex.h> 61#include <stdio.h> 62#include <stdlib.h> 63#include <string.h> 64#include <unistd.h> 65 66#include "find.h" 67 |
68static PLAN *palloc __P((OPTION *)); 69static long long find_parsenum __P((PLAN *, const char *, char *, char *)); 70static long long find_parsetime __P((PLAN *, const char *, char *)); 71static char *nextarg __P((OPTION *, char ***)); 72time_t get_date __P((char *, struct timeb *)); | 68static PLAN *palloc(OPTION *); 69static long long find_parsenum(PLAN *, const char *, char *, char *); 70static long long find_parsetime(PLAN *, const char *, char *); 71static char *nextarg(OPTION *, char ***); 72time_t get_date(char *, struct timeb *); |
73 74#define COMPARE(a, b) do { \ 75 switch (plan->flags & F_ELG_MASK) { \ 76 case F_EQUAL: \ 77 return (a == b); \ 78 case F_LESSTHAN: \ 79 return (a < b); \ 80 case F_GREATER: \ --- 1464 unchanged lines hidden --- | 73 74#define COMPARE(a, b) do { \ 75 switch (plan->flags & F_ELG_MASK) { \ 76 case F_EQUAL: \ 77 return (a == b); \ 78 case F_LESSTHAN: \ 79 return (a < b); \ 80 case F_GREATER: \ --- 1464 unchanged lines hidden --- |