Commit Graph
43 Commits
Author SHA1 Message Date
[email protected] 91194c6553 Fix for SCO OpenServer. 1999-07-31 19:33:36 +00:00
[email protected] c572ed67f0 make mPath canonical after resolving the symlink. a=mcafee. 1999-07-29 20:14:42 +00:00
[email protected] 10dfd94715 fix for #10697. ResolveSymlink() messes with mCurrent, so we need to restore it. Also, make ResolveSymlink() return an absolute file, instead of a relative one. 1999-07-29 04:31:04 +00:00
[email protected] 2676ba3bb6 Fix for bug 10177 and 10041. 1999-07-26 22:09:42 +00:00
[email protected] 3f3c2cbf6c Fix for NTO, which uses statvfs. 1999-07-22 01:31:43 +00:00
[email protected] b5c09752c6 QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath. 1999-07-21 23:15:15 +00:00
[email protected] 1860049c71 fix for bug: 10260
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
[email protected] bee9fc8af3 Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh. 1999-07-12 22:36:24 +00:00
[email protected] a96c529c7f Adding RecursiveCopy interface 1999-07-05 01:39:42 +00:00
[email protected] 091f8b0588 Fix for AIX, Solaris, OSF/1, and probably others. 1999-05-08 06:24:27 +00:00
[email protected] c3ba384e07 Fix an error in the previous checkin. 1999-05-03 23:14:28 +00:00
[email protected] b06bf31d66 Check for a null path before calling stat() and friends (bug #5576). a=chofmann. 1999-05-03 20:29:01 +00:00
[email protected] dac1037c11 Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140. 1999-04-26 19:05:00 +00:00
[email protected] e8819f27b2 Oops. 1999-04-20 19:31:11 +00:00
[email protected] d9544d4571 Correct a problem my last change to GetParent() introduced. 1999-04-20 19:09:22 +00:00
[email protected] 0523a923a8 Fixed GetParent() on windows and unix (was incorrect for directories whose paths end in a separator). 1999-04-19 22:07:42 +00:00
[email protected] 78f4662c51 Cleaned up the statfs mess at the beginning to make use of configure's power. 1999-04-10 01:13:02 +00:00
[email protected] c1e00d810d memset a buffer to 0, to avoid Solaris UMR diagnostics. 1999-04-06 20:10:50 +00:00
[email protected] a429a39f4f Simplifying SCO case. 1999-04-01 05:16:32 +00:00
[email protected] 8e1cf764aa Adding support for NTO. 1999-04-01 05:06:34 +00:00
[email protected] 0d4aaed14e Simplifying ifdef logic in preparation for jump to hyperspace (autoconf) 1999-04-01 05:02:32 +00:00
[email protected] ecf276c69d add a cast to fix build problems on the ports tinderboxes. 1999-03-21 15:42:44 +00:00
[email protected] 2b5b1345b8 Fixing unix breakage. 1999-03-21 06:57:56 +00:00
[email protected] 2c7f65f10a Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.
1999-03-21 06:22:45 +00:00
[email protected] f115e08f16 oops, back out my old patch - caused more harm than good 1999-03-20 02:41:27 +00:00
[email protected] e739d14723 there is no header file on unix that actually includes this path. wierd. 1999-03-20 02:34:31 +00:00
[email protected] b9bfbb69f3 Fix unix bustage. 1999-03-20 00:13:08 +00:00
[email protected] a9b9bd1efc Bugs #3997, 3934 1999-03-19 23:09:39 +00:00
[email protected] a925bce5fd Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable) 1999-03-13 06:38:57 +00:00
[email protected] 615081d918 Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null. 1999-03-10 21:02:58 +00:00
[email protected] b14b466ad4 Fix a unix warning 1999-03-05 23:00:57 +00:00
[email protected] 9084fa1f7e Fix unix build errors 1999-02-28 02:17:55 +00:00
[email protected] ca0a6d1c26 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge. 1999-02-28 01:36:48 +00:00
[email protected] c7bccc4efa Switching false/true over to PR_FALSE/PR_TRUE 1999-02-26 19:47:48 +00:00
[email protected] 537c3a08bf fix -pedantic bustage - Delete isn't const, so re-cast "this" 1999-02-26 17:56:44 +00:00
[email protected] a08d84c4ba Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See [email protected] or
John McMullen for futher information.
1999-02-25 20:49:47 +00:00
[email protected] 745f997314 fixing includes for solaris. -donm 1999-01-07 21:03:42 +00:00
[email protected] 180e117493 Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely. 1999-01-06 23:38:21 +00:00
[email protected] f352cb8ab6 Some more tweaks to suit various compilers and platforms. 1998-12-11 01:42:04 +00:00
[email protected] 81330acfd9 Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again). 1998-12-09 08:47:30 +00:00
[email protected] 89ccaecfc7 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh. 1998-12-09 05:09:28 +00:00
[email protected] 35f6ea9e8a Polished the interfaces, added long comments in the headers. The next step is checking by Bill Law and Steve Lamm for Win and Unix. Then it's open season. 1998-12-08 22:45:42 +00:00
[email protected] 7c39723790 First Checked In. 1998-12-08 02:15:50 +00:00