Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use timelocal instead of mktime in timelocal64 in OpenBSD

  • Loading branch information...
commit 1709c3906679ce4106fd908f069d43c01c28ba01 1 parent 2acbc7d
@tonysidaway tonysidaway authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 vm/util/time64.c
4 vm/util/time64.c
@@ -338,7 +338,11 @@ time64_t mktime64(struct tm64* tm64) {
time64_t timelocal64(struct tm64* tm64) {
+#ifdef __OpenBSD__
+ return timestamp64(timelocal, tm64);
return timestamp64(mktime, tm64);
time64_t timegm64(struct tm64* tm64) {
Please sign in to comment.
Something went wrong with that request. Please try again.