aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2018-12-12 14:37:14 -0500
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2018-12-12 14:37:14 -0500
commit38a128d1bf9d3fd27b7e06f3501004698ac968b3 (patch)
tree3b761afd0aa3780707473d1bf228bb80236f4777
parentd5d60a503f6de8866be843b40fe6de7c20a0f3a0 (diff)
downloadegawk-38a128d1bf9d3fd27b7e06f3501004698ac968b3.tar.gz
egawk-38a128d1bf9d3fd27b7e06f3501004698ac968b3.tar.bz2
egawk-38a128d1bf9d3fd27b7e06f3501004698ac968b3.zip
Add comment indicating that timegm came from the Linux man page.
-rw-r--r--missing_d/ChangeLog5
-rw-r--r--missing_d/timegm.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog
index 2d69087a..3119ad81 100644
--- a/missing_d/ChangeLog
+++ b/missing_d/ChangeLog
@@ -1,5 +1,10 @@
2018-12-12 Andrew J. Schorr <aschorr@telemetry-investments.com>
+ * timegm.c (timegm): Add comment indicating that this came from
+ the Linux man page.
+
+2018-12-12 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
* timegm.c: New file implementing timegm.
2018-10-03 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/missing_d/timegm.c b/missing_d/timegm.c
index f7b780de..fdb65fb5 100644
--- a/missing_d/timegm.c
+++ b/missing_d/timegm.c
@@ -1,6 +1,8 @@
#include <time.h>
#include <stdlib.h>
+/* timegm -- based on Linux timegm man page */
+
static time_t
timegm(struct tm *tm)
{