delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/11/10:15:09

From: "Patrick Mitran" <pmitran AT tsp DOT ece DOT mcgill DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <m6K27.21468$Sh2 DOT 1265904 AT carnaval DOT risq DOT qc DOT ca> <9ihc6l$ngl$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Subject: Re: libm question
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <H8Z27.23839$Sh2.1463640@carnaval.risq.qc.ca>
Date: Wed, 11 Jul 2001 14:11:51 GMT
NNTP-Posting-Host: 132.206.69.38
X-Complaints-To: abuse AT mcgill DOT ca
X-Trace: carnaval.risq.qc.ca 994860711 132.206.69.38 (Wed, 11 Jul 2001 10:11:51 EDT)
NNTP-Posting-Date: Wed, 11 Jul 2001 10:11:51 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019