Date: Thu, 7 May 1998 22:41:58 -0700 (PDT) From: John Birrell <jb@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdlib netbsd_strtod.c Makefile.inc Message-ID: <199805080541.WAA14475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jb 1998/05/07 22:41:58 PDT Modified files: lib/libc/stdlib Makefile.inc Added files: lib/libc/stdlib netbsd_strtod.c Log: This is a hack to workaround source that is coded to use long variables but also assumes that they are 32-bits. This is one place where I don't think it is appropriate to change 'long' to 'int'. I don't see why the code couldn't be fixed so that using natural long variables does the right thing. It's spaggetti code so it'll take some effort. Obviously NetBSD thought so too because they change 'long' to 'int32_t' etc and left it at that. As a temporary measure FreeBSD/Alpha can use the NetBSD code and put this on the list of things to fix. Revision Changes Path 1.15 +11 -2 src/lib/libc/stdlib/Makefile.inc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805080541.WAA14475>