Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: castor@drizzle.Stanford.EDU (Castor Fu)
Subject: Re: Crack 4.1 for DEC OSF 3.0?
Date: 19 Sep 1994 17:18:01 GMT	[thread overview]
Message-ID: <CASTOR.94Sep19101801@drizzle.Stanford.EDU> (raw)
In-Reply-To: kern@pluto.inria.fr's message of 19 Sep 1994 15:01:24 GMT

	I looked at crack 4.1.  I haven't compiled it, but there is a clear
	bug in this routine.

	time_t in DEC OSF/1 is an int, not a long.  This is probably
	the source of the problem.  I wouldn't be surprised if changing
	t to a time_t would fix your problem.


	-castor

p.s. If you had  included <time.h>, cc probably would have told you this.


>>>>> "Michel" == Michel Kern <kern@pluto.inria.fr> writes:

    Michel> Grant Taylor (gtaylor@god.ext.tufts.edu) wrote: : I tried
    Michel> to run crack on our new 3.0 Alpha farm, and the darned
    Michel> thing : core dumps right off.

    Michel> : My fix, if anyone cares to know, was to comment out the
    Michel> printf of the : time() call in line 54 of crack-supp.c.
    Michel> My intuition tells me I just : won't know how long crack
    Michel> took...

    Michel> : -grant

    Michel> Had the same problem, and I changed the line: printf
    Michel> ("pwc: %-15.15s ", ctime (&t) + 4); to printf ("pwc:
    Michel> %-19.19s ", ctime (&t));

    Michel> Seems to have fixed it, and I stiil get the time :)

    Michel> I also changed the Log function to use varargs, becasue I
    Michel> thought that was what was casung the crash. Seems not.

    Michel> BTW, this is under OSf 1.3

--
Castor Fu, (foo@leland.stanford.edu)


  reply	other threads:[~1994-09-19 17:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-16 16:31 Crack 4.1 for DEC OSF 3.0? Grant Taylor
1994-09-19 15:01 ` Michel Kern
1994-09-19 17:18   ` Castor Fu [this message]
     [not found] ` <35pkod$sr7@osfb.aber.ac.uk>
     [not found]   ` <35r91n$t92@rosebud.sdsc.edu>
     [not found]     ` <35rspo$47h@news.delphi.com>
1994-09-22 14:27       ` Doug McPherson
1994-09-22 21:43         ` Charlie Brown
1994-09-25 22:11           ` Szymon Sokol
1994-09-23 10:34         ` Michel Kern
1994-09-23 11:50           ` Alec Muffett
1994-09-23 16:06             ` Xiang Tu
1994-09-24  5:51             ` Mike Iglesias
1994-09-23 16:33           ` Paul S. Sears
1994-09-24 16:57           ` Xiang Tu
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox