Changeset 2607
- Timestamp:
- 09/03/07 09:40:40 (1 year ago)
- Files:
-
- trunk/lib_internal/matchlist-appendfiles.c (modified) (2 diffs)
- trunk/lib_internal/matchlist-initmanually.c (modified) (4 diffs)
- trunk/lib_internal/matchlist.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib_internal/matchlist-appendfiles.c
r1423 r2607 39 39 void 40 40 MatchList_appendFiles(struct MatchList *list, size_t idx, 41 char **files, size_t count,41 char const **files, size_t count, 42 42 bool auto_type) 43 43 { … … 49 49 if (auto_type) { 50 50 for (i=0; i<count; ++i) { 51 char *file = files[i];51 char const *file = files[i]; 52 52 switch (file[0]) { 53 53 case '+' : ptr->type = stINCLUDE; ++file; break; trunk/lib_internal/matchlist-initmanually.c
r1954 r2607 43 43 static void 44 44 readExcludeListFD(int fd, 45 char ***files, size_t *size,45 char const ***files, size_t *size, 46 46 char **buf) 47 47 { … … 91 91 static void 92 92 readExcludeList(char const *filename, 93 char ***files, size_t *size,93 char const ***files, size_t *size, 94 94 char **buf) 95 95 { … … 103 103 static void 104 104 getConfigfileList(char const *vserver, 105 char ***files, size_t *size,105 char const ***files, size_t *size, 106 106 char **buf) 107 107 { … … 153 153 char *buf[2] = { 0,0 }; 154 154 155 char **fixed_files = 0;155 char const **fixed_files = 0; 156 156 size_t fixed_count = 0; 157 157 158 char **expr_files = 0;158 char const **expr_files = 0; 159 159 size_t expr_count = 0; 160 160 size_t len; trunk/lib_internal/matchlist.h
r1912 r2607 74 74 void MatchList_destroy(struct MatchList *) NONNULL((1)); 75 75 void MatchList_appendFiles(struct MatchList *, size_t idx, 76 char **files, size_t count,76 char const **files, size_t count, 77 77 bool auto_type) NONNULL((1,3)); 78 78
