PS FLOATING POINT EXCEPTION
authorGoran Hammarback <goran@astro.uu.se>
Mon, 14 Sep 1992 00:00:00 +0000 (00:00 +0000)
committerGoran Hammarback <goran@astro.uu.se>
Mon, 14 Sep 1992 00:00:00 +0000 (00:00 +0000)
commit448179ba039b5008cfd7a40a9dec208c7bc7b107
treea71eca6746237bf5aacad0e5fd626241fed54aef
parent135e5be2f1a1bf381c9a762f2f157a2658ab767e
PS FLOATING POINT EXCEPTION

There is a bug in the implicit type conversion from int to double in GCC,
probably dealing with the optimization of function return values.  The
gist of this is that an extern double function that isn't declared has
an implicit type of int.  Assigning a double variable the return value
of this function causes a floating point exception.  Declaring the
function fixes 'ps'.

AUTHOR: Goran Hammarback[?] (goran@astro.uu.se)
386BSD-Patchkit: patch00036
usr/src/bin/ps/ps.c