X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2Fvunify-init.hc;fp=src%2Fvunify-init.hc;h=0000000000000000000000000000000000000000;hb=db5ef3f969fc6ad34aeb5903e44d0049b2e50791;hp=d275f0fbe2264a5aee9b37e04a462d0a9822baeb;hpb=95e2774070e989fe9cf9f48dae5fa054e55e2a3e;p=util-vserver.git diff --git a/src/vunify-init.hc b/src/vunify-init.hc deleted file mode 100644 index d275f0f..0000000 --- a/src/vunify-init.hc +++ /dev/null @@ -1,75 +0,0 @@ -// $Id: vunify-init.hc 1921 2005-03-18 00:24:27Z ensc $ --*- c -*-- - -// Copyright (C) 2004 Enrico Scholz -// -// 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; version 2 of the License. -// -// 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-1307, USA. - -#include "pathconfig.h" - -static void -initModeManually(struct Arguments const UNUSED *args, int argc, char *argv[]) -{ - int i, count=argc/2; - - if (argc%2) { - WRITE_MSG(2, "Odd number of (path,excludelist) arguments\n"); - exit(1); - } - - if (count<2) { - WRITE_MSG(2, "No reference path(s) given\n"); - exit(1); - } - - MatchList_initManually(&global_info.dst_list, 0, strdup(argv[0]), argv[1]); - - --count; - global_info.src_lists.v = Emalloc(sizeof(struct MatchList) * count); - global_info.src_lists.l = count; - - for (i=0; i