From 184ce9f6a38f5ee3355fdb8a6e557c3dc7811482 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Thu, 31 Jan 2008 11:27:22 +0000 Subject: Bump plugins/ to GPLv3 (non-plugind files) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1918 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/popen.c | 87 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 45 deletions(-) (limited to 'plugins/popen.c') diff --git a/plugins/popen.c b/plugins/popen.c index 45d2a3dc..df00ebeb 100644 --- a/plugins/popen.c +++ b/plugins/popen.c @@ -1,48 +1,45 @@ -/**************************************************************************** - * - * Nagios plugins popen - * - * License: GPL - * Copyright (c) 2005 nagios-plugins team - * - * Last Modified: $Date$ - * - * Description: - * - * A safe alternative to popen - * - * Provides spopen and spclose - * - * FILE * spopen(const char *); - * int spclose(FILE *); - * - * - * Code taken with liitle modification from "Advanced Programming for the Unix - * Environment" by W. Richard Stevens - * - * This is considered safe in that no shell is spawned, and the environment and - * path passed to the exec'd program are esstially empty. (popen create a shell - * and passes the environment to it). - * - * License Information: - * - * 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 2 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, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * $Id$ - * - ******************************************************************************/ +/***************************************************************************** +* +* Nagios plugins popen +* +* License: GPL +* Copyright (c) 2005-2007 Nagios Plugins Development Team +* +* Last Modified: $Date$ +* +* Description: +* +* A safe alternative to popen +* +* Provides spopen and spclose +* +* FILE * spopen(const char *); +* int spclose(FILE *); +* +* Code taken with liitle modification from "Advanced Programming for the Unix +* Environment" by W. Richard Stevens +* +* This is considered safe in that no shell is spawned, and the environment +* and path passed to the exec'd program are essentially empty. (popen create +* a shell and passes the environment to it). +* +* +* 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 . +* +* $Id$ +* +*****************************************************************************/ #include "common.h" -- cgit v1.2.3-74-g34f1