We should better not pass open file handles to child processes, so add respective flag for DosOpen(). (CVS 5037)

FossilOrigin-Name: 1518e8542cebd977d46e720544bfad16d3f8895e
This commit is contained in:
pweilbacher 2008-04-23 23:03:10 +00:00
parent a06ecba2f6
commit 5ff1020dd8
3 changed files with 9 additions and 8 deletions

@ -1,5 +1,5 @@
C Always\ssync\sthe\sjournal\sfile\safter\szeroing\sout\sthe\sheader.\s(CVS\s5036)
D 2008-04-22T17:15:18
C We\sshould\sbetter\snot\spass\sopen\sfile\shandles\sto\schild\sprocesses,\sso\sadd\srespective\sflag\sfor\sDosOpen().\s(CVS\s5037)
D 2008-04-23T23:03:11
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
F Makefile.in 25b3282a4ac39388632c2fb0e044ff494d490952
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -119,7 +119,7 @@ F src/mutex_w32.c 133698096a2c4e81cd11ea6f4de7891c66f7b9f7
F src/os.c d811a3e1a152e03c98d3dd85f2b7aff0d7630cea
F src/os.h 2ee8b0dec88f946c5371919ffa0f2fe4ac0de2e6
F src/os_common.h e8b748b2f2ecc8a498e50bfe5d8721f189c19d2a
F src/os_os2.c 7a918c400ee9ed879b50fedc61e74985b285f2b0
F src/os_os2.c 41015b3fa91568761eb10cbf6ca27a0624ba0bda
F src/os_os2.h c3f7d0af7e3453d1d7aa81b06c0a56f5a226530b
F src/os_test.c 3074b10357ab6175caaab808c780e5e1f94a20b8
F src/os_test.h 903c93554c23d88f34f667f1979e4a1cee792af3
@ -635,7 +635,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P dfacddbb5055b4e104bf536d5f5b35287fbbb904
R b24995cca648ef79387ccd7e0060de3f
U drh
Z 0a520789b52e8367637bc31c78ec10b9
P 5896ae3d68d29dc172c027c72aa2a98ced2b7eb8
R 7232165ce5be32c540f13b9199c1c910
U pweilbacher
Z 3cb208335af16dcfae18db4437e726f5

@ -1 +1 @@
5896ae3d68d29dc172c027c72aa2a98ced2b7eb8
1518e8542cebd977d46e720544bfad16d3f8895e

@ -706,6 +706,7 @@ static int os2Open(
/* always open in random access mode for possibly better speed */
ulOpenMode |= OPEN_FLAGS_RANDOM;
ulOpenMode |= OPEN_FLAGS_FAIL_ON_ERROR;
ulOpenMode |= OPEN_FLAGS_NOINHERIT;
char *zNameCp = convertUtf8PathToCp( zName );
rc = DosOpen( (PSZ)zNameCp,