Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 20:13:18 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
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
Message-ID:  <201402162013.s1GKDIiw022612@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402162013.s1GKDIiw022612>