From owner-svn-src-all@FreeBSD.ORG Sun Feb 16 20:13:19 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24C496EA; Sun, 16 Feb 2014 20:13:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1013B1AA5; Sun, 16 Feb 2014 20:13:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1GKDIU0022613; Sun, 16 Feb 2014 20:13:18 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1GKDIiw022612; Sun, 16 Feb 2014 20:13:18 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201402162013.s1GKDIiw022612@svn.freebsd.org> From: Marcel Moolenaar Date: Sun, 16 Feb 2014 20:13:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r261995 - stable/10/games/fortune/fortune X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 20:13:19 -0000 Author: marcel Date: Sun Feb 16 20:13:18 2014 New Revision: 261995 URL: http://svnweb.freebsd.org/changeset/base/261995 Log: MFC r259057: Remove "Warning: file \"%s\" unreadable". It was introduced with revision 44599 and turned less than useful ever since fortunes-o.dat got removed. Modified: stable/10/games/fortune/fortune/fortune.c Directory Properties: stable/10/ (props changed) Modified: stable/10/games/fortune/fortune/fortune.c ============================================================================== --- stable/10/games/fortune/fortune/fortune.c Sun Feb 16 20:02:29 2014 (r261994) +++ stable/10/games/fortune/fortune/fortune.c Sun Feb 16 20:13:18 2014 (r261995) @@ -806,10 +806,6 @@ is_fortfile(const char *file, char **dat strcat(datfile, ".dat"); if (access(datfile, R_OK) < 0) { DPRINTF(2, (stderr, "FALSE (no readable \".dat\" file)\n")); -#ifdef DEBUG - if (Debug < 2) - DPRINTF(0, (stderr, "Warning: file \"%s\" unreadable\n", datfile)); -#endif free(datfile); return (FALSE); }