Re: Bug#50093: apt does not build on m68k/potato
On Sat, 13 Nov 1999, Christian T. Steigies wrote:
> Package: apt
> Version: 0.3.14
>
> Automatic build of apt_0.3.14.dsc on aahz by sbuild
Yes, there is a small error in the Big Endian byteswapping code:
Index: md5.cc
===================================================================
RCS file: /cvs/deity/apt/apt-pkg/contrib/md5.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- md5.cc 1999/10/31 06:32:28 1.6
+++ md5.cc 1999/11/14 01:47:55 1.7
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: md5.cc,v 1.6 1999/10/31 06:32:28 jgg Exp $
+// $Id: md5.cc,v 1.7 1999/11/14 01:47:55 jgg Exp $
/* ######################################################################
MD5Sum - MD5 Message Digest Algorithm.
@@ -59,7 +59,7 @@
do
{
- *buf++ = (UINT32)((unsigned)p[3] << 8 | p[2]) << 16 |
+ *buf++ = (uint32_t)((unsigned)p[3] << 8 | p[2]) << 16 |
((unsigned)p[1] << 8 | p[0]);
p += 4;
} while (--words);
Reply to: