Create reg file if it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@22027 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -369,7 +369,7 @@ static REGERR nr_OpenFile(char *path, FILEHANDLE *fh)
|
||||
PR_ASSERT( fh != NULL );
|
||||
|
||||
/* Open the file for exclusive random read/write */
|
||||
(*fh) = PR_Open(path, PR_RDWR, 00700);
|
||||
(*fh) = PR_Open(path, PR_RDWR|PR_CREATE_FILE, 00700);
|
||||
if ( !VALID_FILEHANDLE(*fh) )
|
||||
{
|
||||
switch (PR_GetError())
|
||||
|
||||
Reference in New Issue
Block a user