Hi.
Has anyone built crack version 4.1 on dUnix ?
When I apply the OSF patches I get:
Hmm... The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** Sources/bytesex.c.dist Thu Mar 19 21:13:46 1992
|--- Sources/bytesex.c Tue Feb 23 17:26:25 1993
--------------------------
File to patch: Sources/bytesex.c
Patching file Sources/bytesex.c using Plan A...
Hunk #1 succeeded at 4.
Hunk #2 failed at 24.
1 out of 2 hunks failed--saving rejects to Sources/bytesex.c.rej
Sources/bytesex.c.rej contains:
***************
*** 23,32 ****
}
if (!strncmp (p, "abcd", 4))
{
! puts ("-DBIG_ENDIAN");
} else if (!strncmp (p, "dcba", 4))
{
! puts ("-DLITTLE_ENDIAN");
}
exit (0);
}
--- 24,56 ----
}
if (!strncmp (p, "abcd", 4))
{
! endian = 1;
} else if (!strncmp (p, "dcba", 4))
{
! endian = -1;
}
+ if (endian == 0) { /* try again after shifting l back 32 */
+ l >>= 32;
+ if (!strncmp (p, "abcd", 4))
+ {
+ endian = 1;
+ } else if (!strncmp (p, "dcba", 4))
+ {
+ endian = -1;
+ }
+ }
+ switch (endian)
+ {
+ case 0:
+ fprintf (stderr, "bytesex: Can't figure out endian of this system!\n");
+ exit(1);
+ case 1:
+ puts ("-DBIG_ENDIAN");
+ break;
+ case -1:
+ puts ("-DLITTLE_ENDIAN");
+ }
+
+
exit (0);
}
TIA.
--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward | Aharon_at_Matat.Health.Gov.IL
is great, and the Master of the house is |
impatient. - Ethics Of The Fathers Ch. 2 |
Received on Mon Jun 10 1996 - 08:38:31 NZST