Re: [PATCH v2] Add i386 and x86_64 fenv support from Cygwin.

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Sep  4 12:14, Eric Blake wrote:
> On 9/4/19 11:58 AM, Joel Sherrill wrote:
> 
> >>>>> +++ b/newlib/libc/machine/x86_64/sys/fenv.h
> >>>>> @@ -0,0 +1,170 @@
> >>>>> +/*
> >>>>> + * SPDX-License-Identifier: BSD-2-Clause
> >>>>> + *
> >>>>> + * Copyright (c) 2010-2019 Red Hat, Inc.
> >>>>> + * All rights reserved.
> >>>>> + *
> >>>>> + * Redistribution and use in source and binary forms, with or without
> >>>>> + * modification, are permitted provided that the following conditions
> >>>>> + * are met:
> >>>>> + * 1. Redistributions of source code must retain the above copyright
> >>>>> + *    notice, this list of conditions and the following disclaimer.
> >>>>> + * 2. Redistributions in binary form must reproduce the above copyright
> >>>>> + *    notice, this list of conditions and the following disclaimer in the
> >>>>> + *    documentation and/or other materials provided with the distribution.
> >>>>> + *
> >>>>> + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
> >>>>> + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> >>>>> + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> >>>>> + * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
> >>>>> + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> >>>>> + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
> >>>>> + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
> >>>>> + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
> 
> >> I didn't actually check newlib files, but SPDX + written out license
> >> only makes marginal sense.  So, let's start with *these* files to do it
> >> right, please.
> > 
> > SPDX line plus an organization copyright? Like this:
> > 
> > /*
> >  * SPDX-License-Identifier: BSD-2-Clause
> >  *
> >  * Copyright (c) 2010-2019 Red Hat, Inc.
> >  * All rights reserved.
> >  */
> > 
> 
> It sounds funny to claim a license that grants rights to users, but yet
> states "All rights reserved" that sounds like you are NOT granting
> rights to others.  These days, it has lost all legal significance, and
> is merely adding noise:
> https://www.iusmentis.com/copyright/allrightsreserved/
> 
> With BSD license, it is a historical accident of copy-and-paste; where
> different upstream sources of the license differ on whether the phrase
> is still part of the license:
> 
> https://spdx.org/licenses/BSD-2-Clause.html
> https://opensource.org/licenses/BSD-2-Clause
> 
> Thus, I can overlook it for BSD files, but I hate seeing it on GPL
> files, so I try to point it out whenever I notice it.

I agree, skip the reserved bit, otherwise it's fine.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1v/FIACgkQ9TYGna5E
T6AHNhAAnI2xz1TwgA2bUfal6DNPSuQ58oyychCLlrqVOPFj1z8TdFR8+TFwpcSf
4on43muhNMwUmwquw7FFFP4ESI0bC0LPRXsbpJk8zEgtkQ5Z5ZJ6GR8Ahj4KFFAu
9MYtZsXrIZzrCwOyDUW2P5Be881gVjklfGhCJMTkjI9xezuJX6a86OA+YuT8lLPP
MtYql39wEilR6d6GIQ5D+su8da+kmcWuA2Yr7GBws78SGjh22JyRD2iQ3CYVfoL1
RdD9xIwaY9Ef7jk7sZrwFywUn0vYM7RzrvBqpUlwzCvLVhgonW+3M3ejxeQbdYXp
1f07xZ+1RFmeD6xozuoW/X4HNLmQtUc0uSHfpnVCd0MmRv4xs4ArpQ5PoGuiYw6P
uklva3whHn7lq8QCyg/Juma8mIoIfA2e+S4ZIXeWKvvw6jmfmqfSyfeE2NogrpUv
gnH7zSg2UZOuEVOI8q2M3WZm065bm+gsSy4cx+8NMRSvfxv10gsHs/9iEHkb2Eif
LJxrfzOh9lCi26DwTAgqWeJefQ6kCmLq294wraWAloiPVbNDthMzCawbEjBZX8tU
lKwUukcCryVyWSGTV6XuM9zjqj+GtFz2IDeEHNxCL296n6f1P98Ss4Q/zOnSI6Mf
tZMyOm2rNh0rQWZynLrO9eFVnWNHJzPwzvNg1zd4kyvOT96ia8w=
=us9U
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.