diff options
author | 2003-10-07 23:37:27 +0000 | |
---|---|---|
committer | 2003-10-07 23:37:27 +0000 | |
commit | 4893e147a96c816b4d8cd3a964f938216bfca7ef (patch) | |
tree | ef13d78587ce38c200c695a40c57a449a3108422 /usr.bin/diff/diff.h | |
parent | add a few regression tests for the recently fixed md functions (diff) | |
download | wireguard-openbsd-4893e147a96c816b4d8cd3a964f938216bfca7ef.tar.xz wireguard-openbsd-4893e147a96c816b4d8cd3a964f938216bfca7ef.zip |
Fix printing of "Only in foo" when foo is "/" (trailing slash removal
was overzealous in this case). Fix tested by Hugo Villeneuve and myself.
Diffstat (limited to 'usr.bin/diff/diff.h')
-rw-r--r-- | usr.bin/diff/diff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h index d950fe9b435..17b008281da 100644 --- a/usr.bin/diff/diff.h +++ b/usr.bin/diff/diff.h @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.h,v 1.23 2003/08/01 20:54:18 deraadt Exp $ */ +/* $OpenBSD: diff.h,v 1.24 2003/10/07 23:37:27 millert Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -81,4 +81,5 @@ int easprintf(char **, const char *, ...); void *emalloc(size_t); void *erealloc(void *, size_t); void diffdir(char *, char *); +void print_only(const char *, size_t, const char *); void print_status(int, char *, char *, char *); |