Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!uunet!pipex!sunic!ugle.unit.no!ugle.unit.no!he From: Havard.Eidnes@runit.sintef.no Subject: Re: Problems with new patches espec. patch00089 Message-ID: <1993Mar8.210510.26746@ugle.unit.no> Originator: he@ugle.unit.no Sender: news@ugle.unit.no (NetNews Administrator) Organization: University of Trondheim, Norway References: <sturges-030393120454@humble.lds-az.loral.com> <C3Kquz.Bxv@cosy.sbg.ac.at> Date: Mon, 8 Mar 93 21:05:10 GMT Lines: 52 In article <C3Kquz.Bxv@cosy.sbg.ac.at> peter@cosy.sbg.ac.at writes: >Hi folks! >I just installed the new patches 84-110. >I ran into several problems. >1. config did core dump because of the "#" in several files like > file.i386, devices ... >I deleted all comments and config worked again. Recompile config before building the kernel. One of the patches modify a file in the config program to accept comments in these files (it's said to make automatic patching with the patchkit of these files easier/possible). >2. Either I did miss something or there is a bug in patch00089. > I tried to recompile libc (atof.c was changed by this patch) > and got the following output: >/usr/src/lib/libc/i386/stdlib/atof.c: In function strtod: >/usr/src/lib/libc/i386/stdlib/atof.c:156: warning: assignment of non-const * pointer >from const * >cc: Program cc1 got fatal signal 6. >*** Error code 1 You have probably (like I did at first) used the prerelease of the patchset for patches 84-110. Patch 86 in the new patchset fixes this. The problem is that the correction of HUGE_VAL in /usr/include/math.h got left out. Just copy the value of DBL_MAX from float.h, or apply the attached patch. You are probably better off fetching the official unofficial (?) patchset, though, and backing out of the prerelease for patches 84-110 and reapply them from the official version. - Havard ------------------------------ *** /usr/src/include/math.h.pl1 Fri Feb 28 16:13:15 1992 --- /usr/src/include/math.h Sun Feb 28 13:33:01 1993 *************** *** 39,45 **** #if defined(vax) || defined(tahoe) /* DBL_MAX from float.h */ #define HUGE_VAL 1.701411834604692294E+38 #else ! #define HUGE_VAL 1e500 /* IEEE: positive infinity */ #endif #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) --- 46,52 ---- #if defined(vax) || defined(tahoe) /* DBL_MAX from float.h */ #define HUGE_VAL 1.701411834604692294E+38 #else ! #define HUGE_VAL 1.797693134862315E+308 /* IEEE: positive infinity */ #endif #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)