[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.5,1.1.1
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.5,1.1.1.1.6.6 |
Date: |
Thu, 06 Jun 2002 15:27:58 -0400 |
Update of /cvsroot/paragui/paragui/src/physfs/platform
In directory subversions:/tmp/cvs-serv17665
Modified Files:
Tag: devel-1-0
win32.c
Log Message:
fixed a bug in enumeratefiles
Thanks John Rainey <address@hidden>
Index: win32.c
===================================================================
RCS file: /cvsroot/paragui/paragui/src/physfs/platform/win32.c,v
retrieving revision 1.1.1.1.6.5
retrieving revision 1.1.1.1.6.6
diff -C2 -r1.1.1.1.6.5 -r1.1.1.1.6.6
*** win32.c 31 May 2002 08:42:17 -0000 1.1.1.1.6.5
--- win32.c 6 Jun 2002 19:27:55 -0000 1.1.1.1.6.6
***************
*** 1,8 ****
/*
! * Skeleton platform-dependent support routines for PhysicsFS.
*
* Please see the file LICENSE in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/
--- 1,9 ----
/*
! * Win32 platform-dependent support routines for PhysicsFS.
*
* Please see the file LICENSE in the source's root directory.
*
* This file written by Ryan C. Gordon.
+ * Modified for ParaGUI by Alexander Pipelka
*/
***************
*** 311,315 ****
BAIL_IF_MACRO(dir == INVALID_HANDLE_VALUE, win32strerror(), NULL);
! for (; FindNextFile(dir, &ent) != 0; )
{
if (strcmp(ent.cFileName, ".") == 0)
--- 312,316 ----
BAIL_IF_MACRO(dir == INVALID_HANDLE_VALUE, win32strerror(), NULL);
! do
{
if (strcmp(ent.cFileName, ".") == 0)
***************
*** 339,343 ****
prev = l;
l->next = NULL;
! } /* while */
FindClose(dir);
--- 340,344 ----
prev = l;
l->next = NULL;
! } while( FindNextFile(dir, &ent) != 0; )
FindClose(dir);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/physfs/platform win32.c,1.1.1.1.6.5,1.1.1.1.6.6,
Alexander Pipelka <address@hidden> <=