common.h (98e0ffaefb0f241cda3a72395d3be04192ae0d47) common.h (1e3e581593b6484569a2e6570329db4e2306f6cf)
1/*-
2 * Copyright 1986, Larry Wall
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following condition is met:
6 * 1. Redistributions of source code must retain the above copyright notice,
7 * this condition and the following disclaimer.
8 *

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

38
39#define MAXHUNKSIZE 200000 /* is this enough lines? */
40#define INITHUNKMAX 125 /* initial dynamic allocation size */
41#define INITLINELEN 4096
42#define BUFFERSIZE 4096
43#define LINENUM_MAX LONG_MAX
44
45#define SCCSPREFIX "s."
1/*-
2 * Copyright 1986, Larry Wall
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following condition is met:
6 * 1. Redistributions of source code must retain the above copyright notice,
7 * this condition and the following disclaimer.
8 *

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

38
39#define MAXHUNKSIZE 200000 /* is this enough lines? */
40#define INITHUNKMAX 125 /* initial dynamic allocation size */
41#define INITLINELEN 4096
42#define BUFFERSIZE 4096
43#define LINENUM_MAX LONG_MAX
44
45#define SCCSPREFIX "s."
46#define GET "get -e %s"
47#define SCCSDIFF "get -p %s | diff - %s >/dev/null"
48
49#define RCSSUFFIX ",v"
46
47#define RCSSUFFIX ",v"
50#define CHECKOUT "co -l %s"
51#define RCSDIFF "rcsdiff %s > /dev/null"
48#define CHECKOUT "/usr/bin/co"
49#define RCSDIFF "/usr/bin/rcsdiff"
52
53#define ORIGEXT ".orig"
54#define REJEXT ".rej"
55
56/* handy definitions */
57
58#define strNE(s1,s2) (strcmp(s1, s2))
59#define strEQ(s1,s2) (!strcmp(s1, s2))

--- 61 unchanged lines hidden ---
50
51#define ORIGEXT ".orig"
52#define REJEXT ".rej"
53
54/* handy definitions */
55
56#define strNE(s1,s2) (strcmp(s1, s2))
57#define strEQ(s1,s2) (!strcmp(s1, s2))

--- 61 unchanged lines hidden ---