Mail Archives: djgpp/2001/07/11/10:15:09
> > I though I could just copy the function body into something called
> > my_erfc() and voila, no problems with portability now.
>
> But possible problems with Copyright, in exchange. You'll have to read
> the Copyright applying to the libm sources carefully to see whether
> you're allowed to rip a single function out of it just like that.
>
The notice at the top of the relevant file (s_erf.c) says:
/* @(#)s_erf.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/*
I'm assuming that this gives me the right to copy and modify the function
to meet my need (I'll gladly put the notice in the relevant section of the
file). Can anyone back this up? Also, the program is for my use only, so
there are no distribution issues such as with the GPL.
Patrick
- Raw text -