/ 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 Unified Diffs Ignore Whitespace Patch

Changes to src/os_os2.c.

702
703
704
705
706
707
708

709
710
711
712
713
714
715
    pFile->pathToDel = NULL;
    OSTRACE1( "OPEN normal file attribute\n" );
  }

  /* always open in random access mode for possibly better speed */
  ulOpenMode |= OPEN_FLAGS_RANDOM;
  ulOpenMode |= OPEN_FLAGS_FAIL_ON_ERROR;


  char *zNameCp = convertUtf8PathToCp( zName );
  rc = DosOpen( (PSZ)zNameCp,
                &h,
                &ulAction,
                0L,
                ulFileAttribute,







>







702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
    pFile->pathToDel = NULL;
    OSTRACE1( "OPEN normal file attribute\n" );
  }

  /* 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,
                &h,
                &ulAction,
                0L,
                ulFileAttribute,