[1140] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: krb5b4pl3: Can't define srandom/random on systems that have both them and srand48/lrand48

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Mar 13 21:21:13 1995

Date: Mon, 13 Mar 1995 21:20:56 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: "Jonathan I. Kamens" <jik@cam.ov.com>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [1133]

   [1133]F daemon@ATHENA.MIT.EDU (Jonathan I. Kamens) Kerberos-V5-bugs 03/13/95 18:06 (89 lines)
   From: "Jonathan I. Kamens" <jik@cam.ov.com>
   Date: Mon, 13 Mar 1995 18:09:34 -0500

   appl/bsd/configure.in defines srandom and random to srand48 and
   lrand48 on systems that have the latter.  Some systems, most notably
   Linux, have both srandom/random and srand48/lrand48, and their
   prototypes in stdlib.h are different.  On such systems, defining
   srandom/random to srand48/lrand48 will cause compile-time errors
   because of prototype conflicts.

Fixed in our sources, by using krb5_random_confounder().

					- Ted

home help back first fref pref prev next nref lref last post