[Spice-devel] [PATCH 14/15] server: add missing GPL header to source files

Hans de Goede hdegoede at redhat.com
Thu Apr 21 05:03:10 PDT 2011


Nitpick: you're adding a LGPL header, might be good to reflect
that in the commit message.

On 04/21/2011 01:53 PM, Christophe Fergeau wrote:
> ---
>   server/smartcard.c    |   17 +++++++++++++++++
>   server/smartcard.h    |   17 +++++++++++++++++
>   server/zlib_encoder.c |   17 +++++++++++++++++
>   3 files changed, 51 insertions(+), 0 deletions(-)
>
> diff --git a/server/smartcard.c b/server/smartcard.c
> index 892500b..d201f5f 100644
> --- a/server/smartcard.c
> +++ b/server/smartcard.c
> @@ -1,3 +1,20 @@
> +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
> +/*
> +   Copyright (C) 2010 Red Hat, Inc.
> +
> +   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
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with this library; if not, see<http://www.gnu.org/licenses/>.
> +*/
>   #include<arpa/inet.h>
>
>   #include "server/char_device.h"
> diff --git a/server/smartcard.h b/server/smartcard.h
> index bb2f0b6..cc74d9b 100644
> --- a/server/smartcard.h
> +++ b/server/smartcard.h
> @@ -1,3 +1,20 @@
> +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
> +/*
> +   Copyright (C) 2010 Red Hat, Inc.
> +
> +   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
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with this library; if not, see<http://www.gnu.org/licenses/>.
> +*/
>   #ifndef __SMART_CARD_H__
>   #define __SMART_CARD_H__
>
> diff --git a/server/zlib_encoder.c b/server/zlib_encoder.c
> index e0d8d83..214180e 100644
> --- a/server/zlib_encoder.c
> +++ b/server/zlib_encoder.c
> @@ -1,3 +1,20 @@
> +/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
> +/*
> +   Copyright (C) 2010 Red Hat, Inc.
> +
> +   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
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with this library; if not, see<http://www.gnu.org/licenses/>.
> +*/
>   #include "red_common.h"
>   #include "zlib_encoder.h"
>   #include<zlib.h>


More information about the Spice-devel mailing list