summaryrefslogtreecommitdiff
path: root/missing_d
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-12-14 11:54:28 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-12-14 11:54:28 +0200
commit12daa7e6aa818eaf4965a80a3b5fb3e5e2988062 (patch)
treedc33aeff4a3c1c0525e554878ec3537f8cc6a1b8 /missing_d
parentaeb58e66c4e77a3deadabc02ec303ce08654d2f6 (diff)
parent38a128d1bf9d3fd27b7e06f3501004698ac968b3 (diff)
downloadgawk-12daa7e6aa818eaf4965a80a3b5fb3e5e2988062.tar.gz
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'missing_d')
-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 9fd121a3..a1095cd4 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)
{