aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
* Fix a compiler warning associated with USE_PREAD64.drh2015-02-21
| | | FossilOrigin-Name: c299e55a661c04f71ab43cb8aed04f8ece6e0567
* Fix over-length source code lines in os_unix.c.drh2015-02-21
| | | FossilOrigin-Name: 7560a9fa50236ecaa0617f1ab5bb5662f4a61c72
* Remove a redundant call to statfs() in the xOpen() method of the unix VFS.drh2015-02-19
| | | | | Also fix an unused local variable warning. FossilOrigin-Name: 8215727dda384351765ab1d5c53ea80775b4ec65
* Move the os_unix.c file closer to apple-osx.drh2015-02-19
| | | FossilOrigin-Name: 81f242e338d6122e27aad86986bfd140012c6582
* Make use of the fdatasync() interface if the HAVE_FDATASYNC macro is true.drh2015-01-10
| | | FossilOrigin-Name: 694228e4632c2999efa47ecb49f679c177db02e5
* Fix a problem in the unix implementation of FCNTL_SIZE_HINT on systems that ↵dan2015-01-06
| | | | | do not support posix_fallocate(). FossilOrigin-Name: af20eae1e6f608e4e61a07c3d14cf88c12751353
* Ensure that when a file is extended using FCNTL_SIZE_HINT the last page is ↵dan2014-12-30
| | | | | allocated on disk, even if the file will only use part of it. FossilOrigin-Name: c7f84717d61197afa9e0ac607c4b349361e6e2b7
* If the sorter uses mmap'd temp files, ensure all pages of the temp file have ↵dan2014-12-30
| | | | | been allocated before it is accessed. Otherwise, a disk-full condition might result in a SIGBUS exception. FossilOrigin-Name: 776648412c30dce206f1024ff849c2cb025bb006
* Disable shared memory operations using the unix-nolock VFS.drh2014-09-22
| | | FossilOrigin-Name: 10a6e510497b471d67ac3dfb19ff256a7d18adf4
* Make the "nolock" VFS on unix a version-3 VFS so that the sorter candrh2014-09-19
| | | | | use memory-mapped I/O. FossilOrigin-Name: 3db78d6100a1ecf58c18eec3abefa7d1250c649c
* Fixes to os_unix.c to support database (and other) files larger than 2GiB on ↵dan2014-09-06
|\ | | | | | | | | Android. FossilOrigin-Name: ad7063aa1a0db32cdbe71815545b2edca57d3bcc
| * Merge latest trunk changes with this branch.dan2014-09-06
| |\ | |/ |/| FossilOrigin-Name: 9dca7ce55797b3eb617859f6189c1a2ec6f66566
* | Fix typos in comments. No code changes.peter.d.reid2014-09-06
| | | | | | FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
| * Fixes to os_unix.c to support database (and other) files larger than 2GiB.dan2014-09-06
|/ | | FossilOrigin-Name: e7fae33c0754488336ce093189a83dfe1b818d89
* Attempt to make the xDelete method of the unix VFS more robust on VxWorks.drh2014-09-01
| | | FossilOrigin-Name: b0f6b91f36b503d8ba8d5257bb194f8c1afb4833
* Minor change to unixDelete for VxWorks with a DOS filesystem.drh2014-08-13
| | | FossilOrigin-Name: f01d42cc8b00d2b7c4f14defcb05fdc493cf1bfd
* Fix typos in the VxWorks code of os_unix.c.drh2014-08-12
| | | FossilOrigin-Name: 19682e8fdc4a3b7884dba3e4387763e435ec16e6
* Changes that will perhaps enable SQLite to work better on VxWorks.drh2014-08-11
| | | FossilOrigin-Name: de27c742c0dcda20b51339598bf6094a8dcf5fb9
* The SQLITE_IOERR_BLOCKED extended error code is not longer used, so removedrh2014-08-08
| | | | | | assert() statements and documentation for that error code. Also make other documentation improvements. FossilOrigin-Name: 36b7c5cefcad6bad044806092593c84876fee8bc
* Fix a problem with SQLITE_OMIT_WAL builds.dan2014-06-23
| | | FossilOrigin-Name: 612b6d1b1f74eaf618520b90811eca10f978fc71
* Add the SQLITE_UNLINK_AFTER_CLOSE compile-time option. If enabled, thedrh2014-06-16
| | | | | unlink of temporary files on unix is deferred until after the file is closed. FossilOrigin-Name: e43a2f92b616ec885a1ee62911fa8f6991d277f7
* Back out the unix VFS changes that seeks to avoid fstat() calls after andrh2014-06-16
| | | | | unlink(). That change did not clear the problem on FuseFS. FossilOrigin-Name: 0617e20a33e08754aea14e60db44e557c13978e3
* Avoid an unnecessary initialization of the szFile field of unixFile indrh2014-06-09
| | | | | the unix VFS. FossilOrigin-Name: 6484fb5a25c2a0e5d26694285a4908a22c67ba17
* Enhance the unix VFS so that it keeps track of the size of unlinked filesdrh2014-06-09
| | | | | | | internally and thus avoids the need to call fstat() on those files, since fstat() does not work reliably on unlinked files on some implementations of FuseFS. FossilOrigin-Name: c41df393c6afbfbfdc4d1b885024e083c6f6de1f
* Add a test to ensure os_unix.c works with 64KiB OS pages.dan2014-03-20
| | | FossilOrigin-Name: e3d2be3ba47cdaafd26347620ae3bc2813203f16
* Add an experimental fix to avoid attempting to mmap memory from an offset ↵dan2014-03-20
| | | | | that is not a multiple of the system page size on systems with page sizes larger than 32KB. FossilOrigin-Name: 6f3a5c24d254fc6faf607b505bdef4a7aafc21af
* Fix redundant definitions of _LARGE_FILE and _LARGEFILE_SOURCE.drh2014-02-07
| | | FossilOrigin-Name: 4043d879795bfad55af35e9cb48e0a42eb4087ae
* Fixes for various clang warnings.drh2014-01-24
| | | FossilOrigin-Name: 87bf60637e5863c54c5e2d05aaaca0835b7aace8
* Fix another harmless compiler warning in unixUnfetch().dan2014-01-10
| | | FossilOrigin-Name: 0484549bb82ca5246488330c8d266e429ccd19b9
* Fix harmless compiler warning in unixUnfetch().drh2014-01-09
| | | FossilOrigin-Name: 618f248f4ea9fb0b6ff019a4c2cd72857389301f
* Try to detect process ID changes due to fork() calls in os_unix.c anddrh2014-01-01
| | | | | reset the PRNG when a process ID change is detected. FossilOrigin-Name: e1eba1fb09d7db49d77928bd115b27b8002ae640
* Actually look at i-node numbers to determine whether or not the databasedrh2013-12-07
| | | | | file has moved. FossilOrigin-Name: 2b1884dc14f9a04a04eebb3245fbe0daaff399eb
* Fix two potential (and apparently harmless) shift overflows discovered bydrh2013-12-05
| | | | | the -fcatch-undefined-behavior option of clang. FossilOrigin-Name: e19eead8c9977ed4f00eac54c5bc7e90db78caa8
* Fix a problem in os_unix.c causing compilation failure if SQLITE_DEBUG and ↵dan2013-10-31
| | | | | SQLITE_MAX_MMAP_SIZE=0 are both defined. FossilOrigin-Name: 090db8c81d8ca216277d11c8c4751c0a37801524
* Add support for Cygwin when handling temporary file names. Improve error ↵mistachkin2013-08-30
| | | | | codes and diagnostic messages for temporary file name handling on Windows. Rename winConvertUtf8Filename to winConvertFromUtf8Filename. Improve placement and comments for forward function declarations. FossilOrigin-Name: a411df725153119acb3bcf44fb71deecaa307887
* Add the SQLITE_MINIMUM_FILE_DESCRIPTOR compile-time option, for control overdrh2013-08-30
| | | | | exactly which low-numbered file descriptors SQLite will use. FossilOrigin-Name: ba5190534330a25722eeb7ea9c42da7a6d146014
* Improvements to the robust_open() logic in the unix VFS so that if an attemptdrh2013-08-30
| | | | | | | is made to open a repository on file descriptors 0, 1, or 2, and blocking that file descriptor by opening it on /dev/null fails, then the open will fail. FossilOrigin-Name: d9c018f8155ab48df8e0e02519bba50588fe49fc
* Change the unix VFS so that it refuses to open a database file usingdrh2013-08-29
| | | | | a file descriptor less than 3. FossilOrigin-Name: 66dddda06898abbf97fe0ac6a10ce1527ca8605e
* Never leave an open file descriptor pointing into the middle of thedrh2013-08-29
| | | | | database file if the file descriptor number is 2 or less. FossilOrigin-Name: 3426673e4659eb68dbd14a3e41d4620d748432db
* Merge updates from trunk.mistachkin2013-08-26
|\ | | | | FossilOrigin-Name: 9d6860098f96efc7ea60e2d6116fb7d0e2685a55
| * Fix for builds with both SQLITE_OMIT_WAL and SQLITE_MAX_MMAP_SIZE=0 defined.dan2013-08-26
| | | | | | FossilOrigin-Name: edd5dbdc3239fc88799b822941603fcc828ecbb6
* | Fix a couple compilation issues on Unix.mistachkin2013-08-24
| | | | | | FossilOrigin-Name: 25b029d8f32440a94ef8af45153423f6702d7431
* | Unify the result of PRAGMA mmap_size when mmap support is disabled.mistachkin2013-08-24
|/ | | FossilOrigin-Name: 032c31593d6f569842830cac6222362be68b2084
* Disable posix_fallocate() for all systems, all the time, unless thedrh2013-06-20
| | | | | HAVE_POSIX_FALLOCATE compile-time macro is supplied. FossilOrigin-Name: b674462243138fcee192ef05d434665e30c681c4
* Only default HAVE_POSIX_FALLOCATE on for linux, and then only if it is notdrh2013-06-19
| | | | | previously defined. FossilOrigin-Name: 2b2ade92788be623af6f57e37d98994be2cec142
* Only enable posix_fallocate by default on linux and mac.drh2013-06-19
| | | FossilOrigin-Name: b9b30d4f9845d212e2d3206abbf2795099e5d71d
* Cause the mmap_size PRAGMA to immediately change the mmap space if thedrh2013-05-23
| | | | | | database connection is already active. In particular, reducing mmap_size will immediately free up process address space. FossilOrigin-Name: 761177927cb51e4f5e66061ca39cf37edbe8346b
* In os_unix.c and os_win.c, initialize the default mmap-limit of a new file ↵dan2013-05-17
| | | | | descriptor to the current global default mmap-limit, not the current global maximum allowable mmap-limit. FossilOrigin-Name: 1def4ea3a02afc19648f4cd928b247f8fa55da80
* Add assert()s to the implementation of xRead() in the built-in VFSes to drh2013-05-09
| | | | | verify that the offset parameter is always non-negative. FossilOrigin-Name: cf5c3642247fdd34d87f0368594cd7b8f081636a
* Minor fixes for compilation with SQLITE_OMIT_WAL defined.dan2013-05-02
| | | FossilOrigin-Name: b81e87e72b976e7157a53a50abc5422e2a6c4c39