tags 1091251 patch fixed-upstream
thanks

This was fixed upstream in 2015 (patch attached):
https://github.com/bo0ts/ddate/commit/ac96f5555247c7a735daed1a8e1b4fa18560ab52

/Gwen

-- 
Sitting in muddy water
isn't such as a bad life
if it ends after the first time
>From ac96f5555247c7a735daed1a8e1b4fa18560ab52 Mon Sep 17 00:00:00 2001
From: Denis Bychkov <mano...@gmail.com>
Date: Fri, 22 May 2015 00:14:55 -0400
Subject: [PATCH 1/8] Fix segfault of the architectures where sizeof(long) !=
 sizeof(time_t)

---
 ddate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ddate.c b/ddate.c
index 4c2a0f8..c0a6bf3 100644
--- a/ddate.c
+++ b/ddate.c
@@ -183,7 +183,7 @@ struct disc_time makeday(int,int,int);
 
 int
 main (int argc, char *argv[]) {
-    long t;
+    time_t t;
     struct tm *eris;
     int bob,raw;
     struct disc_time hastur;
-- 
2.47.1

Reply via email to