From: Rich Felker Date: Tue, 21 Jun 2016 20:33:14 +0000 (-0400) Subject: remove comments on copyright status from UTF-8 implementation files X-Git-Tag: v1.1.15~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cec7bc57f599f43f4041cec2093e3c9231dbaab;p=musl remove comments on copyright status from UTF-8 implementation files despite clarifications made to the COPYRIGHT file in commit f0a61399330bae42beeb27d6ecd05570b3382a60, there continues to be confusion about whether the permissions granted actually apply to all files. I am the sole author of these files and clearly intend, and have always intended, for the grant of permission to apply to them. --- diff --git a/src/multibyte/internal.c b/src/multibyte/internal.c index bbdc4159..7e1b1c03 100644 --- a/src/multibyte/internal.c +++ b/src/multibyte/internal.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include "internal.h" #define C(x) ( x<2 ? -1 : ( R(0x80,0xc0) | x ) ) diff --git a/src/multibyte/internal.h b/src/multibyte/internal.h index 51308f4f..421a3d4a 100644 --- a/src/multibyte/internal.h +++ b/src/multibyte/internal.h @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #define bittab __fsmu8 #include diff --git a/src/multibyte/mblen.c b/src/multibyte/mblen.c index 96b47b12..a4304bf5 100644 --- a/src/multibyte/mblen.c +++ b/src/multibyte/mblen.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include int mblen(const char *s, size_t n) diff --git a/src/multibyte/mbrlen.c b/src/multibyte/mbrlen.c index 3a5a7433..accf4b33 100644 --- a/src/multibyte/mbrlen.c +++ b/src/multibyte/mbrlen.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st) diff --git a/src/multibyte/mbrtowc.c b/src/multibyte/mbrtowc.c index ca7da700..c94819e7 100644 --- a/src/multibyte/mbrtowc.c +++ b/src/multibyte/mbrtowc.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include #include #include diff --git a/src/multibyte/mbsinit.c b/src/multibyte/mbsinit.c index e001d844..c608194a 100644 --- a/src/multibyte/mbsinit.c +++ b/src/multibyte/mbsinit.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include int mbsinit(const mbstate_t *st) diff --git a/src/multibyte/mbsnrtowcs.c b/src/multibyte/mbsnrtowcs.c index 68b9960f..cae4caa2 100644 --- a/src/multibyte/mbsnrtowcs.c +++ b/src/multibyte/mbsnrtowcs.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include size_t mbsnrtowcs(wchar_t *restrict wcs, const char **restrict src, size_t n, size_t wn, mbstate_t *restrict st) diff --git a/src/multibyte/mbsrtowcs.c b/src/multibyte/mbsrtowcs.c index e23083d2..0ee8b69c 100644 --- a/src/multibyte/mbsrtowcs.c +++ b/src/multibyte/mbsrtowcs.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include #include #include diff --git a/src/multibyte/mbtowc.c b/src/multibyte/mbtowc.c index 71a95066..c191bb03 100644 --- a/src/multibyte/mbtowc.c +++ b/src/multibyte/mbtowc.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include #include #include diff --git a/src/multibyte/wcrtomb.c b/src/multibyte/wcrtomb.c index ddc37a57..8e34926e 100644 --- a/src/multibyte/wcrtomb.c +++ b/src/multibyte/wcrtomb.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include #include #include diff --git a/src/multibyte/wcsnrtombs.c b/src/multibyte/wcsnrtombs.c index ee4a534a..640cbbeb 100644 --- a/src/multibyte/wcsnrtombs.c +++ b/src/multibyte/wcsnrtombs.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict wcs, size_t wn, size_t n, mbstate_t *restrict st) diff --git a/src/multibyte/wcsrtombs.c b/src/multibyte/wcsrtombs.c index 30be415d..b5713aea 100644 --- a/src/multibyte/wcsrtombs.c +++ b/src/multibyte/wcsrtombs.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include size_t wcsrtombs(char *restrict s, const wchar_t **restrict ws, size_t n, mbstate_t *restrict st) diff --git a/src/multibyte/wctomb.c b/src/multibyte/wctomb.c index de7ed84d..bad41c5e 100644 --- a/src/multibyte/wctomb.c +++ b/src/multibyte/wctomb.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include #include