SQLite

Check-in [44adf8f3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Back out the most significant part of [5c28a17253e2f], as Cygwin is a hybrid. With SQLITE_OS_UNIX it will use POSIX locking, which will misinteract with apps using Windows-style locking.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 44adf8f38761a0d756c047f93fc76fc1d0aba8cc209970e3ba13e7040dd14b13
User & Date: stephan 2025-03-06 09:29:15
Context
2025-03-06
14:40
Merge trunk into the cygwin-fixes branch (which was inadvertently branched too early). (check-in: a7863b2e user: stephan tags: cygwin-fixes)
09:29
Back out the most significant part of [5c28a17253e2f], as Cygwin is a hybrid. With SQLITE_OS_UNIX it will use POSIX locking, which will misinteract with apps using Windows-style locking. (Leaf check-in: 44adf8f3 user: stephan tags: trunk)
09:08
Various typo fixes reported by Daniel Dumitriu. No functional changes. (check-in: 37e6ec77 user: stephan tags: trunk)
06:25
Have the configure script report cygwin as SQLITE_OS_UNIX instead of SQLITE_OS_WIN, per off-list discussion with Jan Nijtmans. (check-in: 5c28a172 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to autosetup/sqlite-config.tcl.
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
  proj-xfer-options-aliases {
    with-readline-inc => with-readline-cflags
    with-readline-lib => with-readline-ldflags
    with-debug => debug
  }
  sqlite-autoreconfig
  proj-file-extensions
  switch -exact -- [sqlite-env-is-unix-on-windows] {
    "" - cygwin {
      define SQLITE_OS_UNIX 1
      define SQLITE_OS_WIN 0
    }
    default {
      define SQLITE_OS_UNIX 0
      define SQLITE_OS_WIN 1
    }
  }
  set ::sqliteConfig(msg-debug-enabled) [proj-val-truthy [get-env msg-debug 0]]
  sqlite-setup-default-cflags
}

########################################################################
# Internal config-time debugging output routine. It generates no







|
<
|
|
|
<
|
|
<







441
442
443
444
445
446
447
448

449
450
451

452
453

454
455
456
457
458
459
460
  proj-xfer-options-aliases {
    with-readline-inc => with-readline-cflags
    with-readline-lib => with-readline-ldflags
    with-debug => debug
  }
  sqlite-autoreconfig
  proj-file-extensions
  if {".exe" eq [get-define TARGET_EXEEXT]} {

    define SQLITE_OS_UNIX 0
    define SQLITE_OS_WIN 1
  } else {

    define SQLITE_OS_UNIX 1
    define SQLITE_OS_WIN 0

  }
  set ::sqliteConfig(msg-debug-enabled) [proj-val-truthy [get-env msg-debug 0]]
  sqlite-setup-default-cflags
}

########################################################################
# Internal config-time debugging output routine. It generates no