home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!utcsri!torn!nott!bnrgate!bcrka451!bcrka368!brianmck
- From: brianmck@bcrka368.bnr.ca (Brian McKinnon 1615274)
- Subject: Re: elm-2.4 Crashes on "send"
- Message-ID: <1992Nov6.224640.13274@bcrka451.bnr.ca>
- Sender: 5E00 Corkstown News Server
- Reply-To: brianmck@bnr.ca
- Organization: Bell-Northern Research, Ottawa, Canada
- References: <1992Nov06.201620.2711@bmerh85.bnr.ca>
- Date: Fri, 6 Nov 1992 22:46:40 GMT
- Lines: 72
-
-
- The problem your experiencing is one I had as well. It is another
- Apollo'ism.
-
- In file lib/getarpdate.c, you must change the 'timezone()' call to
- '_bky_timezone()'. I have included the changed function below. By the
- way, Martin J. Laubach first pointed this out, I'm just repeating it.
-
-
- In file lib/getarpdate.c:
-
- .....
- code deleted
- .....
-
- #if defined(BSD) && !defined(_POSIX_SOURCE)
- # ifdef apollo
- char *_bky_timezone();
- # else
- char *timezone();
- # endif
- #else
- extern char *tzname[];
- #endif
-
- char *
- get_arpa_date()
- {
- .....
- code deleted
- .....
-
-
- sprintf(buffer, "%s, %d %s %d %02d:%02d:%02d %s%02d%02d (%s)",
- arpa_dayname[the_time->tm_wday],
- the_time->tm_mday,
- arpa_monname[the_time->tm_mon], the_time->tm_year,
- the_time->tm_hour, the_time->tm_min, the_time->tm_sec,
- tzsign, tzmin / 60, tzmin % 60,
- #ifdef BSD
- #ifdef TZ_MINUTESWEST
- # ifdef GOULD_NP1
- the_time->tm_zone);
- # else
- # ifdef apollo
- _bky_timezone(time_zone.tz_minuteswest, the_time->tm_isdst));
- # else
- timezone(time_zone.tz_minuteswest, the_time->tm_isdst));
- # endif
- # endif
- #else
- # ifdef apollo
- _bky_timezone(loc_time.timezone, the_time->tm_isdst));
- # else
- timezone(loc_time.timezone, the_time->tm_isdst));
- # endif
- #endif
- #else
- tzname[the_time->tm_isdst]);
- #endif
-
- return( (char *) buffer);
- }
-
-
- ===========================================================================
- Brian J. McKinnon Phone: (613) 763-7634 (ESN 393)
- Bell-Northern Research, Fax: (613) 763-7241
- Ottawa, Ontario, Canada email: brianmck@bnr.ca
-
- "The opinions expressed in the preceding program do not reflect
- the views of the producers, sponsers or employers."
-