aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
* Avoid a few unnecessary fstat()s on journal files.drh2016-03-16
|\ | | | | FossilOrigin-Name: dbf84705913c0845ca4e75eb30c91536c754efeb
| * Avoid unnecessary work inside of verifyDbFile() in the unix VFS.drh2015-12-08
| | | | | | FossilOrigin-Name: f3c0579e931799088e9a83757e25bae229120697
* | Further fixes to the pread()/pwrite() enabling logic.drh2016-03-04
| | | | | | FossilOrigin-Name: 38fb54e7854ac0500a88585ff9dd7487b4b2e586
* | Fix the build for cases when pread()/pwrite() are not available.drh2016-03-04
| | | | | | FossilOrigin-Name: 7d67d876b70c7a4199697c5b112d809c600e140e
* | Update the configure script to detect pread/pwrite and update os_unix.c todrh2016-03-04
| | | | | | | | | | use those routines if they are available. FossilOrigin-Name: 2cffb9e50bed77d1079603f5b4a71b7559de7294
* | Enhance ability to debug out-of-memory errors.mistachkin2016-02-13
| | | | | | FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
* | Refinements to synchronous logic: drh2016-02-04
| | | | | | | | | | | | | | | | | | (1) Use PAGER_SYNCHRONOUS_FULL rather than the corresponding magic number. (2) Honor SQLITE_NO_SYNC on xDelete calls with sync (3) Count xDelete syncs during testing (4) Fix #ifs on SQLITE_EXTRA_DURABLE so that directory syncs on journal unlink are off by default. FossilOrigin-Name: e3157cb5ad0d22758e766a95fb1463a7810f7d7f
* | Ensure that unixFullpathname() always nul-terminates its output buffer, even ↵dan2016-01-26
| | | | | | | | | | when returning an error. FossilOrigin-Name: 4a4385564dd3887a7953820b60c99d6ce289f96a
* | Remove an unused variable.drh2016-01-26
| | | | | | FossilOrigin-Name: 1c2656c1d37906230edc142d3a4253b16b6e925f
* | Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues.dan2016-01-25
| | | | | | FossilOrigin-Name: 8a6e4147a680ad6c5fdd588468b6daac82349d2c
* | Simplify the unixFullpathname() function. This adds a dependency on lstat().dan2016-01-25
| | | | | | FossilOrigin-Name: f71249d3db9242b8f38955db51a7a5789d002803
* | Fix issues on unix with opening database files via symlinks that are not in ↵dan2016-01-25
| | | | | | | | | | the current working directory. And with nested symlinks. FossilOrigin-Name: 80398fd44fb232193450103808e1854e0eba5652
* | Reenable the xCurrentTime and xGetLastError methods on the unix VFSes as longdrh2016-01-22
| | | | | | | | | | as SQLITE_OMIT_DEPRECATED is not defined. FossilOrigin-Name: c11c85fdb6514cae54bb44945cc197dcaba72307
* | Various #ifdef enhancements for improved VxWorks support.drh2016-01-12
| | | | | | FossilOrigin-Name: 75cd41ff179e29c5d45f9d7fed784bc339e0d7a0
* | Typo fix in the previous commit.drh2016-01-08
| | | | | | FossilOrigin-Name: 52c166039831cc8423e2252019ef64a21b9d7c2a
* | More #ifdef fixes for the unix VFS.drh2016-01-08
| | | | | | FossilOrigin-Name: 122c111e360761de8166e16ca151cb7260ee9bf8
* | Fix a problem with #ifdefs on the system calls in the unix VFS that causesdrh2016-01-08
|/ | | | | problems when compiling with SQLITE_OMIT_WAL. FossilOrigin-Name: ceceea4c5ee242b20ebf216593c15c11ce2c369a
* Fix the openDirectory() routine in the unix VFS so that it works for databasesdrh2015-12-07
| | | | | | located in the root of the filesystem and for database files that have no pathname at all. FossilOrigin-Name: e7ae120d04cffafd9bc2b4ecd68571c17e05ed72
* Cleaner code and additional comments on the handling of 8+3 filenames whendrh2015-12-03
| | | | | | trying to find the name of a database file based on its journal filename, in the unix VFS. FossilOrigin-Name: 9e489a71f2aeb1f13f9ca6f106b9144d07ca25aa
* Fix an incorrect, though harmless, assert() in the unix VFS.drh2015-12-02
| | | FossilOrigin-Name: 4692ae84f93530e27d7c106a60236355e176b7fd
* Remove an unreachable branch from the unixMapfile() routine of the unix VFS.drh2015-12-02
| | | FossilOrigin-Name: b50f67bc46e65fe4e51667d48b4add58706a9443
* Minor simplifications to the unix VFS.drh2015-12-02
| | | FossilOrigin-Name: 2f13c16b45685ec6850cbd9da79e8198bad6a491
* Change the SQLITE_NO_SYNC compile-time option to call fstat() in place ofdrh2015-12-02
| | | | | fsync() rather than being a total no-op. FossilOrigin-Name: f64ea8a052af9790d5e6987cbd5e81d77da6f172
* Fix a (harmless) off-by-one error in the unix VFS logic that fsync()s adrh2015-12-02
| | | | | directory after deleting a file. FossilOrigin-Name: 3d02711a709a7e708edb0ea8ca5d17b39dd307f6
* Simplification of the logic used to take the process-wide lock in thedrh2015-12-02
| | | | | unix-excl VFS. FossilOrigin-Name: 73defd52bb0e3e5db763d3bfbeebc972b645867e
* Remove all traces of SQLITE_FCNTL_WAL_BLOCK from the unix VFS - that featuredrh2015-12-02
| | | | | had been disabled for a long time and never actually worked. FossilOrigin-Name: e1d5320ca089336e26d200305b744b06ce883be4
* Simplification to the posix_fallocate() replacement used for thedrh2015-12-01
| | | | | SQLITE_FCNTL_SIZE_HINT file control in the unix VFS. FossilOrigin-Name: 74934d3f60ad9f6550297410eada0f288e0123c4
* Simplification to the read and write primatives in the unix VFS.drh2015-12-01
| | | FossilOrigin-Name: 9eefa449792f03c4c149edcbc6b9b7692617994c
* Fix a problem in xFullPathname for the unix VFS. The problem was found bydrh2015-11-30
| | | | | Kostya Serebryany using libFuzzer. FossilOrigin-Name: bb1e2c4df0b81327923f121dd6c002845486a314
* The EOVERFLOW errors from fstat() is not possible unless SQLite has beendrh2015-11-30
| | | | | compiled with SQLITE_DISABLE_LFS. FossilOrigin-Name: 8cfb7a50bb70ba1e021c1d12d31563e98a20d291
* Simplifications to the locking logic in the unix-dotfile VFS.drh2015-11-30
| | | FossilOrigin-Name: 583813525888c7e106f3e8cb46c1a507006daee6
* Improvements to temporary file creation logic in the unix VFS.drh2015-11-28
| | | FossilOrigin-Name: d6e177fd09c83d46adc5b5d36e9a439aa5397450
* Simplify logic for syncing directories after creating or deleting a file indrh2015-11-26
| | | | | the unix VFS. FossilOrigin-Name: eb180b4f04d412dcd0af138e2dd7f62fbb5ac439
* Small simplification to the xOpen method in the unix VFS.drh2015-11-26
| | | FossilOrigin-Name: 96e7d638ecdabbf84a152036eb01d408d142839e
* Simplify the temporary filename generator and the time-of-day functions indrh2015-11-25
| | | | | the unix VFS. FossilOrigin-Name: 6c5621ce1b1a65913b088ed8be65f9b689260d2c
* Make the xAccess method of the unix VFS smaller and faster.drh2015-11-25
| | | FossilOrigin-Name: 191aef986ffc4ef34d813e417e52a4ec820b0300
* Remove unused methods from the unix VFS.drh2015-11-25
| | | FossilOrigin-Name: 228bd15bbb7a1e6e3e0d03832e7f39ba169356a8
* Simplification of the error code translator in os_unix.c. Code cleanup only.drh2015-11-25
| | | | | The logic is unchanged. FossilOrigin-Name: 2a20f793fdf6a2e88b679a7bd4e8ccf2935df049
* Remove from os_unix.c pointless logic that tries to prevent a recurrence ofdrh2015-11-24
| | | | | a warning message that can only occur once. FossilOrigin-Name: 20256177072caa4f2b4114038ad1c8f6e26bc562
* Fix a comment typo in the unix VFS. No changes to code.drh2015-11-24
| | | FossilOrigin-Name: 32e138796c66c88e8cbb77aa3a4282a38d1f959a
* Make the geteuid() system call overloadable using xSetSystemCall() on thedrh2015-11-24
| | | | | unix VFSes. FossilOrigin-Name: 6c2ddea65e1871b2fcb4991c5b3e6992993db3ea
* Fix over-length source code lines. No logic changes.drh2015-11-21
| | | FossilOrigin-Name: 198d191b2f5ef7d63ac0093c701955c9052fd734
* When using mmap mode on unix, use a read-only mapping by default. Write to ↵dan2015-11-17
| | | | | the database file using write(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy(). FossilOrigin-Name: 67c5d3c646c8198c8637069140aca952b802df25
* On unix, if a file is opened via a symlink, create, read and write journal ↵dan2015-10-31
| | | | | and wal files based on the name of the actual db file, not the symlink. FossilOrigin-Name: c7c8105099c0412ac6c605f98987092c10bde57c
* Strengthen the implementations of xShmMemoryBarrier on both the unix anddrh2015-09-24
| | | | | windows VFSes, so that they likely work even if SQLITE_THREADSAFE=0 is used. FossilOrigin-Name: c6ab807b72ddfc1462f61aa91442b6fac04ace8a
* Very minor optimizations in the unix VFS.drh2015-09-01
| | | FossilOrigin-Name: 6db3ff45bc15ece29cb2c7a736e5c6d005dde200
* Add static mutexes for use by the built-in / third-party VFSs and use the ↵mistachkin2015-07-03
| | | | | built-in VFS mutex where appropriate. FossilOrigin-Name: b202e2a1d73d104d795d2252b1c6f61d65bfb295
* Fix signed/unsigned comparison compiler warnings. Add thedrh2015-04-30
| | | | | | SQLITE_OMIT_RANDOMNESS compile-time option to cause the PRNG to be seeded identically on every run, for testing purposes. FossilOrigin-Name: 93ce2bca701efc67aeb517c4d641bde71332e8a0
* Use sqlite3_malloc64() in place of sqlite3_malloc() internally.drh2015-04-29
| | | FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
* Merge updates from trunk. Make OSTRACE changes work on Linux.mistachkin2015-04-16
|\ | | | | FossilOrigin-Name: cd1542664eb3eb46d486664ded49cd9c4bef3948