Skip to content
Permalink
Browse files
Removed a FIXME.
  • Loading branch information
icculus committed Mar 20, 2012
1 parent ba676b2 commit 584119a4a0ce87e254b161252d3cd538c9619427
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/archiver_dir.c
@@ -47,9 +47,6 @@ static void *DIR_openArchive(PHYSFS_Io *io, const char *name, int forWriting)

assert(io == NULL); /* shouldn't create an Io for these. */
BAIL_IF_MACRO(!__PHYSFS_platformStat(name, &exists, &st), ERRPASS, NULL);
/* !!! FIXME: the failed Stat() call will BAIL before we check (exists) */
/* !!! FIXME: ...should we even be checking for existance here...? */
BAIL_IF_MACRO(!exists, PHYSFS_ERR_NO_SUCH_PATH, NULL);
if (st.filetype != PHYSFS_FILETYPE_DIRECTORY)
BAIL_MACRO(PHYSFS_ERR_UNSUPPORTED, NULL);

0 comments on commit 584119a

Please sign in to comment.