/ Check-in [1518e854]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:We should better not pass open file handles to child processes, so add respective flag for DosOpen(). (CVS 5037)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1518e8542cebd977d46e720544bfad16d3f8895e
User & Date: pweilbacher 2008-04-23 23:03:11
Context
2008-04-24
08:31
Add version comment to vdbeaux.c. No code changes. Ticket #3066. (CVS 5038) check-in: d667add4 user: danielk1977 tags: trunk
2008-04-23
23:03
We should better not pass open file handles to child processes, so add respective flag for DosOpen(). (CVS 5037) check-in: 1518e854 user: pweilbacher tags: trunk
2008-04-22
17:15
Always sync the journal file after zeroing out the header. (CVS 5036) check-in: 5896ae3d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_os2.c.

   702    702       pFile->pathToDel = NULL;
   703    703       OSTRACE1( "OPEN normal file attribute\n" );
   704    704     }
   705    705   
   706    706     /* always open in random access mode for possibly better speed */
   707    707     ulOpenMode |= OPEN_FLAGS_RANDOM;
   708    708     ulOpenMode |= OPEN_FLAGS_FAIL_ON_ERROR;
          709  +  ulOpenMode |= OPEN_FLAGS_NOINHERIT;
   709    710   
   710    711     char *zNameCp = convertUtf8PathToCp( zName );
   711    712     rc = DosOpen( (PSZ)zNameCp,
   712    713                   &h,
   713    714                   &ulAction,
   714    715                   0L,
   715    716                   ulFileAttribute,