* PGP 5.0i Compiled! Many Thanks!
@ 1998-11-19 19:02 Konrad Podloucky
1998-11-22 2:03 ` Cameron Simpson
0 siblings, 1 reply; 3+ messages in thread
From: Konrad Podloucky @ 1998-11-19 19:02 UTC (permalink / raw)
To: axp-list
Cc: B. James Phillipe, mgraffam, Peter Rye, Alex de Joode,
Stefan Katzenbeisser
Just before reading the mails I found some time to have a look at the PGP
sources and fixed the problem. None-the-less, thanks to all for your
help; I now know that my patch was correct.
Here's the patch I used:
diff -ur pgp50i.old/src/lib/pgp/include/pgpUsuals.h pgp50i/src/lib/pgp/include/pgpUsuals.h
--- pgp50i.old/src/lib/pgp/include/pgpUsuals.h Thu Nov 19 18:06:12 1998
+++ pgp50i/src/lib/pgp/include/pgpUsuals.h Thu Nov 19 18:08:04 1998
@@ -66,13 +66,13 @@
* IRIX uses ULONGLONG_MAX. Are there any other names for this?
*/
-#ifndef HAVE64
-#if defined(ULONG_LONG_MAX) || defined (ULLONG_MAX) || defined(ULONGLONG_MAX)
+ //#ifndef HAVE64
+ //#if defined(ULONG_LONG_MAX) || defined (ULLONG_MAX) || defined(ULONGLONG_MAX)
typedef unsigned long long word64;
typedef long long int64;
#define HAVE64 1
-#endif
-#endif
+ //#endif
+ //#endif
#include <string.h> /* Prototype for memset */
/*
Bye,
Konrad
______________________________________________________________________
Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Contrary to popular belief, Unix is user-friendly.
It just happens to be selective about who it makes friends with."
-- Dave Parnas
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: PGP 5.0i Compiled! Many Thanks!
1998-11-19 19:02 PGP 5.0i Compiled! Many Thanks! Konrad Podloucky
@ 1998-11-22 2:03 ` Cameron Simpson
1998-11-22 17:24 ` Konrad Podloucky
0 siblings, 1 reply; 3+ messages in thread
From: Cameron Simpson @ 1998-11-22 2:03 UTC (permalink / raw)
To: konrad
Cc: Stefan Katzenbeisser, Alex de Joode, B. James Phillipe, axp-list,
mgraffam, Peter Rye
On 20 Nov 1998, in message <Pine.LNX.3.96.981119195300.12868A-100000@haroun.Podl>
"Konrad Podloucky" <konrad@calvin.tssc.univie.ac.at> wrote:
| Just before reading the mails I found some time to have a look at the PGP
| sources and fixed the problem. None-the-less, thanks to all for your
| help; I now know that my patch was correct.
|
| Here's the patch I used:
[... just comments out the ifdefs ...]
Would it not have been a bit cleaner to just add:
-UHAVE64 -DULLONG_MAX=18446744073709551615
to the compile line (and make sure any definition of HAVE64 in some config.h
file was commented out)? That would leave your patched (now untouched) source
portable to other platforms.
Just an idea...
--
Cameron Simpson, DoD#743 cs@zip.com.au http://www.zip.com.au/~cs/
Favourite proverb: Ein mann der motorrad fahrt ist fuer immer jung.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PGP 5.0i Compiled! Many Thanks!
1998-11-22 2:03 ` Cameron Simpson
@ 1998-11-22 17:24 ` Konrad Podloucky
0 siblings, 0 replies; 3+ messages in thread
From: Konrad Podloucky @ 1998-11-22 17:24 UTC (permalink / raw)
To: Cameron Simpson; +Cc: axp-list
On Sun, 22 Nov 1998, Cameron Simpson wrote:
>
> Would it not have been a bit cleaner to just add:
> -UHAVE64 -DULLONG_MAX=18446744073709551615
> to the compile line (and make sure any definition of HAVE64 in some config.h
> file was commented out)? That would leave your patched (now untouched) source
> portable to other platforms.
>
> Just an idea...
> --
> Cameron Simpson, DoD#743 cs@zip.com.au http://www.zip.com.au/~cs/
>
> Favourite proverb: Ein mann der motorrad fahrt ist fuer immer jung.
>
You're right! If this works (looks like it should), it is certainly a _much_
cleaner solution to the problem.
Greetinx
Konrad
______________________________________________________________________
Konrad Podloucky <konrad@calvin.tssc.univie.ac.at>
Vienna, Austria PGP-key available by request
Running LINUX on an Alpha
"Contrary to popular belief, Unix is user-friendly.
It just happens to be selective about who it makes friends with."
-- Dave Parnas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-11-22 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-19 19:02 PGP 5.0i Compiled! Many Thanks! Konrad Podloucky
1998-11-22 2:03 ` Cameron Simpson
1998-11-22 17:24 ` Konrad Podloucky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox