Deleted Added
full compact
re.c (50471) re.c (77407)
1/* re.c: This file contains the regular expression interface routines for
2 the ed line editor. */
3/*-
4 * Copyright (c) 1993 Andrew Moore, Talke Studio.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

26 * SUCH DAMAGE.
27 */
28
29#ifndef lint
30#if 0
31static char * const rcsid = "@(#)re.c,v 1.6 1994/02/01 00:34:43 alm Exp";
32#else
33static char * const rcsid =
1/* re.c: This file contains the regular expression interface routines for
2 the ed line editor. */
3/*-
4 * Copyright (c) 1993 Andrew Moore, Talke Studio.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

26 * SUCH DAMAGE.
27 */
28
29#ifndef lint
30#if 0
31static char * const rcsid = "@(#)re.c,v 1.6 1994/02/01 00:34:43 alm Exp";
32#else
33static char * const rcsid =
34 "$FreeBSD: head/bin/ed/re.c 50471 1999-08-27 23:15:48Z peter $";
34 "$FreeBSD: head/bin/ed/re.c 77407 2001-05-29 18:03:14Z imp $";
35#endif
36#endif /* not lint */
37
38#include "ed.h"
39
40
41extern int patlock;
42
35#endif
36#endif /* not lint */
37
38#include "ed.h"
39
40
41extern int patlock;
42
43char errmsg[MAXPATHLEN + 40] = "";
43char errmsg[PATH_MAX + 40] = "";
44
45/* get_compiled_pattern: return pointer to compiled pattern from command
46 buffer */
47pattern_t *
48get_compiled_pattern()
49{
50 static pattern_t *exp = NULL;
51

--- 86 unchanged lines hidden ---
44
45/* get_compiled_pattern: return pointer to compiled pattern from command
46 buffer */
47pattern_t *
48get_compiled_pattern()
49{
50 static pattern_t *exp = NULL;
51

--- 86 unchanged lines hidden ---