aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAge
...
* Fix the temporary directory search algorithm for unix so that it failsdrh2016-04-29
| | | | | | gracefully even if all candidate directories are inaccessible. This fixes a bug that was introduced by check-in [9b8fec60d8e]. FossilOrigin-Name: 614bb709d34e11488da88861243023cc5de4b409
* The pcache and the built-in VFSes should not use mutexes whendrh2016-04-26
| | | | | SQLITE_CONFIG_SINGLETHREAD is set. FossilOrigin-Name: 12418b100196abbfbfb85e0ab4bb6b1cbf335df7
* Fix the fix to the temporary directory search algorithm so that it continuesdrh2016-04-23
| | | | | to return "." as a fallback if that directory has the correct permissions. FossilOrigin-Name: b38fe522cfc971b37ca04e7b63a92bbb6e0b01e1
* Change the temporary directory search algorithm on unix so that directoriesdrh2016-04-21
| | | | | | with only -wx permission are allowed. And do not allow "." to be returned if it lacks -wx permission. FossilOrigin-Name: 67985761aa93fb613b87d340e75371fa55b0f778
* The last parameter to pread64() and pwrite64() should be off64_t, not off_t.drh2016-04-18
| | | FossilOrigin-Name: 3a7d72986fabe9434ff5bd02c93169314f072b23
* Update comments on the unix file locking protocol. No changes to code.drh2016-04-07
| | | FossilOrigin-Name: 716b20de4306de1653ba5bcdbfb8d210d2d46e1a
* Remove an unreachable branch from the unlink verification logic in the UNIXdrh2016-03-21
| | | | | VFS. FossilOrigin-Name: 4dc30cce7fdb7dba9a9aad96bb8b499b965610b2
* Experimental implementation of the sqlite3_system_errno() interface.drh2016-03-17
| | | FossilOrigin-Name: 6782c87b3722fbd09684a5b1e5df05247956f1c6
* 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