Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* tripwire
@ 1998-11-20  5:00 Helmut Katzgraber
  1998-11-21  5:00 ` tripwire Peter Rye
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Katzgraber @ 1998-11-20  5:00 UTC (permalink / raw)


Hi All.

Does anybody know of a version of Tripwire which compiles (easily) on an
alpha running linux?

Thanks, h.

--

=====================================================================
        Helmut Katzgraber       mail:   dummkopf@debussy.ucsc.edu
        Physics Department      http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California     Phone:  (+1) 408-459-4762 OF
        Santa Cruz, CA 95064            (+1) 408-423-3751
        USA                     Fax:    (+1) 408-459-3043
=====================================================================






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tripwire
  1998-11-20  5:00 tripwire Helmut Katzgraber
@ 1998-11-21  5:00 ` Peter Rye
  1998-11-23  5:00   ` tripwire Helmut Katzgraber
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rye @ 1998-11-21  5:00 UTC (permalink / raw)


Helmut Katzgraber <dummkopf@debussy.ucsc.edu> writes:

> Hi All.
> 
> Does anybody know of a version of Tripwire which compiles (easily) on an
> alpha running linux?

tripwire-1.2 will compile if you edit the Makefile. (Uncomment the CFLAGS
line that looks like:
CFLAGS = -DTW_TYPE32='int'  # DEC OSF/1 Alpha (or any other architecture

Unfortunately this doesn't completely solve the problem as there appears to
be a bug in the md5 code which results in it failing its own tests.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tripwire
  1998-11-21  5:00 ` tripwire Peter Rye
@ 1998-11-23  5:00   ` Helmut Katzgraber
  1998-11-23  5:00     ` tripwire Helmut Katzgraber
  1998-11-23  5:00     ` tripwire Peter Rye
  0 siblings, 2 replies; 5+ messages in thread
From: Helmut Katzgraber @ 1998-11-23  5:00 UTC (permalink / raw)


Hi,

I tried what you suggested and it compiled. But when I try to initialize
tripwire I get a core dump.

Thanks, h.


Peter Rye wrote:

> tripwire-1.2 will compile if you edit the Makefile. (Uncomment the CFLAGS
> line that looks like:
> CFLAGS = -DTW_TYPE32='int'  # DEC OSF/1 Alpha (or any other architecture
>
> Unfortunately this doesn't completely solve the problem as there appears to
> be a bug in the md5 code which results in it failing its own tests.



--

=====================================================================
        Helmut Katzgraber       mail:   dummkopf@debussy.ucsc.edu
        Physics Department      http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California     Phone:  (+1) 408-459-4762 OF
        Santa Cruz, CA 95064            (+1) 408-423-3751
        USA                     Fax:    (+1) 408-459-3043
=====================================================================






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tripwire
  1998-11-23  5:00   ` tripwire Helmut Katzgraber
  1998-11-23  5:00     ` tripwire Helmut Katzgraber
@ 1998-11-23  5:00     ` Peter Rye
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Rye @ 1998-11-23  5:00 UTC (permalink / raw)


Helmut Katzgraber <dummkopf@debussy.ucsc.edu> writes:

> Hi,
> 
> I tried what you suggested and it compiled. But when I try to initialize
> tripwire I get a core dump.
> 
> Thanks, h.
> 
> 
> Peter Rye wrote:
> 
> > tripwire-1.2 will compile if you edit the Makefile. (Uncomment the CFLAGS
> > line that looks like:
> > CFLAGS = -DTW_TYPE32='int'  # DEC OSF/1 Alpha (or any other architecture
> >
> > Unfortunately this doesn't completely solve the problem as there appears to
> > be a bug in the md5 code which results in it failing its own tests.

I did find a patch which apparently fixes this problem (although I don't
get a core dump here).

Here it is. It might help.

--- config.parse.c.orig	Wed Jul 20 20:03:26 1994
+++ config.parse.c	Mon May 18 09:58:14 1998
@@ -352,8 +352,14 @@
     /* clean up */
     if (!specified_configmode)
 	(void) fclose(fpin);
-
-    rewind(fpout);
+    else {
+	/* Bug fix:  fpin and fpout are the same. fpout was being */
+	/* rewound after fpin was being closed.  The behavior of  */
+	/* this is undefined, and causes core dumps occasionally. */
+	/* Added the else and changed fpout to fpin for clarity.  */
+	/* Bug Fix by Dan D Niles (dniles@iname.com) -DDN- */ 
+	rewind(fpin);
+    }
     return;
 }
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tripwire
  1998-11-23  5:00   ` tripwire Helmut Katzgraber
@ 1998-11-23  5:00     ` Helmut Katzgraber
  1998-11-23  5:00     ` tripwire Peter Rye
  1 sibling, 0 replies; 5+ messages in thread
From: Helmut Katzgraber @ 1998-11-23  5:00 UTC (permalink / raw)


>

 Hi.

I tried now tripwire-1.3. changing the CFLAGS properly made it compile nicely.
Thanks for your help, h.

--

=====================================================================
        Helmut Katzgraber       mail:   dummkopf@debussy.ucsc.edu
        Physics Department      http://debussy.ucsc.edu/~dummkopf
        Kerr Hall
        Univ. of California     Phone:  (+1) 408-459-4762 OF
        Santa Cruz, CA 95064            (+1) 408-423-3751
        USA                     Fax:    (+1) 408-459-3043
=====================================================================






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-11-23  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-20  5:00 tripwire Helmut Katzgraber
1998-11-21  5:00 ` tripwire Peter Rye
1998-11-23  5:00   ` tripwire Helmut Katzgraber
1998-11-23  5:00     ` tripwire Helmut Katzgraber
1998-11-23  5:00     ` tripwire Peter Rye

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