X-Git-Url: https://git.saurik.com/apple/shell_cmds.git/blobdiff_plain/f14763b62d364f4921ecf13fcfdc9e2996b8e35e..HEAD:/find/misc.c?ds=sidebyside diff --git a/find/misc.c b/find/misc.c index 8245bb8..a165c5e 100644 --- a/find/misc.c +++ b/find/misc.c @@ -13,10 +13,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. @@ -42,7 +38,7 @@ static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/1/94"; #endif /* not lint */ #include -__FBSDID("$FreeBSD: src/usr.bin/find/misc.c,v 1.10 2009/12/13 03:14:06 delphij Exp $"); +__FBSDID("$FreeBSD: src/usr.bin/find/misc.c,v 1.13 2010/12/11 08:32:16 joel Exp $"); #include #include @@ -105,9 +101,6 @@ queryuser(char *argv[]) (void)fprintf(stderr, "\n"); (void)fflush(stderr); } -#ifdef __APPLE__ - return (resp[0] == 'y'); -#else - return (rpmatch(resp) == 1); -#endif + + return (rpmatch(resp) == 1); }