[exim-dev] [Bug 1526] Solaris 11: error compiling since exim…

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1526] Solaris 11: error compiling since exim 4.83 - Undefined symbol timegm first referenced in file tls.o
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1526

Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pdp@???                |jgh146exb@???





--- Comment #1 from Phil Pennock <pdp@???> 2014-09-09 00:16:57 ---
The file src/tlscert-openssl.c has this:

105 static uschar *
106 bio_string_time_to_int(BIO * bp, int len)
107 {
108 uschar * cp = US"";
109 struct tm t;
110 len = len > 0 ? (int) BIO_get_mem_data(bp, &cp) : 0;
111 /*XXX %Z might be glibc-specific? */
112 (void) strptime(CS cp, "%b%t%e%t%T%t%Y%t%Z", &t);
113 BIO_free(bp);
114 /*XXX timegm might not be portable? */
115 return string_sprintf("%u", (unsigned) timegm(&t));
116 }

Hey Jeremy: you're right, it's not. :)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email