From 5fa01a6f00d0770b28b74982ab87f5925f01ca95 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 3 Nov 2003 22:51:48 +0000 Subject: [PATCH] Give up trying to do this the clean way and just hack groff to remove the uint64 aliasing. --- contrib/groff/src/libs/libgroff/tmpname.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/groff/src/libs/libgroff/tmpname.cc b/contrib/groff/src/libs/libgroff/tmpname.cc index 213b0eeaa9..ab18b69b4a 100644 --- a/contrib/groff/src/libs/libgroff/tmpname.cc +++ b/contrib/groff/src/libs/libgroff/tmpname.cc @@ -21,6 +21,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This file is heavily based on the function __gen_tempname() in the file tempname.c which is part of the fileutils package. */ +/* $DragonFly: src/contrib/groff/src/libs/libgroff/Attic/tmpname.cc,v 1.2 2003/11/03 22:51:48 dillon Exp $ */ #include "lib.h" @@ -57,9 +58,11 @@ extern "C" { (approximately 2**35.725) from uint64_t, so ancient hosts where uintmax_t is only 32 bits lose about 3.725 bits of randomness, which is better than not having mkstemp at all. */ +#if 0 #if !defined UINT64_MAX && !defined uint64_t # define uint64_t uintmax_t #endif +#endif /* These are the characters used in temporary filenames. */ static const char letters[] = -- 2.41.0