clogger.git  about / heads / tags
configurable request logging for Rack
   commit 461c3d49b7910e0f96c55404b6db75ea092b77f3 (patch)
   parent 91de1c8 fix $request_time{9,0} for 32-bit platforms
     tree e66cb3f9820352e248280ca288f6706673e8c7a7
   author Eric Wong <bofh@yhbt.net>  2023-03-19 19:37:13 +0000
committer Eric Wong <bofh@yhbt.net>  2023-05-11 21:26:54 +0000

use _POSIX_C_SOURCE=200809L

That's what _DEFAULT_SOURCE will set if it's respected, and
we've had POSIX 2008 goodies for 15 years, now.
---
 ext/clogger_ext/clogger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c
index 8cd40be..7989472 100644
--- a/ext/clogger_ext/clogger.c
+++ b/ext/clogger_ext/clogger.c
@@ -17,7 +17,7 @@
 #  include <fcntl.h>
 #endif
 #ifndef _POSIX_C_SOURCE
-#  define _POSIX_C_SOURCE 200112L
+#  define _POSIX_C_SOURCE 200809L
 #endif
 #include <time.h>
 #include <stdlib.h>


glossary
--------
Commit objects reference one tree, and zero or more parents.

Single parent commits can typically generate a patch in
unified diff format via `git format-patch'.

Multiple parents means the commit is a merge.

Root commits have no ancestor.  Note that it is
possible to have multiple root commits when merging independent histories.

Every commit references one top-level tree object.

git clone https://yhbt.net/clogger.git