diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/bison | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/bison/.yandex_meta/licenses.list.txt | 974 | ||||
-rw-r--r-- | contrib/tools/bison/bison/ya.make | 14 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/.yandex_meta/licenses.list.txt | 2108 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/ya.make | 58 | ||||
-rw-r--r-- | contrib/tools/bison/m4/.yandex_meta/licenses.list.txt | 130 | ||||
-rw-r--r-- | contrib/tools/bison/m4/ya.make | 16 |
6 files changed, 1650 insertions, 1650 deletions
diff --git a/contrib/tools/bison/bison/.yandex_meta/licenses.list.txt b/contrib/tools/bison/bison/.yandex_meta/licenses.list.txt index 833a2e0959..4afcac990d 100644 --- a/contrib/tools/bison/bison/.yandex_meta/licenses.list.txt +++ b/contrib/tools/bison/bison/.yandex_meta/licenses.list.txt @@ -1,487 +1,487 @@ -====================COPYRIGHT==================== - _("Copyright (C) %d Free Software Foundation, Inc.\n"), - 2013); - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000-2002, 2004-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000-2003, 2005-2007, - 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 1992, 2000-2006, 2009-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 1992, 2000-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 1992, 2001-2007, 2009-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2000, 2002, 2004, 2006-2007, - 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2000-2002, 2004-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2000-2002, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2000-2005, 2007, 2009-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2000-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1986, 1989, 2001-2003, 2005-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 1992, 2000-2002, 2004-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 1992, 2000-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2002, 2004-2005, 2007, 2009-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2002, 2004-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2002, 2006-2007, 2009-2013 Free - Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2002, 2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2002, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2003, 2005, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2004, 2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1984, 1989, 2000-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1988-1989, 2000-2003, 2005-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2002, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2002, 2004, 2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2002, 2004-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2002, 2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2002, 2007, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2003, 2005-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2003, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2004-2005, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2005-2006, 2008-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2005-2007, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2003, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2005, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006, 2010-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, -# Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 1999-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2001-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2002, 2004-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2002-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2012-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -## Copyright (C) 2002, 2005-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -Copyright (C) 2002, 2008-2013 Free Software Foundation, Inc. - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - --> - -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:bison="http://www.gnu.org/software/bison/"> - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== -# This file is part of Autoconf. This program is free -# software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# Under Section 7 of GPL version 3, you are granted additional -# permissions described in the Autoconf Configure Script Exception, -# version 3.0, as published by the Free Software Foundation. -# -# You should have received a copy of the GNU General Public License -# and a copy of the Autoconf Configure Script Exception along with -# this program; see the files COPYINGv3 and COPYING.EXCEPTION -# respectively. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. - -====================GPL-3.0-or-later==================== -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>.]) - - -====================GPL-3.0-or-later WITH Bison-exception-2.2==================== -/* A Bison parser, made by GNU Bison 3.0. */ - -/* Bison implementation for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - - -====================GPL-3.0-or-later WITH Bison-exception-2.2==================== -/* A Bison parser, made by GNU Bison 3.0. */ - -/* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - - -====================GPL-3.0-or-later WITH Bison-exception-2.2==================== -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>.]) - -b4_comment([As a special exception, you may create a larger work that contains -part or all of the Bison parser skeleton and distribute that work -under terms of your choice, so long as that work isn't itself a -parser generator using the skeleton or a modified version thereof -as a parser skeleton. Alternatively, if you modify or redistribute -the parser skeleton itself, you may (at your option) remove this -special exception, which will cause the skeleton and the resulting -Bison output files to be licensed under the GNU General Public -License without this special exception. - -This special exception was added by the Free Software Foundation in -version 2.2 of Bison.])]) +====================COPYRIGHT==================== + _("Copyright (C) %d Free Software Foundation, Inc.\n"), + 2013); + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000-2002, 2004-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000-2003, 2005-2007, + 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 1992, 2000-2006, 2009-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 1992, 2000-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 1992, 2001-2007, 2009-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2000, 2002, 2004, 2006-2007, + 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2000-2002, 2004-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2000-2002, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2000-2005, 2007, 2009-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2000-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1986, 1989, 2001-2003, 2005-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 1992, 2000-2002, 2004-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 1992, 2000-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2002, 2004-2005, 2007, 2009-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2002, 2004-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2002, 2006-2007, 2009-2013 Free + Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2002, 2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2002, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2003, 2005, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2004, 2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1984, 1989, 2000-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1988-1989, 2000-2003, 2005-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2002, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2002, 2004, 2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2002, 2004-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2002, 2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2002, 2007, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2003, 2005-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2003, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2004-2005, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2005-2006, 2008-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2005-2007, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2003, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2005, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006, 2010-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, +# Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 1999-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2001-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2002, 2004-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2002-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2012-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +## Copyright (C) 2002, 2005-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +Copyright (C) 2002, 2008-2013 Free Software Foundation, Inc. + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + --> + +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:bison="http://www.gnu.org/software/bison/"> + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== +# This file is part of Autoconf. This program is free +# software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# Under Section 7 of GPL version 3, you are granted additional +# permissions described in the Autoconf Configure Script Exception, +# version 3.0, as published by the Free Software Foundation. +# +# You should have received a copy of the GNU General Public License +# and a copy of the Autoconf Configure Script Exception along with +# this program; see the files COPYINGv3 and COPYING.EXCEPTION +# respectively. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + +====================GPL-3.0-or-later==================== +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>.]) + + +====================GPL-3.0-or-later WITH Bison-exception-2.2==================== +/* A Bison parser, made by GNU Bison 3.0. */ + +/* Bison implementation for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + + +====================GPL-3.0-or-later WITH Bison-exception-2.2==================== +/* A Bison parser, made by GNU Bison 3.0. */ + +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + + +====================GPL-3.0-or-later WITH Bison-exception-2.2==================== +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>.]) + +b4_comment([As a special exception, you may create a larger work that contains +part or all of the Bison parser skeleton and distribute that work +under terms of your choice, so long as that work isn't itself a +parser generator using the skeleton or a modified version thereof +as a parser skeleton. Alternatively, if you modify or redistribute +the parser skeleton itself, you may (at your option) remove this +special exception, which will cause the skeleton and the resulting +Bison output files to be licensed under the GNU General Public +License without this special exception. + +This special exception was added by the Free Software Foundation in +version 2.2 of Bison.])]) diff --git a/contrib/tools/bison/bison/ya.make b/contrib/tools/bison/bison/ya.make index 0a3f3c0aab..04f8ae3758 100644 --- a/contrib/tools/bison/bison/ya.make +++ b/contrib/tools/bison/bison/ya.make @@ -2,13 +2,13 @@ OWNER(g:contrib) PROGRAM() -LICENSE( - GPL-3.0-or-later AND - GPL-3.0-or-later WITH Bison-exception-2.2 -) - -LICENSE_TEXTS(.yandex_meta/licenses.list.txt) - +LICENSE( + GPL-3.0-or-later AND + GPL-3.0-or-later WITH Bison-exception-2.2 +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + IF (NOT MUSL) NO_RUNTIME() ENDIF() diff --git a/contrib/tools/bison/gnulib/.yandex_meta/licenses.list.txt b/contrib/tools/bison/gnulib/.yandex_meta/licenses.list.txt index 55151057f4..8d30fca783 100644 --- a/contrib/tools/bison/gnulib/.yandex_meta/licenses.list.txt +++ b/contrib/tools/bison/gnulib/.yandex_meta/licenses.list.txt @@ -1,1054 +1,1054 @@ -====================BSD-3-Clause==================== -// 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. -// -// 3. Neither the name of the product nor the names of its contributors may -// be used to endorse or promote products derived from this software -// without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -====================COPYRIGHT==================== - Copyright (C) 1998, 2001, 2003-2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1985, 1989-1993, 1995-1998, 2000-2003, 2005-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1988, 1990, 1999, 2003-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1988-1994, 1996-1999, 2003-2006, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1988-1994, 1996-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990, 1998-1999, 2001-2002, 2004-2005, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990, 1998-1999, 2001-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990, 2001, 2003-2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990-1998, 2000-2007, 2009-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1990-2000, 2002-2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1990-2000, 2003-2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1991, 2004-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1991-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1992, 1995, 1997-1998, 2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1995, 1999, 2001-2004, 2006-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1995-1997, 2003, 2006, 2008-2013 Free Software Foundation, - Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1996-1997, 2003, 2005, 2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1996-1999, 2008-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1996-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1996-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 1997, 2000, 2002, 2004, 2006, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - Contributed by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>, 1997. - - -====================COPYRIGHT==================== - Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1997-1998, 2006-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1997-2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-1999, 2001, 2003, 2009-2013 Free Software Foundation, - Inc. - Written by Jim Meyering <meyering@ascend.com>, 1998. - - -====================COPYRIGHT==================== - Copyright (C) 1998-1999, 2005-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-2001, 2003, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-2002, 2004, 2006, 2008-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-2002, 2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-2002, 2004-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1998-2004, 2006-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002, 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2004, 2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2002-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2003, 2005, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999, 2004-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999-2000, 2002-2003, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1999-2002, 2005-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2008. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2002, 2004, 2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2002, 2004, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2003, 2005-2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2003-2004, 2008-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2004, 2006-2007, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2001, 2004-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2003, 2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2003, 2009-2013 Free Software Foundation, Inc. - This file is part of the GNU CHARSET Library. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2004, 2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2000-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2003, 2005, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2003, 2005, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2003, 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2003, 2006-2007, 2009-2013 Free Software Foundation, - Inc. - Written by Bruno Haible <bruno@clisp.org>, 2006. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2003-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2001, 2004-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2004, 2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2004-2006, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2005, 2007, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2005-2007, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2002. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2006-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2002. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2002, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2005-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2006, 2008-2013 Free Software Foundation, Inc. - Written by Bruno Haible <haible@clisp.cons.org>, 2001. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2003, 2008-2013 Free Software Foundation, Inc. - Written by Bruno Haible <haible@clisp.cons.org>, 2001. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2004, 2006, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2001. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2004, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2004, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2001-2005, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2004, 2006, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2004, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2005-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2003, 2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2003, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2004, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2004, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2003, 2005, 2007, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2003, 2006-2007, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2003, 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2003, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2003-2004, 2006-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2003-2004, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2003. - - -====================COPYRIGHT==================== - Copyright (C) 2003-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2004, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2004, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2004-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2005-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006, 2011-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2006. - - -====================COPYRIGHT==================== - Copyright (C) 2006-2007, 2010-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2007, 2010-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2007-2008, 2010-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2008, 2010-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2008. - - -====================COPYRIGHT==================== - Copyright (C) 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2011-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2011. - - -====================COPYRIGHT==================== - Copyright 2000-2003, 2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright 2002-2003, 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright 2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 1999-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2002-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2007-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2008-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -# Copyright (C) 2012-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2013 - Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -/* Copyright (C) 1991, 1994-2002, 2005, 2008-2013 Free Software Foundation, - Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== -/* Copyright (C) 1991, 1997, 2009-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1992, 1995-2002, 2005-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1998-1999, 2001, 2005-2007, 2009-2013 Free Software - Foundation, Inc. - This file is derived from the one in the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1999, 2001-2002, 2006, 2009-2013 Free Software Foundation, - Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 1999, 2001-2003, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 2000, 2004, 2009-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Copyright (C) 2000, 2008-2013 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - -====================COPYRIGHT==================== -/* Sequential list data type implemented by a hash table with a linked list. - Copyright (C) 2006, 2008-2013 Free Software Foundation, Inc. - Written by Bruno Haible <bruno@clisp.org>, 2006. - - -====================COPYRIGHT==================== -/* Variable with FSF copyright information, for version-etc. - Copyright (C) 1999-2006, 2009-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== -// Copyright (c) 2006-2013 Alexander Chemeris - - -====================COPYRIGHT==================== -Copyright d Free Software Foundation, Inc. - -====================File: gnulib/src/filenamecat-lgpl.c==================== -/* Concatenate two arbitrary file names. - - Copyright (C) 1996-2007, 2009-2013 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -/* Written by Jim Meyering. */ - -#include <config.h> - -/* Specification. */ -#include "filenamecat.h" - -#include <stdlib.h> -#include <string.h> - -#include "dirname.h" - -#if ! HAVE_MEMPCPY && ! defined mempcpy -# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) -#endif - -/* Return the longest suffix of F that is a relative file name. - If it has no such suffix, return the empty string. */ - -static char const * _GL_ATTRIBUTE_PURE -longest_relative_suffix (char const *f) -{ - for (f += FILE_SYSTEM_PREFIX_LEN (f); ISSLASH (*f); f++) - continue; - return f; -} - -/* Concatenate two file name components, DIR and ABASE, in - newly-allocated storage and return the result. - The resulting file name F is such that the commands "ls F" and "(cd - DIR; ls BASE)" refer to the same file, where BASE is ABASE with any - file system prefixes and leading separators removed. - Arrange for a directory separator if necessary between DIR and BASE - in the result, removing any redundant separators. - In any case, if BASE_IN_RESULT is non-NULL, set - *BASE_IN_RESULT to point to the copy of ABASE in the returned - concatenation. However, if ABASE begins with more than one slash, - set *BASE_IN_RESULT to point to the sole corresponding slash that - is copied into the result buffer. - - Return NULL if malloc fails. */ - -char * -mfile_name_concat (char const *dir, char const *abase, char **base_in_result) -{ - char const *dirbase = last_component (dir); - size_t dirbaselen = base_len (dirbase); - size_t dirlen = dirbase - dir + dirbaselen; - size_t needs_separator = (dirbaselen && ! ISSLASH (dirbase[dirbaselen - 1])); - - char const *base = longest_relative_suffix (abase); - size_t baselen = strlen (base); - - char *p_concat = malloc (dirlen + needs_separator + baselen + 1); - char *p; - - if (p_concat == NULL) - return NULL; - - p = mempcpy (p_concat, dir, dirlen); - *p = DIRECTORY_SEPARATOR; - p += needs_separator; - - if (base_in_result) - *base_in_result = p - IS_ABSOLUTE_FILE_NAME (abase); - - p = mempcpy (p, base, baselen); - *p = '\0'; - - return p_concat; -} - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 3 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 3 of the License, or any - later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this program; if not, see - <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 3, or (at your option) any - later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== -License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n\ -This is free software: you are free to change and redistribute it.\n\ -There is NO WARRANTY, to the extent permitted by law.\n\ - - -====================GPL-3.0-or-later==================== -This program is free software: you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 3 of the License, or any -later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. */ - - -====================GPL-3.0-or-later==================== -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, see <http://www.gnu.org/licenses/>. */ - - -====================LGPL-2.0-or-later==================== -/* Just like mfile_name_concat (filenamecat-lgpl.c), except, rather than +====================BSD-3-Clause==================== +// 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. +// +// 3. Neither the name of the product nor the names of its contributors may +// be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +====================COPYRIGHT==================== + Copyright (C) 1998, 2001, 2003-2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1985, 1989-1993, 1995-1998, 2000-2003, 2005-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1987-1996, 1998-2004, 2006, 2008-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1988, 1990, 1999, 2003-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1988-1994, 1996-1999, 2003-2006, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1988-1994, 1996-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2004, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 1996-1999, 2001, 2003-2007, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990, 1998-1999, 2001-2002, 2004-2005, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990, 1998-1999, 2001-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990, 2001, 2003-2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990-1998, 2000-2007, 2009-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1990-2000, 2002-2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1990-2000, 2003-2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1991, 2004-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1991-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1992, 1995, 1997-1998, 2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1995, 1999, 2001-2004, 2006-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1995-1997, 2003, 2006, 2008-2013 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1996-1997, 2003, 2005, 2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1996-1998, 2001-2003, 2005-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1996-1999, 2008-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1996-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1996-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 1997, 2000, 2002, 2004, 2006, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>, 1997. + + +====================COPYRIGHT==================== + Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1997-1998, 2006-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1997-2000, 2002-2004, 2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1997-2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-1999, 2001, 2003, 2009-2013 Free Software Foundation, + Inc. + Written by Jim Meyering <meyering@ascend.com>, 1998. + + +====================COPYRIGHT==================== + Copyright (C) 1998-1999, 2005-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-2001, 2003, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-2002, 2004, 2006, 2008-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-2002, 2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-2002, 2004-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1998-2004, 2006-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002, 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2004, 2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2002-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2003, 2005, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999, 2004-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999-2000, 2002-2003, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1999-2002, 2005-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2008. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2002, 2004, 2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2002, 2004, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2003, 2005-2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2003-2004, 2008-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2004, 2006-2007, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2001, 2004-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2003, 2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2003, 2009-2013 Free Software Foundation, Inc. + This file is part of the GNU CHARSET Library. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2004, 2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2000-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2003, 2005, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2003, 2005, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2003, 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2003, 2006-2007, 2009-2013 Free Software Foundation, + Inc. + Written by Bruno Haible <bruno@clisp.org>, 2006. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2003-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2001, 2004-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2004, 2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2004-2006, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2005, 2007, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2005-2007, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2002. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2006-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2002. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2002, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2005-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2006, 2008-2013 Free Software Foundation, Inc. + Written by Bruno Haible <haible@clisp.cons.org>, 2001. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2003, 2008-2013 Free Software Foundation, Inc. + Written by Bruno Haible <haible@clisp.cons.org>, 2001. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2004, 2006, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2001. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2004, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2004, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2001-2005, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2004, 2006, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2004, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2005-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2003, 2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2003, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2004, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2004, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2003, 2005, 2007, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2003, 2006-2007, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2003, 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2003, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2003-2004, 2006-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2003-2004, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2003. + + +====================COPYRIGHT==================== + Copyright (C) 2003-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2004, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2004, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2004-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2005-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006, 2011-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2006. + + +====================COPYRIGHT==================== + Copyright (C) 2006-2007, 2010-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2007, 2010-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2007-2008, 2010-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2008, 2010-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2008. + + +====================COPYRIGHT==================== + Copyright (C) 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2011-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2011. + + +====================COPYRIGHT==================== + Copyright 2000-2003, 2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright 2002-2003, 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright 2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 1999-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2002-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2007-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2008-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +# Copyright (C) 2012-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +/* Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2004, 2006, 2008-2013 + Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +/* Copyright (C) 1991, 1994-2002, 2005, 2008-2013 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1991, 1996-1998, 2002-2004, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== +/* Copyright (C) 1991, 1997, 2009-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1992, 1995-2002, 2005-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1998-1999, 2001, 2005-2007, 2009-2013 Free Software + Foundation, Inc. + This file is derived from the one in the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1999, 2001-2002, 2006, 2009-2013 Free Software Foundation, + Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 1999, 2001-2003, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 2000, 2004, 2009-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Copyright (C) 2000, 2008-2013 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + +====================COPYRIGHT==================== +/* Sequential list data type implemented by a hash table with a linked list. + Copyright (C) 2006, 2008-2013 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2006. + + +====================COPYRIGHT==================== +/* Variable with FSF copyright information, for version-etc. + Copyright (C) 1999-2006, 2009-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== +// Copyright (c) 2006-2013 Alexander Chemeris + + +====================COPYRIGHT==================== +Copyright d Free Software Foundation, Inc. + +====================File: gnulib/src/filenamecat-lgpl.c==================== +/* Concatenate two arbitrary file names. + + Copyright (C) 1996-2007, 2009-2013 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* Written by Jim Meyering. */ + +#include <config.h> + +/* Specification. */ +#include "filenamecat.h" + +#include <stdlib.h> +#include <string.h> + +#include "dirname.h" + +#if ! HAVE_MEMPCPY && ! defined mempcpy +# define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) +#endif + +/* Return the longest suffix of F that is a relative file name. + If it has no such suffix, return the empty string. */ + +static char const * _GL_ATTRIBUTE_PURE +longest_relative_suffix (char const *f) +{ + for (f += FILE_SYSTEM_PREFIX_LEN (f); ISSLASH (*f); f++) + continue; + return f; +} + +/* Concatenate two file name components, DIR and ABASE, in + newly-allocated storage and return the result. + The resulting file name F is such that the commands "ls F" and "(cd + DIR; ls BASE)" refer to the same file, where BASE is ABASE with any + file system prefixes and leading separators removed. + Arrange for a directory separator if necessary between DIR and BASE + in the result, removing any redundant separators. + In any case, if BASE_IN_RESULT is non-NULL, set + *BASE_IN_RESULT to point to the copy of ABASE in the returned + concatenation. However, if ABASE begins with more than one slash, + set *BASE_IN_RESULT to point to the sole corresponding slash that + is copied into the result buffer. + + Return NULL if malloc fails. */ + +char * +mfile_name_concat (char const *dir, char const *abase, char **base_in_result) +{ + char const *dirbase = last_component (dir); + size_t dirbaselen = base_len (dirbase); + size_t dirlen = dirbase - dir + dirbaselen; + size_t needs_separator = (dirbaselen && ! ISSLASH (dirbase[dirbaselen - 1])); + + char const *base = longest_relative_suffix (abase); + size_t baselen = strlen (base); + + char *p_concat = malloc (dirlen + needs_separator + baselen + 1); + char *p; + + if (p_concat == NULL) + return NULL; + + p = mempcpy (p_concat, dir, dirlen); + *p = DIRECTORY_SEPARATOR; + p += needs_separator; + + if (base_in_result) + *base_in_result = p - IS_ABSOLUTE_FILE_NAME (abase); + + p = mempcpy (p, base, baselen); + *p = '\0'; + + return p_concat; +} + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 3 of the License, or any + later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this program; if not, see + <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 3, or (at your option) any + later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== +License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n\ +This is free software: you are free to change and redistribute it.\n\ +There is NO WARRANTY, to the extent permitted by law.\n\ + + +====================GPL-3.0-or-later==================== +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 3 of the License, or any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + + +====================GPL-3.0-or-later==================== +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, see <http://www.gnu.org/licenses/>. */ + + +====================LGPL-2.0-or-later==================== +/* Just like mfile_name_concat (filenamecat-lgpl.c), except, rather than diff --git a/contrib/tools/bison/gnulib/ya.make b/contrib/tools/bison/gnulib/ya.make index dad75b2135..b674fd9ada 100644 --- a/contrib/tools/bison/gnulib/ya.make +++ b/contrib/tools/bison/gnulib/ya.make @@ -2,38 +2,38 @@ OWNER(g:contrib) LIBRARY() -LICENSE( - BSD-3-Clause AND - GPL-3.0-or-later AND - LGPL-2.0-or-later -) - -LICENSE_TEXTS(.yandex_meta/licenses.list.txt) - +LICENSE( + BSD-3-Clause AND + GPL-3.0-or-later AND + LGPL-2.0-or-later +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + IF (NOT MUSL) NO_RUNTIME() ENDIF() NO_COMPILER_WARNINGS() -ADDINCL( - GLOBAL contrib/tools/bison/gnulib/src -) +ADDINCL( + GLOBAL contrib/tools/bison/gnulib/src +) IF (OS_WINDOWS) - ADDINCL( - GLOBAL contrib/tools/bison/gnulib/platform/win64 - ) -ELSE() - ADDINCL( - GLOBAL contrib/tools/bison/gnulib/platform/posix - ) -ENDIF() + ADDINCL( + GLOBAL contrib/tools/bison/gnulib/platform/win64 + ) +ELSE() + ADDINCL( + GLOBAL contrib/tools/bison/gnulib/platform/posix + ) +ENDIF() IF (OS_DARWIN) - CFLAGS( - -D_XOPEN_SOURCE=600 - ) + CFLAGS( + -D_XOPEN_SOURCE=600 + ) ENDIF() IF (NOT OS_WINDOWS) @@ -172,22 +172,22 @@ IF (NOT MUSL) SRCS( src/freadahead.c src/fseterr.c - # src/fseek.c + # src/fseek.c ) -ENDIF() +ENDIF() IF (NOT OS_LINUX) SRCS( src/pipe2.c src/strverscmp.c ) -ENDIF() +ENDIF() IF (NOT OS_WINDOWS) SRCS( src/stdio-write.c ) -ENDIF() +ENDIF() IF (OS_WINDOWS) SRCS( @@ -233,14 +233,14 @@ IF (NOT OS_LINUX OR MUSL) src/obstack.c src/obstack_printf.c ) -ENDIF() +ENDIF() IF (OS_CYGWIN OR OS_LINUX) #not need it -ELSE() +ELSE() SRCS( src/fpending.c ) -ENDIF() +ENDIF() END() diff --git a/contrib/tools/bison/m4/.yandex_meta/licenses.list.txt b/contrib/tools/bison/m4/.yandex_meta/licenses.list.txt index a4e8a82756..c0c24001ed 100644 --- a/contrib/tools/bison/m4/.yandex_meta/licenses.list.txt +++ b/contrib/tools/bison/m4/.yandex_meta/licenses.list.txt @@ -1,65 +1,65 @@ -====================COPYRIGHT==================== - Copyright (C) 1989-1993, 2004, 2006-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 2000, 2004, 2006-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 2003, 2006-2013 Free Software Foundation, - Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 2004-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1989-1994, 2006-2013 Free Software Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 1991-1994, 2004, 2006-2007, 2009-2013 Free Software - Foundation, Inc. - - -====================COPYRIGHT==================== - Copyright (C) 2006-2013 Free Software Foundation, Inc. - - -====================GPL-3.0-or-later==================== - GNU M4 is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - GNU M4 is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - - -====================GPL-3.0-or-later==================== -## GNU M4 is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## GNU M4 is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +====================COPYRIGHT==================== + Copyright (C) 1989-1993, 2004, 2006-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 2000, 2004, 2006-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 2003, 2006-2013 Free Software Foundation, + Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 2004-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1989-1994, 2006-2013 Free Software Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 1991-1994, 2004, 2006-2007, 2009-2013 Free Software + Foundation, Inc. + + +====================COPYRIGHT==================== + Copyright (C) 2006-2013 Free Software Foundation, Inc. + + +====================GPL-3.0-or-later==================== + GNU M4 is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU M4 is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + +====================GPL-3.0-or-later==================== +## GNU M4 is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## GNU M4 is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/contrib/tools/bison/m4/ya.make b/contrib/tools/bison/m4/ya.make index 495face069..3a54fa2c8f 100644 --- a/contrib/tools/bison/m4/ya.make +++ b/contrib/tools/bison/m4/ya.make @@ -2,18 +2,18 @@ OWNER(g:contrib) PROGRAM() -LICENSE(GPL-3.0-or-later) - -LICENSE_TEXTS(.yandex_meta/licenses.list.txt) - +LICENSE(GPL-3.0-or-later) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + NO_RUNTIME() - + NO_COMPILER_WARNINGS() IF (MUSL) - CFLAGS( - -DO_BINARY=0 - ) + CFLAGS( + -DO_BINARY=0 + ) ENDIF() SRCS( |