X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=close_on_fork.c;h=839802b8fd45d5420510eab20f926528c21dbad2;hp=74b419483ac78bb68115f20e40889cb5f4eb4862;hb=d0f8004acf8e8f78323d672813b4ead62d0c92ff;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/close_on_fork.c b/close_on_fork.c index 74b41948..839802b8 100644 --- a/close_on_fork.c +++ b/close_on_fork.c @@ -1,19 +1,7 @@ /* * Copyright (C) 2005-2006 Andre Noll * - * 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., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file close_on_fork.c manage a list of fds that should be closed on fork */ @@ -50,7 +38,7 @@ void add_close_on_fork_list(int fd) initialized = 1; } cof->fd = fd; - list_add(&cof->node, &close_on_fork_list); + para_list_add(&cof->node, &close_on_fork_list); }