From 4893e147a96c816b4d8cd3a964f938216bfca7ef Mon Sep 17 00:00:00 2001 From: millert Date: Tue, 7 Oct 2003 23:37:27 +0000 Subject: Fix printing of "Only in foo" when foo is "/" (trailing slash removal was overzealous in this case). Fix tested by Hugo Villeneuve and myself. --- usr.bin/diff/diff.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/diff/diff.h') 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 *); -- cgit v1.2.3-59-g8ed1b