kopia lustrzana https://github.com/Hamlib/Hamlib
Update LGPL/GPL header in lib source files.
TNX to Lucian Laga, YO6PLB, for the notification.Hamlib-1.2.15
rodzic
1fbece183b
commit
c7e64dfa09
|
@ -2,19 +2,20 @@
|
||||||
* Hamlib Interface - getaddrinfo replacement
|
* Hamlib Interface - getaddrinfo replacement
|
||||||
* Copyright (c) 2000-2010 by Stephane Fillod
|
* Copyright (c) 2000-2010 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Library General Public License as
|
|
||||||
* published by the Free Software Foundation; either version 2 of
|
|
||||||
* the License, or (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* GNU Library General Public License for more details.
|
* Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Library General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
24
lib/getopt.c
24
lib/getopt.c
|
@ -6,20 +6,20 @@
|
||||||
Copyright (C) 1987, 88, 89, 90, 91, 92, 1993
|
Copyright (C) 1987, 88, 89, 90, 91, 92, 1993
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
This program is free software; you can redistribute it and/or modify
|
||||||
under the terms of the GNU General Public License as published by the
|
it under the terms of the GNU General Public License as published by
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along
|
||||||
along with this program; if not, write to the Free Software
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*/
|
||||||
/* NOTE!!! AIX requires this to be the first thing in the file.
|
/* NOTE!!! AIX requires this to be the first thing in the file.
|
||||||
Do not put ANYTHING before it! */
|
Do not put ANYTHING before it! */
|
||||||
#if !defined (__GNUC__) && defined (_AIX)
|
#if !defined (__GNUC__) && defined (_AIX)
|
||||||
|
@ -172,7 +172,7 @@ static enum
|
||||||
{
|
{
|
||||||
REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER
|
REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER
|
||||||
} ordering;
|
} ordering;
|
||||||
|
|
||||||
#ifdef __GNU_LIBRARY__
|
#ifdef __GNU_LIBRARY__
|
||||||
/* We want to avoid inclusion of string.h with non-GNU libraries
|
/* We want to avoid inclusion of string.h with non-GNU libraries
|
||||||
because there are many ways it can cause trouble.
|
because there are many ways it can cause trouble.
|
||||||
|
@ -213,7 +213,7 @@ my_bcopy (from, to, size)
|
||||||
to[i] = from[i];
|
to[i] = from[i];
|
||||||
}
|
}
|
||||||
#endif /* GNU C library. */
|
#endif /* GNU C library. */
|
||||||
|
|
||||||
/* Handle permutation of arguments. */
|
/* Handle permutation of arguments. */
|
||||||
|
|
||||||
/* Describe the part of ARGV that contains non-options that have
|
/* Describe the part of ARGV that contains non-options that have
|
||||||
|
@ -253,7 +253,7 @@ exchange (argv)
|
||||||
first_nonopt += (optind - last_nonopt);
|
first_nonopt += (optind - last_nonopt);
|
||||||
last_nonopt = optind;
|
last_nonopt = optind;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scan elements of ARGV (whose length is ARGC) for option characters
|
/* Scan elements of ARGV (whose length is ARGC) for option characters
|
||||||
given in OPTSTRING.
|
given in OPTSTRING.
|
||||||
|
|
||||||
|
@ -659,7 +659,7 @@ getopt (argc, argv, optstring)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _LIBC or not __GNU_LIBRARY__. */
|
#endif /* _LIBC or not __GNU_LIBRARY__. */
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
|
||||||
/* Compile with -DTEST to make an executable for use in testing
|
/* Compile with -DTEST to make an executable for use in testing
|
||||||
|
|
15
lib/getopt.h
15
lib/getopt.h
|
@ -1,19 +1,20 @@
|
||||||
/* Declarations for getopt.
|
/* Declarations for getopt.
|
||||||
Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
This program is free software; you can redistribute it and/or modify
|
||||||
under the terms of the GNU General Public License as published by the
|
it under the terms of the GNU General Public License as published by
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along
|
||||||
along with this program; if not, write to the Free Software
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef _GETOPT_H
|
#ifndef _GETOPT_H
|
||||||
#define _GETOPT_H 1
|
#define _GETOPT_H 1
|
||||||
|
|
|
@ -2,20 +2,21 @@
|
||||||
Copyright (C) 1987, 88, 89, 90, 91, 92, 1993
|
Copyright (C) 1987, 88, 89, 90, 91, 92, 1993
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
This program is free software; you can redistribute it and/or modify
|
||||||
under the terms of the GNU General Public License as published by the
|
it under the terms of the GNU General Public License as published by
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along
|
||||||
along with this program; if not, write to the Free Software
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -80,7 +81,7 @@ getopt_long_only (argc, argv, options, long_options, opt_index)
|
||||||
|
|
||||||
|
|
||||||
#endif /* _LIBC or not __GNU_LIBRARY__. */
|
#endif /* _LIBC or not __GNU_LIBRARY__. */
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
| Copyright 1997-2006 by Trent Jarvi taj@www.linux.org.uk.
|
| Copyright 1997-2006 by Trent Jarvi taj@www.linux.org.uk.
|
||||||
|
|
|
|
||||||
| This library is free software; you can redistribute it and/or
|
| This library is free software; you can redistribute it and/or
|
||||||
| modify it under the terms of the GNU Library General Public
|
| modify it under the terms of the GNU Lesser General Public
|
||||||
| License as published by the Free Software Foundation; either
|
| License as published by the Free Software Foundation; either
|
||||||
| version 2 of the License, or (at your option) any later version.
|
| version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
|
|
||||||
| If you compile this program with cygwin32 tools this package falls
|
| If you compile this program with cygwin32 tools this package falls
|
||||||
| under the GPL. See COPYING.CYGNUS for details.
|
| under the GPL. See COPYING.CYGNUS for details.
|
||||||
|
@ -34,13 +34,13 @@
|
||||||
| This library is distributed in the hope that it will be useful,
|
| This library is distributed in the hope that it will be useful,
|
||||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
| Library General Public License for more details.
|
| Lesser General Public License for more details.
|
||||||
|
|
|
|
||||||
| You should have received a copy of the GNU Library General Public
|
| You should have received a copy of the GNU Lesser General Public
|
||||||
| License along with this library; if not, write to the Free
|
| License along with this library; if not, write to the Free Software
|
||||||
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
|
|
||||||
| This file was taken from rxtx-2.1-7 and adaptated for Hamlib.
|
| This file was taken from rxtx-2.1-7 and adapted for Hamlib.
|
||||||
--------------------------------------------------------------------------*/
|
--------------------------------------------------------------------------*/
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
24
lib/usleep.c
24
lib/usleep.c
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Lesser General Public
|
||||||
published by the Free Software Foundation; either version 2 of the
|
License as published by the Free Software Foundation; either
|
||||||
License, or (at your option) any later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
This library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with this library; if not, write to the Free Software
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Cambridge, MA 02139, USA. */
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
|
|
@ -3,21 +3,21 @@
|
||||||
| Copyright 1997-2002 by Trent Jarvi taj@www.linux.org.uk.
|
| Copyright 1997-2002 by Trent Jarvi taj@www.linux.org.uk.
|
||||||
|
|
|
|
||||||
| This library is free software; you can redistribute it and/or
|
| This library is free software; you can redistribute it and/or
|
||||||
| modify it under the terms of the GNU Library General Public
|
| modify it under the terms of the GNU Lesser General Public
|
||||||
| License as published by the Free Software Foundation; either
|
| License as published by the Free Software Foundation; either
|
||||||
| version 2 of the License, or (at your option) any later version.
|
| version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
|
|
||||||
| If you compile this program with cyg tools this package falls
|
| If you compile this program with cygwin32 tools this package falls
|
||||||
| under the GPL. See COPYING.CYGNUS for details.
|
| under the GPL. See COPYING.CYGNUS for details.
|
||||||
|
|
|
|
||||||
| This library is distributed in the hope that it will be useful,
|
| This library is distributed in the hope that it will be useful,
|
||||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
| Library General Public License for more details.
|
| Lesser General Public License for more details.
|
||||||
|
|
|
|
||||||
| You should have received a copy of the GNU Library General Public
|
| You should have received a copy of the GNU Lesser General Public
|
||||||
| License along with this library; if not, write to the Free
|
| License along with this library; if not, write to the Free Software
|
||||||
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
|
|
||||||
| This file was taken from rxtx-2.1-7pre16 and adaptated for Hamlib.
|
| This file was taken from rxtx-2.1-7pre16 and adaptated for Hamlib.
|
||||||
--------------------------------------------------------------------------*/
|
--------------------------------------------------------------------------*/
|
||||||
|
|
Ładowanie…
Reference in New Issue