diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-10-31 20:20:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-10-31 20:20:46 +0000 |
commit | d9a96b2321d13ba3cae279a85bdfb1d0ad7690fe (patch) | |
tree | 70ffd476551e5c88bb8506940fe6ae9b551e4f8f /usr.bin/patch/pch.h | |
parent | 927e2e8868b02d49448255f5a876e1dff8acb5b8 (diff) |
o fairly major man page reorganization
o add --posix option for strict POSIX conformance
o change filename determination to match GNU patch
Tested by various people, including a full ports build by naddy@
Diffstat (limited to 'usr.bin/patch/pch.h')
-rw-r--r-- | usr.bin/patch/pch.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/patch/pch.h b/usr.bin/patch/pch.h index d8b9fa73c3d..b7bf8e8a224 100644 --- a/usr.bin/patch/pch.h +++ b/usr.bin/patch/pch.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pch.h,v 1.8 2003/08/15 08:00:51 otto Exp $ */ +/* $OpenBSD: pch.h,v 1.9 2003/10/31 20:20:45 millert Exp $ */ /* * patch - a program to apply diffs to original files @@ -26,6 +26,16 @@ * behaviour */ +#define OLD_FILE 0 +#define NEW_FILE 1 +#define INDEX_FILE 2 +#define MAX_FILE 3 + +struct file_name { + char *path; + bool exists; +}; + void re_patch(void); void open_patch_file(const char *); void set_hunkmax(void); |