1
0
Fork 0

Removed mysterious double code

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2061
This commit is contained in:
Peter Veenstra 2004-11-16 14:13:46 +00:00
parent fbc9a7ec39
commit 2de28df3fd

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: drive_local.cpp,v 1.53 2004-11-03 23:13:55 qbix79 Exp $ */
/* $Id: drive_local.cpp,v 1.54 2004-11-16 14:13:46 qbix79 Exp $ */
#include <stdio.h>
#include <stdlib.h>
@ -209,10 +209,6 @@ again:
goto again;//No symlinks and such
}
if(S_ISDIR(stat_block.st_mode)) find_attr=DOS_ATTR_DIRECTORY;
else find_attr=DOS_ATTR_ARCHIVE;
if (~srch_attr & find_attr & (DOS_ATTR_DIRECTORY | DOS_ATTR_HIDDEN | DOS_ATTR_SYSTEM)) goto again;
if(S_ISDIR(stat_block.st_mode)) find_attr=DOS_ATTR_DIRECTORY;
else find_attr=DOS_ATTR_ARCHIVE;
if (~srch_attr & find_attr & (DOS_ATTR_DIRECTORY | DOS_ATTR_HIDDEN | DOS_ATTR_SYSTEM)) goto again;