Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Warn on apparently buggy PhysFS version 2.0.2.

Refs ticket:3700.
  • Loading branch information...
commit 408be743f017cce1519cd955767abf0e697ab7f7 1 parent 5b3163b
Cyp authored August 30, 2012

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  src/main.cpp
5  src/main.cpp
@@ -561,6 +561,11 @@ static void check_Physfs(void)
561 561
 		debug(LOG_FATAL, "At least version 2 of PhysicsFS required!");
562 562
 		exit(-1);
563 563
 	}
  564
+	if (linked.major == 2 && linked.minor == 0 && linked.patch == 2)
  565
+	{
  566
+		debug(LOG_ERROR, "You have PhysicsFS 2.0.2, which is buggy. You may experience random errors/crashes due to spuriously missing files.");
  567
+		debug(LOG_ERROR, "Please upgrade/downgrade PhysicsFS to a different version, such as 2.0.3 or 2.0.1.");
  568
+	}
564 569
 
565 570
     for (i = PHYSFS_supportedArchiveTypes(); *i != NULL; i++)
566 571
     {

0 notes on commit 408be74

Please sign in to comment.
Something went wrong with that request. Please try again.