From 63074ed3d8d959b7abb893b34c1df92faac750c4 Mon Sep 17 00:00:00 2001 From: garden Date: Wed, 2 Aug 2006 07:17:36 +0000 Subject: [PATCH] libvdeplug license changed from GPL to LGPL git-svn-id: https://vde.svn.sourceforge.net/svnroot/vde/trunk@97 d37a7db1-d92d-0410-89df-f68f52f87b57 --- vde-2/libvdeplug/libvdeplug.c | 22 +++++++++++++++++----- vde-2/libvdeplug/libvdeplug.h | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/vde-2/libvdeplug/libvdeplug.c b/vde-2/libvdeplug/libvdeplug.c index fb04038..ab08562 100644 --- a/vde-2/libvdeplug/libvdeplug.c +++ b/vde-2/libvdeplug/libvdeplug.c @@ -1,5 +1,20 @@ -/* Copyright 2006 Renzo Davoli - * Licensed under the GPL +/* + * libvdeplug - A library to connect to a VDE Switch. + * Copyright (C) 2006 Renzo Davoli, University of Bologna + * + * 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 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, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "libvdeplug.h" @@ -9,7 +24,6 @@ #include #include #include -#include #include #include @@ -173,8 +187,6 @@ VDECONN *vde_open_real(char *sockname,char *descr,int interface_version, gid=gs->gr_gid; chown(conn->inpath.sun_path,-1,gid); } - - // mode_t is an unsigned, so this check should be useless if (mode>=0) chmod(conn->inpath.sun_path,mode); diff --git a/vde-2/libvdeplug/libvdeplug.h b/vde-2/libvdeplug/libvdeplug.h index 0bb52f6..b000adb 100644 --- a/vde-2/libvdeplug/libvdeplug.h +++ b/vde-2/libvdeplug/libvdeplug.h @@ -1,3 +1,22 @@ +/* + * libvdeplug - A library to connect to a VDE Switch. + * Copyright (C) 2006 Renzo Davoli, University of Bologna + * + * 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 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, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _VDELIB_H #define _VDELIB_H #include -- 2.11.4.GIT