Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | always use random access mode when opening files (like on Windows) (CVS 4784) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9f4da1013b558fcabadc3a3bec6bcdae |
User & Date: | pweilbacher 2008-02-13 23:48:03.000 |
Context
2008-02-14
| ||
00:00 | small correctness fix for os2CheckReservedLock() (CVS 4785) (check-in: f364d93423 user: pweilbacher tags: trunk) | |
2008-02-13
| ||
23:48 | always use random access mode when opening files (like on Windows) (CVS 4784) (check-in: 9f4da1013b user: pweilbacher tags: trunk) | |
18:25 | Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (check-in: 990237e27e user: danielk1977 tags: trunk) | |
Changes
Changes to src/os_os2.c.
︙ | ︙ | |||
637 638 639 640 641 642 643 | }else{ ulFileAttribute = FILE_ARCHIVED | FILE_NORMAL; pFile->delOnClose = 0; pFile->pathToDel = NULL; OSTRACE1( "OPEN normal file attribute\n" ); } | < < < < | < | < < | 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 | }else{ ulFileAttribute = FILE_ARCHIVED | FILE_NORMAL; pFile->delOnClose = 0; 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; rc = DosOpen( (PSZ)zName, &h, &ulAction, 0L, ulFileAttribute, |
︙ | ︙ |