Граф коммитов

888 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org 5aafa0b4a6 Under BeOS, we must call Normalize() on a local file before it can be used.
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014. r=cls@seawood.org sr=scc@mozilla.org
2000-11-28 01:41:05 +00:00
colin%theblakes.com 880969402b OpenVMS specific fix for defeciency in stat.
b=60199 r=dougt a=waterson
2000-11-27 11:19:41 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com 0934a8bda2 fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self
2000-11-17 03:41:41 +00:00
ccarlen%netscape.com db44a10b6c Bug 55891 r=brade, sr=sfraser 2000-11-14 15:58:54 +00:00
mkaply%us.ibm.com 981339093e #58805
r=mkaply, a=blizzard
Code from jkobal to make appshell more like Windows and make timers more efficient
2000-11-02 19:36:30 +00:00
mkaply%us.ibm.com f1a834a405 #58776
r=mkaply, a=blizzard
Code from jkobal to fix helper apps
2000-11-02 15:41:44 +00:00
mkaply%us.ibm.com 407f3c54a9 #55813
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location
2000-11-01 20:04:59 +00:00
mkaply%us.ibm.com 5ebf8feb5b Wrong casts being used
Caused outside contributor to be unable to build
2000-10-31 15:55:46 +00:00
bienvenu%netscape.com 199475237b fix 55003 null protection in closing nsOutputStream r=kandrot sr=waterson 2000-10-30 15:20:31 +00:00
warren%netscape.com cd56c0575b 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
dbaron%fas.harvard.edu 7fed408876 Remove extra 0 param. (Fix warren's bustage.) r=warren 2000-10-28 02:30:42 +00:00
warren%netscape.com 810f462251 Removed extra 0 arg from macro 2000-10-27 23:41:27 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
ramiro%eazel.com f155f7f244 Bug 56793. Add support for building unix mozilla with a default
MOZILLA_FIVE_HOME.  Build changes r=cls.  Small XPCOM change sr=scc.
2000-10-21 08:33:16 +00:00
ccarlen%netscape.com d735ea5c51 Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser. 2000-10-19 20:41:55 +00:00
shaver%mozilla.org a6239048b2 #56636, remove debug cruft, r/sr=blizzard 2000-10-17 17:15:36 +00:00
jst%netscape.com 1bef7c0474 (Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott. 2000-10-13 11:14:48 +00:00
jst%netscape.com 17691505d4 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst. 2000-10-11 22:50:14 +00:00
mkaply%us.ibm.com d5d97c8b5f #55327
r=mkaply, a=blizzard
OS/2 only code - bring nsLocalFileOS2 to current level
2000-10-05 20:44:11 +00:00
colin%theblakes.com 5d88f8bd74 r=dougt, sr=blizzard, bugzilla=55163
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.
2000-10-05 10:12:15 +00:00
vishy%netscape.com 8113e13325 sr=mscott,r=vishy (this is racham's code), bugzilla=48981
for standalone app, the profile data has to go in the windows
app data directory - not where the app is running
2000-10-05 03:34:18 +00:00
mkaply%us.ibm.com a47da58b87 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
sgehani%netscape.com cb37a54b7a Merging pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser
2000-09-28 22:52:51 +00:00
mkaply%us.ibm.com c90bc3ef8b OS/2 Tinderbox breakage
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr
2000-09-22 17:32:10 +00:00
ccarlen%netscape.com 48d1306eb1 Fix for #52181 r=dougt, a=buster 2000-09-21 13:45:31 +00:00
brendan%mozilla.org a791fb2253 Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
plus a bunch of other fixes and cleanups:

- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
  entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
  But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
  Also use the LL_* macros consistently in case a Unix lacking long long type
  support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
  PRTime is the type, and traditionally "time" refers to the time-number, a
  scalar independent of one's position on the surface of the earth, while
  "date" refers to a struct full of locale-specific information derived from
  time and some "environment" variables such as DST.  Can we rename these
  nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
  arguments (which logically come after the 'this' parameter CHECK_mPath is
  making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
  avoid scary-when-scaled 0-refcnt instances from being handled (these all
  got a ref via QI or equivalent soon enough, but you never know).  This also
  removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
  need to strip trailing slashes elsewhere, in higher-frequency methods (you
  set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
  didn't fold the necessary close of the new fd returned by non-failing creat
  into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
  end of string on either side), not just in the middle of fragment (so that
  foo..bar is not an illegal relative pathname -- it should not be).  BTW,
  what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
  ...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
  the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
  macro on a line by itself -- eek!  It also contained redundant if (newFD
  == nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
  leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
  not support "copying" a symlink via normal file i/o.  Should we instead
  lstat in CopyTo and if a link is the source of the copy, do readlink and
  then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
  the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
  literals, white-space, indentation, bracing, comment, and sloppy code order
  (e.g., declaring an initialized variable that's not used till after early
  returns) fixes.  Also invert some return logic so that NS_OK is the normal,
  least indented, final return.
2000-09-19 00:22:41 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
mkaply%us.ibm.com 1f08244363 OS/2 Tinderbox break
Need cast for VisualAge
2000-09-12 12:28:31 +00:00
mkaply%us.ibm.com 5d8916353e OS/2 Tinderbox break
The Windows way was right, not sure why it was made different for OS/2.
2000-09-12 12:24:32 +00:00
warren%netscape.com 9fc7180eb9 Added URL attribute to nsIFile (why: because (a) needs to vary for different implementations, and (b) need to factor out of necko for installer). Not implemented yet. 2000-09-12 08:05:13 +00:00
rpotts%netscape.com b845d5a563 Changed the nsIInputStreams created by the storage stream to be thread-safe... 2000-09-10 08:12:26 +00:00
ccarlen%netscape.com 68500bd674 Fix for Win95 machines which don't have APP_DATA dir r=racham 2000-09-09 15:31:27 +00:00
ccarlen%netscape.com fa65e9669f Fix for #38770 Also fixed (unreported bug) in SetPersistentDescriptor. r=dougt 2000-09-09 15:26:52 +00:00
warren%netscape.com 52514c7ffc Bug 46772. Added nsIDirectoryService::UnregisterProvider 2000-09-08 04:57:33 +00:00
warren%netscape.com 996cfbc2fc Changed assertion to warning when platform charset doesn't exist. 2000-09-06 23:42:59 +00:00
pchen%netscape.com 7a08a7e5c0 bug #43585, r=sfraser, add Mac_DefaultDownloadDirectory to SystemDirectories enum 2000-09-06 21:13:14 +00:00
pchen%netscape.com fa8df5e6b1 bug #43585, r=sfraser, here resides the actual code to handle new mac default download directory, prepended code to call new nsIInternetConfigService to get IC default download folder. If we can't get it, then fall back to using desktop folder like before. 2000-09-06 21:13:12 +00:00
pchen%netscape.com dcd27732f8 bug #43585, r=sfraser, fix type/creator mix up calling FSpCreate() in nsLocalFile::Create(), fix passing correct FSSpec to AECreateDesc, fix passing AppParameters correctly in LaunchParamBlockRec. 2000-09-06 21:13:10 +00:00
pchen%netscape.com 9edc591583 bug #43585, r=sfraser, add string NS_MAC_DEFAULT_DOWNLOAD_DIR 2000-09-06 21:13:06 +00:00
pchen%netscape.com be126281cc bug #43585, r=sfraser, add static atom for mac default download dir 2000-09-06 21:13:04 +00:00
pchen%netscape.com 605a452be5 bug #43585, r=sfraser, add atoms and case for new mac default download folder dir 2000-09-06 21:13:02 +00:00
dbaron%fas.harvard.edu 6034cb7c24 Fixing code that relied on implicit string construction. r=scc (verbally) 2000-09-03 00:02:34 +00:00
scc%mozilla.org e52e438806 bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge 2000-09-02 04:10:44 +00:00
mkaply%us.ibm.com 2fcc576271 #51105
r=dougt, a=brendan
Missing OS/2 support for HOME dir
2000-09-01 22:53:55 +00:00
pavlov%netscape.com 364611d68d fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837 2000-09-01 07:36:55 +00:00
cls%seawood.org 11e77d89f5 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch. 2000-08-30 07:21:31 +00:00
racham%netscape.com 8e5937715a Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz, ccarlen 2000-08-29 23:44:53 +00:00
racham%netscape.com 2e07457d80 Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz,ccarlen 2000-08-29 23:44:48 +00:00
dougt%netscape.com 90b2424793 Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com 2000-08-28 22:14:02 +00:00
bienvenu%netscape.com 61896d4c98 fix 48952 local file list of root windows directory broken r=dougt 2000-08-23 14:06:37 +00:00
racham%netscape.com 7e1c976d1e Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt 2000-08-23 01:24:30 +00:00
jband%netscape.com 23fac07700 fix Mac bustage? 2000-08-22 07:53:24 +00:00
warren%netscape.com 7a1efd9573 Fixed comments which got swapped around. 2000-08-22 07:12:56 +00:00
warren%netscape.com e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
scc%mozilla.org 2fe691fa70 fixing code that relied on implicit string construction 2000-08-20 07:33:54 +00:00
scc%mozilla.org 7d2020e4f9 fixing code that relied on implicit string construction 2000-08-20 07:18:09 +00:00
mccabe%netscape.com f803b21326 Rectify // comment to /** comment 2000-08-18 01:09:29 +00:00
mkaply%us.ibm.com 6ddfa37f7e OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!
2000-08-17 03:18:03 +00:00
mcafee%netscape.com 8de69e3e35 Fix build warning, trailing slash looks run-on comment to the egcs compiler. 2000-08-17 01:53:59 +00:00
racham%netscape.com cddb62593d Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt 2000-08-16 22:40:27 +00:00
mkaply%us.ibm.com 69397914bf #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware
2000-08-16 14:27:18 +00:00
conrad%ingress.com 26dd1bf2fd 1. Changed from using strings to using macro names for property keys 2. Fixed return val of RegisterProvider r=valeski 2000-08-11 20:25:18 +00:00
mcafee%netscape.com c6ded73515 More double-space lossage, whitespace change only. 2000-08-10 08:16:40 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
conrad%ingress.com f32e087836 Fixed double line feed problem. 2000-08-10 06:06:02 +00:00
valeski%netscape.com c38e718733 fixing windows hatred of goto inits 2000-08-10 05:23:05 +00:00
mcafee%netscape.com 18b68e428a Adding nsDirectoryServiceDefs.h, fixing whitespace problems. This would have become linux bustage later. 2000-08-10 04:53:37 +00:00
conrad%ingress.com da645761e9 Changed strings to use macros Fixed FindWinFolder which was not doing anything. 2000-08-10 04:39:30 +00:00
conrad%ingress.com a76baabb28 Added nsDirectoryServiceDefs.h 2000-08-10 04:37:43 +00:00
conrad%ingress.com acabcc13af Export of nsDirectoryServiceDefs.h r=valeski 2000-08-10 04:12:16 +00:00
conrad%ingress.com 34afc03823 First checkin. r=valeski 2000-08-10 04:03:52 +00:00
syd%netscape.com 97248be348 Set sane directory permissions on creation. Partial fix for 43091. r=dougt 2000-08-04 22:13:10 +00:00
mscott%netscape.com 418070a7ab Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix. 2000-08-03 22:17:43 +00:00
mscott%netscape.com 645dd5e80d landing branch fix to trunk. Bug #47248 ---> Fix GetParent such that if appendedPath is an empy string we treat it the same as if it were null and create a dummy path. r=dougt 2000-08-03 22:13:34 +00:00
valeski%netscape.com 5b6a28fffd raw pointer mlk fix. r=dougt 2000-08-01 22:57:58 +00:00
danm%netscape.com dcd004f45b Deathgrip the output stream during WriteSegments to prevent bug 46267. This is a temporary patch to stop a common startup crash, until the real underlying cause is found. r=ruslan 2000-08-01 21:33:36 +00:00
dougt%netscape.com 30f07cfd34 r,a=brendan@mozilla.org 24052 2000-07-31 03:46:22 +00:00
dougt%netscape.com 9f5f745910 46044 fixes ABR. submitted by jband@netscape.com. 2000-07-29 08:13:39 +00:00
cls%seawood.org 8e82535d4f Bringing BeOS up to speed 2000-07-26 06:22:37 +00:00
conrad%ingress.com fcb5d64b7f 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong. 2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. r-dougt 2000-07-24 20:05:54 +00:00
dougt%netscape.com 3a70ed325d r,a=brendan@mozilla.org 24052 2000-07-21 22:16:18 +00:00
mkaply%us.ibm.com ee0249ccf8 #45973
r=dougt, a=brendan
OS/2 specific changes for nsAppFileLocationProvider.cpp
2000-07-20 18:55:28 +00:00
mkaply%us.ibm.com 522aaa276a #45690
r=mkaply, a=brendan
Sync up nsLocalFileOS2.cpp with Windows changes
2000-07-20 14:54:24 +00:00
conrad%ingress.com db6eb046ac Not part of build! Added some <includes> needed on Mac 2000-07-19 21:47:08 +00:00
dougt%netscape.com 780e01b652 Adding UNIX makefiles.
making compile on unix

(NOT PART OF BUILD)
2000-07-19 21:20:35 +00:00
dougt%netscape.com f11513d107 Fixing line feeds.
Adding makefiles for windows.
Making compile on windows.


(not part of build!)
2000-07-19 19:58:35 +00:00
conrad%ingress.com a348a7e8c7 1. Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. 2. It is now possible to pass nsnull for the path param to NS_NewLocalFile(). This allows one to create an unspecified file. r = dougt 2000-07-17 15:03:05 +00:00
conrad%ingress.com eedd73c66d Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath. r = dougt 2000-07-17 15:01:10 +00:00
conrad%ingress.com 71b8e272d8 Added Get/SetPersistentDescriptor method. Use this instead of GetPath/InitWithPath. 2000-07-17 14:57:14 +00:00
conrad%ingress.com 9038f4adb8 First checkin - Not yet part of build. 2000-07-16 14:20:33 +00:00
mkaply%us.ibm.com 892de09884 #42637
r = mkaply, a = brendan
TINDERBOXBREAK - THIS FILE IS OS/2 ONLY
2000-07-13 15:39:52 +00:00
dougt%netscape.com c555c3e7c1 Fixing bustage. 2000-07-12 23:59:33 +00:00
dougt%netscape.com d84c495203 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
dbragg%netscape.com cfb6d3817e Fix for bug #42719. SetLeafName was not removing the old leaf name before appending a new one. r=sgehani 2000-07-07 21:54:08 +00:00
colin%theblakes.com 48f9742dca Remove VMS specific code; not needed any more. r,a=leaf 2000-07-06 20:11:38 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com c051dc5537 #42637
r=mkaply, a=brendan
OS/2 bringup - rewrite of nsFileSpecOS2.cpp to be more like Windows
2000-06-28 14:50:12 +00:00
mkaply%us.ibm.com 6ed25d5b08 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories
2000-06-27 21:23:51 +00:00
dougt%netscape.com 87f7739f82 Initializing var before use. simple fix. 2000-06-27 20:55:54 +00:00
cls%seawood.org b85f37fcb6 Given the statement "a == b ? c : d;" , the WorkShop 5.0 compiler expects c & d to be of the same type. 2000-06-27 06:10:21 +00:00
dougt%netscape.com 69db7ba963 Bug 43314.
r=Henry Sobotka <sobotka@axess.com>
a=brendan@mozilla.org
s=Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-27 03:35:32 +00:00
mkaply%us.ibm.com a8e37d78ac #42637
r=mkaply, a=brendan
OS/2 bring up - Set mresolvepath - OS/2 only
2000-06-26 14:50:20 +00:00
dougt%netscape.com ee20e4ebcb nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>
2000-06-24 01:50:53 +00:00
mscott%netscape.com 0152413cae Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott
2000-06-21 06:32:45 +00:00
mkaply%us.ibm.com f74e55bdcb #42637
r=mkaply, a=brendan
OS/2 bring up - Need io.h for GCC build
2000-06-21 01:35:21 +00:00
beard%netscape.com 1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com a129b14b91 #42637
r=mkaply, a=brendan
OS/2 bring up - rewrite some nsLocalFileOS2 stuff to be more like Windows
2000-06-20 14:06:00 +00:00
mkaply%us.ibm.com ab95b94e76 #42637
r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup
2000-06-20 13:21:22 +00:00
bryner%uiuc.edu 8195675560 Fix for blocker bug 42371 - unable to startup on Linux. r=akkana. 2000-06-13 20:26:30 +00:00
ruslan%netscape.com cf1d7874af Partial fix for 41248. Check for the buffer being null and assert, but don't
crash, a=gagan
2000-06-10 02:11:04 +00:00
ssu%netscape.com 4461693aaa Fixing bug #31259 (nsbeta2+) - Install.modDate() and Install.modDateChanged() now shows the correct values. This *might* also happen to fix the following bugs: #42070 - Mac files get installed with the wrong date #38553 - nsIFile - Reducing modification dates significant digits #36681 - document.lastModified date is incorrect for a local file This only affects the Mac platforms. Pre-Checkin Tests: passed r=sgehani 2000-06-10 00:51:06 +00:00
ssu%netscape.com 406d3196ea fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac. precheckin tests=passed r=sgehani 2000-06-08 00:31:06 +00:00
inaky.gonzalez%intel.com 98157fd5a1 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren
2000-06-06 22:06:56 +00:00
nhotta%netscape.com 3fc67a80b0 Added PRUnichar version of escape function, bug 34373, r=rhp, a=bobj. 2000-06-05 22:01:32 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com 2639f7608b # 37239
r = mkaply, a = brendan
OS/2 bringup - need a cast for OS/2 - OS/2 only
2000-06-02 20:15:33 +00:00
warren%netscape.com c1de4be154 Fixed leak. 2000-05-31 04:34:54 +00:00
mkaply%us.ibm.com 94965403ad # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00
mkaply%us.ibm.com c599e744f3 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only
2000-05-25 14:23:27 +00:00
mkaply%us.ibm.com 677613d5be # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only!
2000-05-22 19:38:22 +00:00
dougt%netscape.com 5f08efa2cf fixing confusing comment. 38553 2000-05-21 05:42:57 +00:00
scc%mozilla.org 52c5791a3e fixed non-standard include-guard. This file is not currently part of the build 2000-05-20 20:48:12 +00:00
sfraser%netscape.com 807b771a1e Un-inline a bunch of methods that wouldn't have been inlined anyway because they are virtual. Just tidyup. 2000-05-17 01:53:21 +00:00
dougt%netscape.com d45fbb0655 Fixing 38767. Allows C: to be a valid path to InitWithPath(); 2000-05-17 00:29:59 +00:00
ssu%netscape.com ec2a732bd6 fixing bug #37457. Xpinstall's File.dirRemove() is now working. 2000-05-16 22:01:59 +00:00
brendan%mozilla.org 168c70825d Comment grammar and style fixes. 2000-05-15 06:41:00 +00:00
dp%netscape.com faaf62dfd6 Standalone xpcom. 2000-05-14 22:46:24 +00:00
scc%netscape.com cf127bfa10 fix bug #36316 2000-05-12 23:09:28 +00:00
scc%netscape.com 4b1f539a77 fix bug #36311 2000-05-12 23:05:11 +00:00
mkaply%us.ibm.com b21a2a4d57 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes
2000-05-12 19:26:34 +00:00
scc%netscape.com 89bc179ffd Added "nsStringIO.h" to exports. r=hyatt 2000-05-12 07:46:13 +00:00
scc%netscape.com c6175b2ee3 First Checked In. 2000-05-12 03:16:35 +00:00
dougt%netscape.com 4e5362dc52 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.
2000-05-12 01:09:58 +00:00
pavlov%netscape.com afefbe5a7d fix for unix filepicker not coming up correctly (bug #38810) 2000-05-10 23:41:33 +00:00
nhotta%netscape.com 728c6d8def Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.
2000-05-10 22:24:22 +00:00
dougt%netscape.com 8104407afa InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.
2000-05-09 23:53:03 +00:00
dougt%netscape.com ada597dc3f Fixing bustage 2000-05-09 19:38:20 +00:00
dougt%netscape.com afaefc04b1 Missed six chars. fixing bustage 2000-05-09 19:28:55 +00:00
dougt%netscape.com a942da7d9f Fixes bug 38553. Using usecs now. r=sgehani@netscape.com 2000-05-09 19:11:14 +00:00
dp%netscape.com 7290a04bc1 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.
2000-05-05 05:47:32 +00:00
mkaply%us.ibm.com 5356172a1c # 34082
r= dougt
OS/2 bring up continues - support for OS/2 nsLocalFile
2000-05-02 23:14:31 +00:00
mkaply%us.ibm.com 152f6f29e4 # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
cls%seawood.org 04417332fe OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106 2000-05-02 01:18:46 +00:00
mkaply%us.ibm.com 5be272bc33 # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2
2000-05-01 22:25:44 +00:00
mkaply%us.ibm.com d41c17e2f8 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - checking in files for the OS/2 team
2000-05-01 22:21:43 +00:00
waterson%netscape.com 00eb3e5b8c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc 2000-04-27 04:44:56 +00:00
dougt%netscape.com 6b120ecb69 Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.
2000-04-26 21:37:45 +00:00
ftang%netscape.com 38d547d5df check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function
2000-04-26 03:57:34 +00:00
dougt%netscape.com 19c93e8881 Fixes problems in local file where getting a parent of a non-existant file did not work. Fixes a problem if you tried to create a folder and it parents did not exist. Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path. Fixing nsInstallFile to use nsIFile:: enums insteads of numbers. r=sgehani, a=leaf 2000-04-26 01:50:24 +00:00
dougt%netscape.com 51df3bc206 missed commenting out two assertions which will cause mac and OS2 users
lots of pain.  r=brade, a=leaf.
2000-04-25 18:16:16 +00:00
sspitzer%netscape.com 8b419ec4eb fix the threadsafe assertion. 2000-04-25 14:56:59 +00:00
pinkerton%netscape.com 540fcd1ba1 adding a helper to create/init from an FSSpec. 2000-04-25 04:09:18 +00:00
ssu%netscape.com 987d8aad7a fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use. 2000-04-25 02:39:42 +00:00
dougt%netscape.com 4ebce97a3b checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.
2000-04-25 01:48:02 +00:00
dougt%netscape.com fc2a69ba00 Adding xpcom.currentProcess 2000-04-24 22:54:04 +00:00
dougt%netscape.com c0b55af16c Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser. 2000-04-24 03:24:49 +00:00
scc%netscape.com 391f0960dd making string conversions explicit 2000-04-22 08:43:34 +00:00
ftang%netscape.com 238c2b8d57 fix nsFileSpec unicode interface . 2000-04-21 21:44:23 +00:00
cls%seawood.org 53bfb0c4a5 BeOS uses the Unix local file implementation. 2000-04-21 21:04:35 +00:00
cls%seawood.org 8921a25a1b Removed extra & as suggested by Matthew Z. on m.beos. 2000-04-21 21:03:56 +00:00
scc%netscape.com a10aa8dde5 making string conversions explicit 2000-04-21 07:09:51 +00:00
dbragg%netscape.com 365e935ebf typo in Manifest file 2000-04-20 23:06:00 +00:00
dbragg%netscape.com 19a96b0ebe Oops, forgot nsFileSpec.h 2000-04-20 22:59:30 +00:00
ftang%netscape.com c1c131590f 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile
2000-04-20 22:53:29 +00:00
dbragg%netscape.com 28c8f393d4 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile 2000-04-20 22:49:18 +00:00
ftang%netscape.com bcc3796e45 first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.
2000-04-20 05:44:03 +00:00
ftang%netscape.com aacdd70d44 fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
Perform IsDBCSLeadByte before 0x5c escaping
2000-04-20 05:08:02 +00:00
dougt%netscape.com 93b356c61b fix for 36266. submitting by koehler@mythrium.com. 2000-04-20 01:08:53 +00:00
beard%netscape.com 3f1ed5ff9c Compatibility with Universal Headers 3.3 or later. a=leaf 2000-04-19 22:13:51 +00:00
jdunn%netscape.com ad2f705153 adding newline - hp bustage 2000-04-19 14:57:43 +00:00
davidm%netscape.com f11037bc6d 28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length 2000-04-19 04:54:53 +00:00
andreas.otte%primus-online.de 8dd89cbb2d fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com 2000-04-16 07:33:25 +00:00
scc%netscape.com 8a57729d06 making string conversions explicit 2000-04-15 05:23:09 +00:00
warren%netscape.com ea1163636a Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE. 2000-04-13 09:20:58 +00:00
waqar%netscape.com d2db4ac8e0 nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf 2000-04-10 22:48:27 +00:00
ruslan%netscape.com 903e0777dd Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr
2000-04-06 21:28:09 +00:00
jim_nance%yahoo.com 5c44f0195a Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885
2000-04-05 22:37:01 +00:00
cls%seawood.org 4a53bf302d Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> . 2000-04-05 02:12:26 +00:00
waterson%netscape.com 10cdd2de87 Making string conversions explicit. 2000-04-04 09:35:51 +00:00
bruce%cybersight.com 1d051086ef Fixing nsByteArrayInputStream's QueryInterface() to be correct. Need this for a leak fix coming up shortly. r=scc 2000-04-04 04:16:07 +00:00
mkaply%us.ibm.com 7e138ea359 # 33860
r= mkaply@us.ibm.com
OS/2 bringup
2000-04-04 00:07:04 +00:00
davidm%netscape.com c465e3b30e 27857 nsIFile - MAC not completely implemented 2000-04-03 01:54:22 +00:00
davidm%netscape.com d248b3c4a8 First Checked In. 2000-04-03 01:50:18 +00:00
scc%netscape.com f5dbd84938 not sure if this is the _best_ way to solve the problem, but I added a c-string version of |NS_NewStringInputStream|, which can't use overloading since it's |extern "C"|, so I named it |NS_NewCStringInputStream|. 2000-04-01 22:27:03 +00:00
blizzard%redhat.com 71f21f226a checkin patches to implement nsILocalFile::GetDiskSpaceAvailable from Jason Eager and nsIFile::GetParent from pavlov. r=pavlov,blizzard,dougt. a=dougt 2000-04-01 20:07:14 +00:00
scc%netscape.com c05019b2a8 making string conversions explicit 2000-04-01 00:39:02 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jband%netscape.com 0d24a185b9 if people are going to insert four space tabs then let's set the Mode line's tab-width correctly 2000-03-28 05:01:05 +00:00
sgehani%netscape.com 68e885af71 Fixing nsIFile::SetLastModificationDate on Win32.
b = 12368
r = dbragg
2000-03-28 03:39:02 +00:00
sgehani%netscape.com e1cf8e1d13 Implemented nsIFile::SetLastModificationDate on the Mac. b = 12368 r = dbragg 2000-03-27 22:05:54 +00:00
sgehani%netscape.com c9399c7cc7 Fixing nsIFile::SetLastModificationDate for Unix.
b = 12368
r = ssu
2000-03-27 22:04:46 +00:00
dougt%netscape.com ae30ecbdf8 Fix for 33098. MoveTo and CopyTo do not rename if the |in| parent is null.
I renamed the in parameter, and created a new stack var which I assign the
in parameter.  If the var is null, I initial it with the |this| parent. I
also made sure that if null was passed, we would tree the action as a move.
2000-03-24 05:47:39 +00:00
sfraser%netscape.com 618cdfb0d8 Fixing nsLocalFileMac so that Contains() works with file aliases, and is much faster. Also fix an issue with cacheing data, so that cacheing actually works. r=pinkerton. 2000-03-23 23:33:23 +00:00
ruslan%netscape.com a9f53247b0 Fix MAC build bustage - forgot to remove nsIByteArrayInputStream.h from the
MANIFEST as well
2000-03-22 04:14:26 +00:00
ruslan%netscape.com 85f1f3bf70 Fix Unix build bustage - makefiles on unix and windows seems to actually
behave differently in this case
2000-03-22 03:02:34 +00:00
ruslan%netscape.com 6ebbc29aa6 Enabling ByteArrayInputStream. Needed to fix 32600, r=warren 2000-03-22 02:50:56 +00:00
dougt%netscape.com bd7b539d07 Fixing SetModificationTime based on MS documentation. It is still failing, but
this is documented to work:

http://support.microsoft.com/support/kb/articles/Q167/2/96.ASP
2000-03-22 01:37:52 +00:00
ruslan%netscape.com fd43b9b63d Add ByteArrayInoutStream. Not part of the build yet 2000-03-22 00:48:48 +00:00
sspitzer%netscape.com 2f566d968a fix for #32245. r=bienvenu. 2000-03-17 21:53:49 +00:00
sspitzer%netscape.com f9c35a1ee1 add Delete() to the nsIFileSpec interface. 2000-03-15 07:07:56 +00:00
blizzard%redhat.com 804ec67bf8 fix for bug #18186. remove work around in layout code and properly implement nsIFile::GetLastMofificationDate() on unix. r=vidur,jst,dougt a=waterson 2000-03-15 03:08:28 +00:00
nhotta%netscape.com 4c9cfca6b5 Changed to use do_GetService instead of CreateInstance, bug 30205, r=cata. 2000-03-15 01:33:43 +00:00
jefft%netscape.com 9cdfa6fef7 fix bug 30784 - save messages / attachment with bogus path name failed sliently; this is bad if user think save was successful then followed by a delete and compact; we will have a data loss here 2000-03-14 13:54:42 +00:00
dougt%netscape.com b107082d5a fix for 28942 nsILocalFile::Exists() returns a FILE_NOT_FOUND error.
r=pete@alphanumerica.com
2000-03-14 05:11:02 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
sfraser%netscape.com 41c5ae6811 Fix for 29572 (launching PSM on Mac). Implement GetParent() for an nsILocalFileMac that was initialized with an FSSpec. r=davidm, a=jar 2000-03-09 00:35:11 +00:00
waterson%netscape.com 27394cb877 Bug 29250. PR_GetFileInfo64() expects a 'root' path on Win32 to have a trailing slash; e.g., it will accept 'c:\\', but not 'c:'. Ensure that, if we ever see a naked drive letter, we'll append a trailing backslash to make something that NSPR understands. r=dveditz, a=jevering 2000-03-08 02:53:04 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
sfraser%netscape.com 19fa57d1f9 Followon from a checkin I did yesterday to fix bugs 29521 and 29827 (a=jar); this part fixes an assertion that happened with empty form fields. r=kin 2000-03-02 19:36:15 +00:00
mkaply%us.ibm.com 299c268c24 # 25555
r= dougt@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 21:27:02 +00:00
davidm%netscape.com 9819271015 22244 Can not load local file on the mac r warren/sfraser a - jar 2000-02-27 16:19:59 +00:00
rjc%netscape.com 14065c7824 Fix PDT+ bug # 6770: be able to get filenames from the file system in the platform native charset. Patch from m_kato@ga2.so-net.ne.jp Review: ftang, dougt, and myself. Approval: jar 2000-02-26 02:19:34 +00:00
cls%seawood.org 59b9bb0e4a Explicitly cast mPath to const char* as some compilers can't automatically cast from nxXPIDLCString to char * . 2000-02-26 00:13:30 +00:00
cls%seawood.org 341d658c62 Implement the equivalent of Unix's realpath() for BeOS. Build blocker. a=leaf 2000-02-24 00:48:30 +00:00
sfraser%netscape.com 83963a825c Fixes for bug 28271 -- add methods to nsILocalFileMac to launch applications and document. Also fix bogus include in nsNativeComponentLoader. r=davidm,dougt. a=jar 2000-02-23 23:09:02 +00:00
dougt%netscape.com 2851ebfb56 Caused a regression in the nsLocalFile. If ResolveAndStat fails, we want
to return the NS_ERROR_FILE_NOT_FOUND value, not the NS_ERROR_FAILURE value.
a=jar.
2000-02-22 06:16:08 +00:00
dougt%netscape.com 6e4324a177 Added a .get() to a comptr to make it compile on linux. 2000-02-21 22:09:24 +00:00
dougt%netscape.com 8c83662e4d Fixes for 28257, 21628, 27076, 18186, 25584
1) Implement nsDirectoryService.  This makes the service extensible so that
components can do delayed registration.

2) Fixes windows Append meathod which did not work with . prepended files.

3) Fixes memory leaks in nsDirectoryService

4) Fixes SetPermissions() on Win32.  This was in my tree for a while.  It basically
calls through to chmod just like on unix.

5) Fixes GetModificationDate. Win32 now return PRTime for dates.

r = scc, valeski, warren, wtc (suggestions)
a = jevering
2000-02-21 21:51:47 +00:00
cls%seawood.org 5975077af0 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf 2000-02-17 20:24:24 +00:00
blizzard%redhat.com 893726aa30 fix windows build bustage 2000-02-17 16:08:53 +00:00
blizzard%redhat.com 33ad4046c8 change nsIFile::Spawn to take an array of arguments instead of just a single flat string. bug #27843. r=dougt, a=chofmann. also, implement nsIFile::Normalize for unix. bug #17948. r=shaver, a=chofmann 2000-02-17 15:35:54 +00:00
dougt%netscape.com d8011b81b2 Optimization for shortcut resolution. r=dveditz. 2000-02-15 21:28:13 +00:00
mkaply%us.ibm.com bf5f8196bc # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:32:46 +00:00
dougt%netscape.com be8b07f605 checking in makefile to build the interface nsIDirectoryService 2000-02-11 05:12:20 +00:00
dougt%netscape.com ec95c74bd3 removing unneed file. r=smfr. 2000-02-11 05:09:18 +00:00
dougt%netscape.com c971d059e6 first checking 2000-02-11 05:04:53 +00:00
dougt%netscape.com 786d739d67 Fix from warren to check for the return val of Clone.
Also adding extra ('s around a arguably confusing if statement
r=warren
2000-02-11 04:50:23 +00:00
rhp%netscape.com 58322257df Fix to escape quotes along with the other special characters - Bug #: 27039 - r: bienvenu 2000-02-11 01:32:20 +00:00
nhotta%netscape.com ff36f4f489 Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
colin%theblakes.com b7dc0ab46a Only a read of 0 means EOF. r=dougt 2000-02-11 00:50:58 +00:00
colin%theblakes.com 990f93bd5d Make filespec comparisons case-blind for OpenVMS. Fix build problem for OpenVMS. r=dougt 2000-02-10 10:54:55 +00:00
dp%netscape.com 11c836772b Fixing build bustage. 2000-02-09 08:47:51 +00:00
dougt%netscape.com 344d3e79cc Making unix act like the rest of the platforms. It now return zero for the
size if the nsIFile is really a directory.
2000-02-09 08:09:35 +00:00
dougt%netscape.com aa9a6b79c3 Fix for bug 26816. submitted by bns_robson@hotmail.com. windows only.
memory leak fix.
2000-02-08 04:25:00 +00:00
dveditz%netscape.com 2f965c4c8d added quoting so we can execute windows files with spaces in their names -- such as anything in a subdir of 'Program Files' 2000-02-06 10:09:16 +00:00
sdagley%netscape.com 8bb810068e Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup. 2000-02-04 23:06:56 +00:00
dougt%netscape.com b6f0b9e262 Empowering the world. Bug. 25374, basically we create a directory without
the correct permission.
r=racham&&mozbot.
2000-02-04 22:57:37 +00:00
mscott%netscape.com 83547ed348 Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
r=warren
a=leaf
2000-02-04 21:45:46 +00:00
warren%netscape.com cd6e6d6513 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott 2000-02-04 08:33:17 +00:00
sdagley%netscape.com 8e7fc7d323 nsLocalFileMac work. Added GetFileSizeWithResFork() method for callers that need to account for the total size of a Mac file (GetFileSize() only returns the size of the data fork). r=pinkerton 2000-02-04 07:17:36 +00:00
sdagley%netscape.com 9419bc40eb For now nsLocalFileMac::GetFileSize should only return the size of the file's data fork to be compatible with other places in the code that make that assumption. r=saari 2000-02-04 05:26:00 +00:00
sgehani%netscape.com bdb0774998 Fix for XPInstall horkage on the Mac. b = 26327 r = dougt a = leaf 2000-02-03 21:06:35 +00:00
sfraser%netscape.com d4887789f0 Test that the filespec has been initialized, before using it to delete entire directory trees. Blocker. r=Ben_Goodger, a=leaf 2000-02-03 20:49:40 +00:00
sdagley%netscape.com 6e4b26e6ea Fixing bustages in nsLocalFileMac - fixes #25629, #26106 and #25277. r=pinkerton 2000-02-01 23:42:28 +00:00
dougt%netscape.com bdecfd4757 bug fix 25626. r=tor@cs.brown.edu 2000-01-31 23:09:14 +00:00
dougt%netscape.com f20a6b9f24 Since we are only getting information about this file, we should no pass the
GENERIC_READ flag.
2000-01-31 23:07:35 +00:00
dougt%netscape.com d50e282b56 Initializing return values before they are used. 2000-01-31 23:06:04 +00:00
sdagley%netscape.com b3c9985980 Fix mem leak in My_CloseDir() (#25614). r=saari 2000-01-31 22:41:05 +00:00