Commit Graph

101 Commits

Author SHA1 Message Date
Ryan C. Gordon c3a00ee94b Patches from David Hedbor to handle missing current working directories.
"The attached patch makes PhysFS handle the case when the current
   directory (as returned by getcwd()) has been deleted.
   Fix 1, platform/unix.c:
    Only retry getcwd if the error is ERANGE. Before it retried till the
    malloc failed in the case of the directory not existing.
  Fix 2: physfs.c:
    If __PHYSFS_platformCurrentDir() return's NULL, use the root as the
    base dir. Bad solution but the best I can think of (alternative :
    use /tmp or Windows TEMP dir?)."
2001-09-14 22:59:53 +00:00
Ryan C. Gordon c2b2506a7c Updated version from 0.1.3 to 0.1.4. 2001-09-14 22:58:04 +00:00
Ryan C. Gordon 12314e3715 Updated. 2001-09-14 22:57:22 +00:00
Ryan C. Gordon 70838fdc23 Initial add. 2001-09-14 22:57:02 +00:00
Ryan C. Gordon beecf24734 make install deletes previous versions of the library. 2001-09-14 22:56:46 +00:00
Ryan C. Gordon c7aad1afd6 Changed author credits to wrap email addresses in "<>" and not "()" chars. 2001-09-14 22:55:44 +00:00
Ryan C. Gordon 1035802174 Updated. 2001-09-02 05:01:53 +00:00
Ryan C. Gordon ed2a43b2ea Patched to compile with an ancient version of CodeWarrior. 2001-09-02 04:55:25 +00:00
Ryan C. Gordon 9d2ae6e900 Updated. 2001-09-02 01:17:35 +00:00
Ryan C. Gordon 60596eb083 Updated again. 2001-09-02 01:11:56 +00:00
Ryan C. Gordon 443c70063d Updated. 2001-09-02 00:21:54 +00:00
Ryan C. Gordon 03708e7e4d Updated win32 build instructions. 2001-09-02 00:18:43 +00:00
Ryan C. Gordon 651334d589 Moved to separate download. 2001-09-01 23:51:28 +00:00
Ryan C. Gordon c97cbf3665 Rewrote __PHYSFS_platformRealPath() to be Cygwin AND Visual C friendly. I hope.
:).
2001-09-01 23:40:22 +00:00
Ryan C. Gordon 7cf0f947a3 A little more Cygwin-friendly. 2001-09-01 23:38:11 +00:00
Ryan C. Gordon 987a9264d7 Updated. 2001-08-29 17:13:06 +00:00
Ryan C. Gordon cd074fce2c Updated. 2001-08-29 14:35:06 +00:00
Ryan C. Gordon 9effae336d Attempts to calculate basedir with GetModuleFileName() first, and made a
CygWin fix (_MAX_PATH becomes MAX_PATH).
2001-08-29 14:33:17 +00:00
Ryan C. Gordon af9dd7b824 Updated. 2001-08-29 03:33:42 +00:00
Ryan C. Gordon 565f12a084 Fixed link command line so that test_physfs links with libphysfs.so correctly. 2001-08-29 03:33:07 +00:00
Ryan C. Gordon 25c65e2df7 Upped version to 0.1.3. 2001-08-29 03:32:04 +00:00
Ryan C. Gordon 00267d4023 Fixed base directory determination. 2001-08-29 03:31:43 +00:00
Ryan C. Gordon 8c36e958e2 Updated. 2001-08-29 03:11:23 +00:00
Ryan C. Gordon 9ea8d5b5e4 Initial add. 2001-08-29 03:10:45 +00:00
Ryan C. Gordon 950e518270 __PHYSFS_platformGetUserDir() checks some win32 standard environment variables,
now. Added some headers so that most of this compiles with Cygwin, too.
2001-08-29 02:41:47 +00:00
Ryan C. Gordon 8d4a037896 Initial add. Unzip in root of source directory and point Visual C at the
project file to build.
2001-08-23 18:03:08 +00:00
Ryan C. Gordon 709626633e Compiles and runs on Visual C. What an uphill climb THAT was. 2001-08-23 18:01:43 +00:00
Ryan C. Gordon 87ca6869ed Updated. 2001-08-23 17:09:20 +00:00
Ryan C. Gordon 9d8f80df19 Made dependency on readline optional. 2001-08-23 17:08:26 +00:00
Ryan C. Gordon 7aa0c252a9 More win32 updates. 2001-08-23 16:02:51 +00:00
Ryan C. Gordon 3deb942440 Whoops. Forgot to declare a variable. 2001-08-23 15:39:07 +00:00
Ryan C. Gordon f0c09894c8 Updates, corrections and enhancements to get this ported to win32. 2001-08-23 15:23:21 +00:00
Ryan C. Gordon 500f1a6687 Initial add; NOT complete. 2001-08-23 15:22:52 +00:00
Ryan C. Gordon e6bebfa32c Fixed a potential free()ing of a NULL pointer in
__PHYSFS_platformEnumerateFiles.
2001-08-23 15:06:15 +00:00
Ryan C. Gordon 2ce179303b Removed #include <unistd.h>, since it isn't needed in this file, and
doesn't exist as far as Visual C is concerned.
2001-08-23 14:31:00 +00:00
Ryan C. Gordon cb8e1f2485 Updated. 2001-08-07 18:11:08 +00:00
Ryan C. Gordon 4a919d7b1a Changed version to 0.1.1. 2001-08-07 18:10:38 +00:00
Ryan C. Gordon a02436d7c2 Added CD-ROM detection code. 2001-08-07 03:33:44 +00:00
Ryan C. Gordon 854a0fa7ca Updated. 2001-08-07 03:33:25 +00:00
Ryan C. Gordon beb42ac451 Changed URL to physfs homepage. 2001-08-07 02:57:16 +00:00
Ryan C. Gordon 5e7a3e4ad5 Added appropriate make install target. 2001-08-07 02:56:50 +00:00
Ryan C. Gordon 59fcdfa096 Added. 2001-08-01 10:34:14 +00:00
Ryan C. Gordon d2006031d6 Versioning stuff, install rule added. 2001-08-01 10:20:56 +00:00
Ryan C. Gordon 3be0550a6c Safety memset when creating error information for a new thread. 2001-08-01 10:18:56 +00:00
Ryan C. Gordon 54e9fbfea5 Improved "make package". 2001-07-28 13:39:55 +00:00
Ryan C. Gordon 0fe5d822a8 Avoids unzLocateFile(), since we already did all the searching ourselves. 2001-07-28 13:08:14 +00:00
Ryan C. Gordon e2edafa85d Initial add. 2001-07-28 13:07:10 +00:00
Ryan C. Gordon 9ddb5923e7 ZIP entries are now cached at openArchive time, which cleans up the race
conditions and make i/o significantly more efficient. The code's a little
 saner, too. Just a LITTLE, though.  :)  --ryan.
2001-07-28 12:14:09 +00:00
Ryan C. Gordon bb35ebed98 Enough fixes to get the Build engine working with ZIP files instead of
GRPs. Currently does case-insensitive searching, which will change.
2001-07-23 09:24:59 +00:00
Ryan C. Gordon c83a82497c Cleaned up PHYSFS_openRead() a little. PHYSFS_addToSearchPath() now
returns successful for duplicates, but doesn't add them a second time.
2001-07-23 09:23:17 +00:00