Fixed copyright comments.

This commit is contained in:
Werner Koch 2004-12-03 18:38:23 +00:00
parent d45e223fdc
commit 237611cddf
2 changed files with 21 additions and 14 deletions

View File

@ -1,3 +1,7 @@
2004-12-03 Werner Koch <wk@g10code.com>
* strsep.c: Fixed copyright comments.
2004-11-26 Werner Koch <wk@g10code.com> 2004-11-26 Werner Koch <wk@g10code.com>
* simple-gettext.c: New taken from gnupg 1.3.x * simple-gettext.c: New taken from gnupg 1.3.x

View File

@ -1,31 +1,34 @@
/* strsep.c - Replacement for strsep(). /* strsep.c - Replacement for strsep().
* Copyright (C) 2002 Free Software Foundation, Inc. * Copyright (C) 1992, 1993, 1996, 1997, 1998, 1999,
* 2004 Free Software Foundation, Inc.
* *
* This file is part of GnuPG. * This file is part of the GNU C Library.
* *
* GnuPG is free software; you can redistribute it and/or modify * The GNU C Library is free software; you can redistribute it and/or
* it under the terms of the GNU General Public License as published by * modify it under the terms of the GNU Lesser General Public
* the Free Software Foundation; either version 2 of the License, or * License as published by the Free Software Foundation; either
* (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* GnuPG is distributed in the hope that it will be useful, * The GNU C 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 General Public License for more details. * Lesser 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 Lesser General Public
* along with this program; if not, write to the Free Software * License along with the GNU C Library; if not, write to the Free
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA.
*/ */
/* Code taken from glibc-2.3.2/sysdeps/generic/strsep.c and slightly
modified for use with GnuPG. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
/* Code taken from glibc-2.2.1/sysdeps/generic/strsep.c */
#warning need to get the correct copyright years from glibc
char * char *
strsep (char **stringp, const char *delim) strsep (char **stringp, const char *delim)
{ {