[comp.sources.d] bsd arc being ported to SYSV

johna@molihp.UUCP (01/29/87)

Is there anybody else out there trying to port arc (for bsd), as
posted in net.sources recently, to any SYSV machine?  I'm trying
to get it running on an HP9000 and as a result, I have learned a
lot about vaxen running 4.2.

In a few places, the code would realloc((char *)NULL, sizeof(something)),
and in one place the code was trying to free a pointer variable that
was on the stack (which caused a core dump on the very next malloc).

My disk is half full of core images :-).  I've modified enough of
the code so that the program will compress the files, but when I
unarc them, I wind up with files about 3 times larger than the
originals (when I did this with an object file and re-linked it,
I wound up with an executable file that looked like it still worked).

Is this common among vax programs?  Can you dereference null pointers
and free memory that was not malloced with wild abandon?  Or is our
HP just too fussy?

If anybody has managed to port arc to SYSV, could you please send
me email?

   Thanks.

   paths:  ...!ubc-vision!van-bc!molihp!johna
	   ...!ubc-vision!molihp!johna
   (I think)

aeusemrs@csun.UUCP (02/03/87)

In article <401@molihp.UUCP> johna@molihp.UUCP (John M Altstadt) writes:
+----
|Is there anybody else out there trying to port arc (for bsd), as
|posted in net.sources recently, to any SYSV machine?  [...]
|[...]
|If anybody has managed to port arc to SYSV, could you please send
|me email?
+----

Yes, please take a look in net.sources, under 'ARC for System V R2 (? of 3)'.
-- 
Mike Stump, Cal State Univ, Northridge Comp Sci Department
uucp: {sdcrdcf, ihnp4, hplabs, ttidca, psivax, csustan}!csun!aeusemrs