From d4026a4a82d0f44258f59e3dd4246f2b47e6f082 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 23 Jun 2000 06:42:14 +0000 Subject: [PATCH] Bug #38374 --> make sure the temp file we are saving the file to is unqiue by calling make unique. This call will be replaced by createUnique once that gets checked in. I also need to fix the temp file name I use as well. r=sspitzer --- uriloader/exthandler/nsExternalHelperAppService.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index 395a473da9c..36c28d4181c 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -452,6 +452,7 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIChannel * aChannel, nsISup #endif mTempFile->Append(tempLeafName); // make this file unique!!! + mTempFile->MakeUnique(nsnull); nsCOMPtr mFileChannel = do_CreateInstance(NS_LOCALFILECHANNEL_PROGID); if (mFileChannel)