🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by tony summerfelt Wed, 14 Oct 1998 00:00
compile time
#43753
Author: tony summerfelt
Date: Wed, 14 Oct 1998 00:00
21 lines
1274 bytes
when slrn is started up a message like:

slrn (0.9.5.2) (compile time)

comes up...does anybody know which file in the source generates this message?

i spent a few minutes looking for a static variable (eg. __TIME__) but
didn't see anyting obvious...


-- 
.t
*-------------------------------------------------------------------------
| origin: ...the vented spleen kingston on (613-544-9332) 1:249/139 
|
| `you want a toe? i can get you a toe'
|
| take myspleen out to reply via email
*-------------------------------------

Re: compile time
#43756
Author: Stefan Berglund
Date: Wed, 14 Oct 1998 00:00
25 lines
1449 bytes
tonys@myspleen.kos.net (tony summerfelt) wrote:
> when slrn is started up a message like:
> 
> slrn (0.9.5.2) (compile time)
> 
> comes up...does anybody know which file in the source generates this message?

>> grep __TIME__ *.[ch]
slrn.c:# if defined(__DATE__) && defined(__TIME__)
slrn.c:   fprintf (stdout, "Slrn Version: %s (%s %s)\n", Slrn_Version, __DATE__, __TIME__);
slrn.c:#if defined(__DATE__) && defined(__TIME__)
slrn.c:   fprintf (stdout, "slrn %s (%s %s)\n", Slrn_Version, __DATE__, __TIME__);

in version 0.9.5.3 this is lines 944, 945 resp 1161, 1162
It seems like it is the second fprintf that prints the string.

-- 
			/Stefan
			f94stbe@dd.chalmers.se

Life - the ultimate practical joke

finger f94stbe.pgp@dd.chalmers.se for public pgp-key

Re: compile time
#43803
Author: tony summerfelt
Date: Thu, 15 Oct 1998 00:00
19 lines
1347 bytes
On 14 Oct 1998 19:54:06 GMT, Stefan Berglund wrote:

> in version 0.9.5.3 this is lines 944, 945 resp 1161, 1162
> It seems like it is the second fprintf that prints the string.

thanks. i can't believe i missed it. i must have pulled into jed 3 or 4
times. i think i need to change the syntax highlighting a bit...

-- 
.t
*-------------------------------------------------------------------------
| origin: ...the vented spleen kingston on (613-544-9332) 1:249/139 
|
| `you want a toe? i can get you a toe'
|
| take myspleen out to reply via email
*-------------------------------------

Re: compile time
#43818
Author: Sylvain Robitaille
Date: Thu, 15 Oct 1998 00:00
32 lines
1621 bytes
On 14 Oct 1998 15:25:53 -0500, tony summerfelt <tonys@myspleen.kos.net>
wrote:

> when slrn is started up a message like:
> 
> slrn (0.9.5.2) (compile time)
> 
> comes up...does anybody know which file in the source generates this
> message?
> 
> i spent a few minutes looking for a static variable (eg. __TIME__)
> but didn't see anyting obvious...

In version 0.9.5.1, lines 1150 to 1154 of slrn.c read:

  #if defined(__DATE__) && defined(__TIME__)
     fprintf (stdout, "slrn %s (%s %s)\n", Slrn_Version, __DATE__, __TIME__);
  #else
     fprintf (stdout, "slrn %s\n", Slrn_Version);
  #endif

That should help...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads