Deleted Added
full compact
regexp.c (87693) regexp.c (92922)
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 20 unchanged lines hidden (view full) ---

29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 */
34
35#include <sys/cdefs.h>
36
1/*
2 * Copyright (c) 1980, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 20 unchanged lines hidden (view full) ---

29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 */
34
35#include <sys/cdefs.h>
36
37__FBSDID("$FreeBSD: head/usr.bin/vgrind/regexp.c 87693 2001-12-11 23:10:26Z markm $");
37__FBSDID("$FreeBSD: head/usr.bin/vgrind/regexp.c 92922 2002-03-22 01:42:45Z imp $");
38
39#ifndef lint
40static const char copyright[] =
41"@(#) Copyright (c) 1980, 1993\n\
42 The Regents of the University of California. All rights reserved.\n";
43#endif
44
45#ifndef lint

--- 5 unchanged lines hidden (view full) ---

51#include <string.h>
52
53#include "extern.h"
54
55#define FALSE 0
56#define TRUE !(FALSE)
57#define NIL 0
58
38
39#ifndef lint
40static const char copyright[] =
41"@(#) Copyright (c) 1980, 1993\n\
42 The Regents of the University of California. All rights reserved.\n";
43#endif
44
45#ifndef lint

--- 5 unchanged lines hidden (view full) ---

51#include <string.h>
52
53#include "extern.h"
54
55#define FALSE 0
56#define TRUE !(FALSE)
57#define NIL 0
58
59static void expconv __P((void));
59static void expconv(void);
60
61boolean _escaped; /* true if we are currently _escaped */
62char *s_start; /* start of string */
63boolean l_onecase; /* true if upper and lower equivalent */
64
65#define makelower(c) (isupper((c)) ? tolower((c)) : (c))
66
67/* STRNCMP - like strncmp except that we convert the

--- 536 unchanged lines hidden ---
60
61boolean _escaped; /* true if we are currently _escaped */
62char *s_start; /* start of string */
63boolean l_onecase; /* true if upper and lower equivalent */
64
65#define makelower(c) (isupper((c)) ? tolower((c)) : (c))
66
67/* STRNCMP - like strncmp except that we convert the

--- 536 unchanged lines hidden ---