svn commit: r261995 - stable/10/games/fortune/fortune

Marcel Moolenaar marcel at FreeBSD.org
Sun Feb 16 20:13:19 UTC 2014


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);
 	}


More information about the svn-src-stable-10 mailing list