Artifact 19e2b53226b5f785efa2e3aeed69defcdc8982a9d61afddf7f89748e36f8c2f1:
- File
vendor/libfossil/libfossil-config.h
— part of check-in
[7e7550292a]
at
2026-11-18 12:30:18
on branch tracer-bullet
— Add the first durable agent loop in C
pic keeps its journal in its own libfossil-hosted SQLite database: an idempotent admission per request key, then one short transaction per state change, never held across provider or tool I/O. A replay-safe write tool reruns after a crash; a replay-unsafe exec records an unknown outcome and never reruns. exec runs under a supervisor that starts the command only after the started commit and kills its group if pic dies or is interrupted. A second pic on the same database is refused.
test/pic/crash.sh crashes at every commit and effect boundary and checks the journal against an external ledger, plus deadline, output redirection, background child, crash and interrupt orphaning, and second-writer cases. Vendored SQLite and libfossil match ctx byte for byte. (user: dmestas, size: 1191) [annotate] [blame] [check-ins using] [more...]
#if !defined(_NET_FOSSIL_SCM_FSL_AMALGAMATION_CONFIG_H_INCLUDED_) #define _NET_FOSSIL_SCM_FSL_AMALGAMATION_CONFIG_H_INCLUDED_ 1 /* Tweak the following for your system... */ #if !defined(HAVE_COMPRESS) # define HAVE_COMPRESS 1 #endif #if !defined(HAVE_STDINT_H) # define HAVE_STDINT_H 1 #endif #if defined(_WIN32) # if !defined(HAVE_LSTAT) # define HAVE_LSTAT 0 # endif #else # if !defined(HAVE_LSTAT) # define HAVE_LSTAT 1 # endif #endif #if !defined(HAVE_OPENDIR) # define HAVE_OPENDIR 1 #endif #if defined(_WIN32) # if !defined(HAVE_PIPE) # define HAVE_PIPE 0 # endif #else # if !defined(HAVE_PIPE) # define HAVE_PIPE 1 # endif #endif #if defined(_WIN32) # if !defined(HAVE_STAT) # define HAVE_STAT 0 # endif #else # if !defined(HAVE_STAT) # define HAVE_STAT 1 # endif #endif #if !defined(_DEFAULT_SOURCE) # define _DEFAULT_SOURCE 1 #endif #if !defined(_XOPEN_SOURCE) # define _XOPEN_SOURCE 700 #endif #if defined(_WIN32) # if !defined(HAVE_CLOCK_GETTIME) # define HAVE_CLOCK_GETTIME 0 # endif #else # if !defined(HAVE_CLOCK_GETTIME) # define HAVE_CLOCK_GETTIME 1 # endif #endif #endif /* _NET_FOSSIL_SCM_FSL_AMALGAMATION_CONFIG_H_INCLUDED_ */