From: <gew...@us...> - 2008-10-17 22:00:19
|
Revision: 3093 http://sc2.svn.sourceforge.net/sc2/?rev=3093&view=rev Author: gewlitys Date: 2008-10-17 22:00:17 +0000 (Fri, 17 Oct 2008) Log Message: ----------- Do not open contentDir second time. Modified Paths: -------------- trunk/sc2/src/options.c Modified: trunk/sc2/src/options.c =================================================================== --- trunk/sc2/src/options.c 2008-10-17 21:48:14 UTC (rev 3092) +++ trunk/sc2/src/options.c 2008-10-17 22:00:17 UTC (rev 3093) @@ -378,14 +378,6 @@ mountHandle = contentMountHandle; } - contentDir = uio_openDir (repository, "/", 0); - if (contentDir == NULL) - { - log_add (log_Fatal, "Fatal error: Could not open content dir: %s", - strerror (errno)); - exit (EXIT_FAILURE); - } - // NB: note the difference between addonsDir and addonDir. // the former is the dir 'addons', the latter a directory // in that dir. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |