Displaying 8 results from an estimated 8 matches for "get_exclude_tok".
2001 Sep 30
0
Exclude sets generated with -C
...urn 0;
}
@@ -319,16 +336,21 @@
return(t);
}
-
-void add_exclude_line(char *p)
+static void add_exclude_line_to_list(char *p,
+ struct exclude_struct ***list)
{
char *tok;
if (!p || !*p) return;
p = strdup(p);
if (!p) out_of_memory("add_exclude_line");
for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
- add_exclude(tok, 0);
+ add_exclude_list(tok, list, 0);
free(p);
+}
+
+void add_exclude_line(char *p)
+{
+ add_exclude_line_to_list(p, &exclude_list);
}
void add_include_line(char *p)
@@ -342,6 +364,35 @@
free(p);
}
+/* Include all entries fro...
2002 Nov 11
0
Regular Expression support
...,line,l);
- add_exclude(line,0);
+ add_exclude(line,0,0);
}
}
@@ -362,25 +457,25 @@
}
-void add_exclude_line(char *p)
+void add_exclude_line(char *p, int regexp)
{
char *tok;
if (!p || !*p) return;
p = strdup(p);
if (!p) out_of_memory("add_exclude_line");
for (tok=get_exclude_tok(p); tok; tok=get_exclude_tok(NULL))
- add_exclude(tok, 0);
+ add_exclude(tok, 0, regexp);
free(p);
}
-void add_include_line(char *p)
+void add_include_line(char *p, int regexp)
{
char *tok;
if (!p || !*p) return;
p = strdup(p);
if (!p) out_of_memory("add_include_line");...
2002 Feb 27
2
Can not get rsync 2.5.2 or CVS t build Solaris8/GNU RTFM
Sorry about that
./configure --with-included-popt
But then 200+ plus lines of warnings :(
I'll read some more
-pete
2004 May 27
0
compiling on HP-UX
...-I. -Ae -O -DHAVE_CONFIG_H -I./popt -c popt/poptparse.c -o ...
cc: "popt/poptparse.c", line 61: warning 604: Pointers are not assignment-compatible.
cc: "popt/poptparse.c", line 61: warning 563: Argument #1 is not the correct type.
Warnings from gcc:
exclude.c: In function `get_exclude_tok':
exclude.c:252: warning: signed and unsigned type in conditional expression
exclude.c:269: warning: signed and unsigned type in conditional expression
exclude.c: In function `add_exclude_file':
exclude.c:350: warning: signed and unsigned type in conditional expression
util.c: In function `...
2002 Mar 28
1
(no subject)
...tectures, but naive programmers erroneously expect
that
int arr[256];
char c;
c = 255;
arr[c] = 123;
will store at location 255, whereas, on many systems, it produces a
segment violation.
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o exclude.o
exclude.c: In function `get_exclude_tok':
exclude.c:337: warning: subscript has type `char'
exclude.c:350: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o
util.c: In function `strlower':
util.c:637: warning: subscript has type `char'
gcc -I. -I. -g -O...
2002 Feb 20
1
Errors compiling rsync 2.5.2 on Solaris 8
...-I./popt -c receiver.c -o
receiver.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o
cleanup.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o
exclude.o
exclude.c: In function `get_exclude_tok':
exclude.c:332: warning: subscript has type `char'
exclude.c:345: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o
util.c: In function `strlower':
util.c:609: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE...
2002 Nov 06
4
Rsync-2.5.5 on Tru64 UNIX V51.A
...ve_sums':
sender.c:50: warning: int format, different type arg (arg 3)
sender.c:50: warning: int format, different type arg (arg 4)
sender.c:50: warning: int format, different type arg (arg 5)
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o
exclude.o
exclude.c: In function `get_exclude_tok':
exclude.c:337: warning: subscript has type `char'
exclude.c:350: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o
util.c: In function `strlower':
util.c:637: warning: subscript has type `char'
util.c:637: warning: subs...
2002 Jan 29
1
Solaris 2.8/2.5.2 build issues
...-W -I./popt -c receiver.c -o
receiver.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o
cleanup.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o
sender.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o
exclude.o
exclude.c: In function `get_exclude_tok':
exclude.c:332: warning: subscript has type `char'
exclude.c:345: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o
util.c: In function `strlower':
util.c:609: warning: subscript has type `char'
gcc -I. -I. -g -O2 -DHAVE...