[email protected]
1d843feacf
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
2001-11-07 06:24:10 +00:00
[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
[email protected]
51c48a0bf6
fixing bustage
2001-04-18 05:17:36 +00:00
[email protected]
5f97600310
bug 71393, miscalculates free space on large drives. Contributed by [email protected] and [email protected] , [email protected] /[email protected]
2001-04-18 04:30:26 +00:00
[email protected]
0462ea4ce8
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
2000-10-28 22:17:53 +00:00
[email protected]
7730ce0cd3
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
2000-10-27 22:43:51 +00:00
[email protected]
a60d21664d
Set sane directory permissions on creation. Partial fix for 43091. r=dougt
2000-08-04 22:13:10 +00:00
[email protected]
846ce6eadf
changes to let us build on MacOS X
2000-03-11 03:08:04 +00:00
[email protected]
f9d939115e
Fix for QNX-specific build bustage. QNX doesn't provide a prototype for truncate().
1999-12-02 03:17:04 +00:00
[email protected]
35536c375a
Took out unnecessary const, which will hopefully unbusticate unix build
1999-11-19 02:25:04 +00:00
[email protected]
40efdbc477
In support of #8305 (implement cache).
...
Add Truncate() method to nsIFileSpec and implement in nsFileSpecImpl
[Mac Implementation: sdagley, r: sfraser]
[Win implementation: fur, r:rogerl]
[Unix implementation: [email protected] , r: fur]
1999-11-19 01:42:46 +00:00
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
8ab781588f
Changing nsFileSpec Copy and Move function names to match their
...
functionality, and also to free up the namespace for a *real* Copy
and Move that allow renaming the leaf name rather than just copying
into different directories (i.e. to make backup files). r=ssu
1999-10-21 00:40:39 +00:00
[email protected]
98f4ac7894
Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
reviewed by dougt and (in part) sspitzer. a=leaf.
1999-10-11 21:19:06 +00:00
[email protected]
76cfdf5e4f
Reverting changes accidentally checked in
1999-09-15 05:28:31 +00:00
[email protected]
24501f955c
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
1999-09-13 05:09:53 +00:00
[email protected]
15d3dc1501
hoping this fixes dougt's bustage
1999-09-10 20:58:46 +00:00
[email protected]
34b2b3fc5f
changing GetDiskSpaceAvailable to return a signed 64 bit value
1999-09-10 20:03:56 +00:00
[email protected]
b9810251c8
fixing var name
1999-09-09 19:37:29 +00:00
[email protected]
9adbcd8446
nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
...
thanks to Chet Murphy <[email protected] > for the windows code!
1999-09-09 19:20:35 +00:00
[email protected]
924d61d238
Unbreak the BSD/OS build. sys/mount.h drags in net/radix.h, which happens
...
to define a symbol called Free. Sigh. Clean up after net/radix.h.
1999-09-05 00:49:01 +00:00
[email protected]
aada0d9fec
add IsChildOf, and dougt's relative-path-handling diff
1999-09-03 23:44:59 +00:00
[email protected]
2c22f89170
For Unix, don't return "." ".." or any file/directory that begins with a "."! Perhaps we should really end up having a preference that determines whether to return these "hidden" items or not.
1999-08-30 11:40:29 +00:00
[email protected]
0a6c875dc5
isHidden was returning backwards results
1999-08-24 18:32:06 +00:00
[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