Changeset 2608

Show
Ignore:
Timestamp:
09/03/07 09:42:17 (1 year ago)
Author:
ensc
Message:

whitespace-cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib_internal/matchlist-appendfiles.c

    r2607 r2608  
    22 
    33// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 
    4 //   
     4// 
    55// This program is free software; you can redistribute it and/or modify 
    66// it under the terms of the GNU General Public License as published by 
    77// the Free Software Foundation; version 2 of the License. 
    8 //   
     8// 
    99// This program is distributed in the hope that it will be useful, 
    1010// but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1111// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212// GNU General Public License for more details. 
    13 //   
     13// 
    1414// You should have received a copy of the GNU General Public License 
    1515// along with this program; if not, write to the Free Software 
     
    4444  struct MatchItem      *ptr = list->data + idx; 
    4545  size_t                i; 
    46    
     46 
    4747  assert(idx+count <= list->count); 
    4848 
  • trunk/lib_internal/matchlist-initmanually.c

    r2607 r2608  
    22 
    33// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 
    4 //   
     4// 
    55// This program is free software; you can redistribute it and/or modify 
    66// it under the terms of the GNU General Public License as published by 
    77// the Free Software Foundation; version 2 of the License. 
    8 //   
     8// 
    99// This program is distributed in the hope that it will be useful, 
    1010// but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1111// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212// GNU General Public License for more details. 
    13 //   
     13// 
    1414// You should have received a copy of the GNU General Public License 
    1515// along with this program; if not, write to the Free Software 
     
    4949  size_t        lines = 0; 
    5050  char          *ptr; 
    51    
     51 
    5252  if (fd==-1) return; // todo: message on verbose? 
    5353 
     
    8181        *tmp-- = '\0'; 
    8282      } while (tmp>ptr && *tmp==' '); 
    83        
     83 
    8484      if (tmp>ptr) (*files)[(*size)++] = ptr; 
    8585    } 
     
    106106                  char **buf) 
    107107{ 
    108   char                tmpname[] = "/tmp/vunify.XXXXXX"; 
     108  char                tmpname[] = "/tmp/vunify.XXXXXX"; 
    109109  pid_t         pid; 
    110110  int           fd = Emkstemp(tmpname); 
     
    116116    char        *args[10]; 
    117117    char const  **ptr = (char const **)(args)+0; 
    118      
     118 
    119119    Edup2(fd, 1); 
    120120    //Eclose(0); 
     
    130130  else { 
    131131    int         status; 
    132      
     132 
    133133    if (TEMP_FAILURE_RETRY(wait4(pid, &status, 0,0))==-1) { 
    134134      perror("wait4()"); 
     
    152152{ 
    153153  char                  *buf[2] = { 0,0 }; 
    154    
     154 
    155155  char const            **fixed_files = 0; 
    156156  size_t                fixed_count   = 0; 
     
    168168  else 
    169169    len  = strlen(vdir); 
    170    
     170 
    171171  if (Global_getVerbosity()>=1) { 
    172172    WRITE_MSG(1, "Initializing exclude-list for "); 
  • trunk/lib_internal/matchlist.h

    r2607 r2608  
    22 
    33// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 
    4 //   
     4// 
    55// This program is free software; you can redistribute it and/or modify 
    66// it under the terms of the GNU General Public License as published by 
    77// the Free Software Foundation; version 2 of the License. 
    8 //   
     8// 
    99// This program is distributed in the hope that it will be useful, 
    1010// but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1111// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212// GNU General Public License for more details. 
    13 //   
     13// 
    1414// You should have received a copy of the GNU General Public License 
    1515// along with this program; if not, write to the Free Software 
     
    5353struct MatchVserverInfo 
    5454{ 
    55     char const                *name; 
     55    char const                *name; 
    5656 
    5757    vcCfgStyle          style; 
    5858    PathInfo            vdir; 
    5959    PathInfo            appdir; 
    60      
     60 
    6161    bool                use_pkgmgmt; 
    6262}; 
  • trunk/lib_internal/util-safechdir.h

    r2606 r2608  
    22 
    33// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 
    4 //   
     4// 
    55// This program is free software; you can redistribute it and/or modify 
    66// it under the terms of the GNU General Public License as published by 
    77// the Free Software Foundation; version 2 of the License. 
    8 //   
     8// 
    99// This program is distributed in the hope that it will be useful, 
    1010// but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1111// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1212// GNU General Public License for more details. 
    13 //   
     13// 
    1414// You should have received a copy of the GNU General Public License 
    1515// along with this program; if not, write to the Free Software