search for: t_stub

Displaying 17 results from an estimated 17 matches for "t_stub".

Did you mean: g_stub
2025 Jan 14
1
new release 3.4.0 - critical security release
...patches within the rsync-patches-3.4.0.tar.gz archive seem to contain new unnecessary hunks that change the prefix from /usr to /usr/local. This was not the case in 3.3.0. I use the fileflags.diff patch in the MacPorts build of rsync, and with the 3.4.0 version of this patch, it does not build: t_stub.c:34:14: error: redefinition of 'module_dirlen' with a different type: 'unsigned int' vs 'int' unsigned int module_dirlen = 0; ^ t_stub.c:31:5: note: previous definition is here int module_dirlen = 0; ^ 1 error generated.
2003 Jan 16
1
Possible patch for Irix Makefile problem
...RSYNC_EXE=rsync$(EXEEXT) +TLS_EXE=tls$(EXEEXT) +GETGROUPS_EXE=getgroups$(EXEEXT) +TRIMSLASH_EXE=trimslash$(EXEEXT) +T_UNSAFE_EXE=t_unsafe$(EXEEXT) +CHECK_PROGS=$(RSYNC_EXE) $(TLS_EXE) $(GETGROUPS_EXE) \ + $(TRIMSLASH_EXE) $(T_UNSAFE_EXE) # Objects for CHECK_PROGS to clean CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o @@ -55,13 +60,13 @@ CHECK_OBJS=getgroups.o t_stub.o t_unsafe $(CC) -I. -I$(srcdir) $(CFLAGS) $(CPPFLAGS) -c $< @CC_SHOBJ_FLAG@ @OBJ_RESTORE@ -all: rsync$(EXEEXT) +all: $(RSYNC_EXE) man: rsync.1 rsyncd.conf.5 install: all -mkdir -p ${DESTDIR}${bindir} - ${INS...
2003 Jan 10
1
make clean
...4 diff -u -r1.84 Makefile.in --- Makefile.in 8 Apr 2002 06:23:34 -0000 1.84 +++ Makefile.in 10 Jan 2003 02:40:34 -0000 @@ -43,6 +43,9 @@ # Programs we must have to run the test cases CHECK_PROGS = rsync tls getgroups trimslash t_unsafe +# Objects for CHECK_PROGS to clean +CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o + # note that the -I. is needed to handle config.h when using VPATH .c.o: @OBJ_SAVE@ @@ -106,7 +109,7 @@ cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h clean: cleantests - rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROG...
2025 Jan 14
2
new release 3.4.0 - critical security release
...s-3.4.0.tar.gz archive seem to contain > new unnecessary hunks that change the prefix from /usr to /usr/local. This > was not the case in 3.3.0. > > I use the fileflags.diff patch in the MacPorts build of rsync, and with > the 3.4.0 version of this patch, it does not build: > > t_stub.c:34:14: error: redefinition of 'module_dirlen' with a different > type: 'unsigned int' vs 'int' > unsigned int module_dirlen = 0; > ^ > t_stub.c:31:5: note: previous definition is here > int module_dirlen = 0; > ^ > 1 error generated. &...
2005 Jan 31
1
[patch] add "--ignore" option
...in a --filter rule. +This affects --exclude-from, --include-from, --ignore-from, --files-from, +and any merged files specified in a --filter rule. It does not affect --cvs-exclude (since all names read from a .cvsignore file are split on whitespace). diff -ur ../rsync-HEAD-20050125-1221GMT.orig/t_stub.c ./t_stub.c --- ../rsync-HEAD-20050125-1221GMT.orig/t_stub.c Tue Jan 25 12:21:14 2005 +++ ./t_stub.c Thu Jan 27 13:52:08 2005 @@ -56,12 +56,12 @@ exit(code); } - int check_filter(UNUSED(struct filter_list_struct *listp), UNUSED(char *name), + enum matchtype check_filter(UNUSED(struct filter_l...
2025 Jan 14
2
new release 3.4.0 - critical security release
the alloca comes from the new popt release. What system are you having an issue with? On Wed, 15 Jan 2025 at 07:16, <rsbecker at nexbridge.com> wrote: > A new dependency was added since 3.3, alloca(), which is not portable. Is > there a way around this? > > Thanks, > > Randall > > > > *From:* rsync <rsync-bounces at lists.samba.org> *On Behalf Of
2006 Dec 15
2
BugReport: rsync fails it's own "regression" test "chmod-option"
...Wall -W -c trimslash.c -o trimslash.o gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -o trimslash trimslash.o syscall.o lib/compat.o lib/snprintf.o -lpopt gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c t_unsafe.c -o t_unsafe.o gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c t_stub.c -o t_stub.o gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -o t_unsafe t_unsafe.o syscall.o util.o t_stub.o lib/compat.o lib/snprintf.o -lpopt gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c wildtest.c -o wildtest.o gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -o wildtest wildtest....
2005 Jul 29
2
segment fault with 2.6.6 or CVS
..._name(i); within gdb: print lp_name $1 = {char *(int)} 0x806f0c0 <lp_name> (gdb) print lp_name@5 $2 = {{char *(int)} 0, {char *(int)} 0, {char *(int)} 0, {char *(int)} 0, { char *(int)} 0} I don't understand the code since I see 2 (global) definitions of lp_name first in t_stub.c char *lp_name(UNUSED(int mod)) { return NULL; } and second in loadparm.c FN_LOCAL_STRING(lp_name, name) where #define FN_LOCAL_STRING(fn_name,val) \ char *fn_name(int i) {return((LP_SNUM_OK(i)&&pSERVICE(i)->val)?pSERVICE(i)->val : (sDefault.val?sDefault.val:""));}...
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
...etgroups$(EXEEXT): getgroups.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ getgroups.o $(LIBS) TRIMSLASH_OBJ = trimslash.o syscall.o -trimslash: $(TRIMSLASH_OBJ) +trimslash$(EXEEXT): $(TRIMSLASH_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TRIMSLASH_OBJ) $(LIBS) T_UNSAFE_OBJ = t_unsafe.o syscall.o util.o t_stub.o lib/compat.o lib/snprintf.o -t_unsafe: $(T_UNSAFE_OBJ) +t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS) # I don't like these rules because CVS can skew the timestamps and @@ -106,7 +108,7 @@ proto: cat $(srcdir)/*.c $(srcdir)/lib/compat.c | a...
2008 May 31
1
rsync 3.0.2 with --fileflags on FreeBSD: cannot rsync hardlinked immutable files
Hi *, it seems rsync with --fileflags isn't able to work on (already) hardlinked and immutable ("schg") files on FreeBSD. The following scripts will create a simple example for this behaviour: -------------------------------------------------------------- #! /bin/sh # # set -x DIR="/var/tmp/rsync_$(date +%s)/" mkdir "${DIR}/" # Preparing dir_A mkdir
2010 Aug 17
6
DO NOT REPLY [Bug 7625] New: "Don't know how to make ./*.c"
https://bugzilla.samba.org/show_bug.cgi?id=7625 Summary: "Don't know how to make ./*.c" Product: rsync Version: 3.0.7 Platform: s390 OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: sebastian.hoffman at
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...t.o popt/poptconfig.o \ > popt/popthelp.o popt/poptparse.o > -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ > @BUILD_POPT@ > +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) > @BUILD_ZLIB@ @BUILD_POPT@ > > TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o > lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ > > diff --git a/checksum.c b/checksum.c > index cd234038..7c42742a 100644 > --- a/checksum.c > +++ b/checksum.c > @@ -99,6 +99,7 @@ int canonical_checksum(int csum_type) > return csum_type >...
2003 Apr 29
6
Connection refused
I've added the: /etc/services /etc/inetd entries as well as /etc/rsync.conf with the contents: [io] path = //Volumes/Mac_OS_X/Library/WebServer/iolanguage.com/Io comment = iolanguage source code But I get this error: % rsync -rvR --progress localhost:/ . localhost.dekorte.com: Connection refused rsync: connection unexpectedly closed (0 bytes read so far) rsync error:
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on? Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html : "For the x86-32 compiler, you must use -march=cpu-type, -msse or -msse2 switches to enable SSE extensions and make this option effective. For the x86-64 compiler, these extensions are enabled by default." That reads to me like we're fine for SSE2. As stated in my comments, SSSE3 support must be
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...o popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ diff --git a/checksum.c b/checksum.c index cd234038..7c42742a 100644 --- a/checksum.c +++ b/checksum.c @@ -99,6 +99,7 @@ int canonical_checksum(int csum_type) return csum_type >= CSUM_MD4 ? 1 : 0; } +#ifndef ENABLE_...
2020 May 22
2
[PATCH] Optimized assembler version of md5_process() for x86-64
...ndme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(ASMOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ @@ -126,6 +128,9 @@ rounding.h: rounding.c rsync.h proto.h checksum_simd_x86_64.o: checksum_simd_x86_64.cpp $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $< +lib/md5_asm_x86_64.o: lib/md5_asm_x86_64.s + $(CC) -c -o $@ $&l...
2007 Sep 22
0
rsync build on IA64 using icc
...c -rw-r--r-- 1 mccssmb2 mcc101 34980 Oct 13 2006 exclude.c -rw-r--r-- 1 mccssmb2 mcc101 8935 Oct 8 2006 rsync.c -rwxr-xr-x 1 mccssmb2 mcc101 461 Oct 7 2006 prepare-source -rw-r--r-- 1 mccssmb2 mcc101 33389 Sep 30 2006 io.c -rw-r--r-- 1 mccssmb2 mcc101 2168 Sep 24 2006 t_stub.c -rw-r--r-- 1 mccssmb2 mcc101 9620 Sep 20 2006 sender.c -rw-r--r-- 1 mccssmb2 mcc101 4933 May 29 2006 pipe.c -rw-r--r-- 1 mccssmb2 mcc101 5718 Apr 26 2006 wildtest.c -rw-r--r-- 1 mccssmb2 mcc101 1663 Apr 26 2006 getgroups.c -rw-r--r-- 1 mccssmb2 mcc101 9840 Apr 26 200...