Displaying 11 results from an estimated 11 matches for "close_all".
2002 Aug 22
1
Applying the "Connection reset by peer"
Hi all,
we're suffering heavily from the "connection reset by peer" problem when
running Rsync on WinNT.
Great was our relief when seeing Randy's message in
http://www.mail-archive.com/rsync@lists.samba.org/msg01918.html
I immediately installed the full Cygwin to recompile Rsync, but since I'm
far from a C guru, I'm a bit puzzled with the last 2 lines in Randy's
2007 Oct 03
0
[ wxruby-Patches-14416 ] Patch for Bug [#12747] Crash on exit
...oblem is, that the window gets destroyed and then for whatever reasons the on_activate event fires and the on_activate method tries to set a status text of a window that is alreay destroyed.
The same happens when one window is closed and then the other window is closed via the menu. Now the method close_all tries to close both windows. But one is already destroyed so the app crashes.
I solved this by defining an attribute @closed = false in the MinimalFrame and defining a method closed? which returns the @closed attribute.
The close event sets this attribute to true
(evt_close { |e| @closed = true,...
2003 Apr 15
0
Patch for stderr logging
...can do its own timestamping, i have made
the timestamping and pid logging optional when using a ``log file=''
option. the rsyncd.conf.{yo,5} have been updated to reflect the changes.
i believe my yodl is a bit different than yours, because the changes to
the .5 are huge.
additionally, the close_all() definition in cleanup.c was changed to
prevent the close_all() definition in proto.h from being changed.
Summary of changes:
cleanup.c:
changed definition of close_all()
clientserver.c:
no longer redirect stderr to /dev/null
loadparm.c:
add "log timestamp" global bool...
2003 Jul 24
0
(no subject)
...-E -B -c -r rsync-2.5.6/proto.h rsync-2.5.6-remotebatch/proto.h
*** rsync-2.5.6/proto.h Mon Jan 27 03:35:09 2003
--- rsync-2.5.6-remotebatch/proto.h Wed Jul 23 11:27:53 2003
***************
*** 31,37 ****
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
! void close_all(void);
void _exit_cleanup(int code, const char *file, int line);
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
--- 31,37 ----
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
! void close_all();
void...
2001 Oct 20
4
rsync on cygwin: Connection reset by peer
I have been trying to get rsync running correctly on cygwin for the past
couple of days. I found a post on the cygwin list that said there was a
bug in cygwin when using socketpair() but when I compiled the sample code:
(http://jrepp.com/rsync/socketpair.c) both ways it works fine. Here's the
article for reference:
http://sources.redhat.com/ml/cygwin/2001-08/msg00357.html
I am running the
2010 Jun 02
1
rsync 3.0.7 network errors on MS-Windows
...in rsync protocol data stream (code 12) at io.c(1530)
[generator=3.0.7]
rsync error: error in rsync protocol data stream (code 12) at io.c(760)
[receiver=3.0.7]
Googling I see that these problems were put down to the way socket are
cleaned up in Windows and a fix put in place in cleanup.c, in close_all().
But the fix is surrounded by conditional compilation:-
#ifdef SHUTDOWN_ALL_SOCKETS
:
:
#endif
Can someone please explain why that is? Shouldn't the fix just be there
always, and regardless of which operating system?
Regards,
Andrew Marlow
________________________________________...
2006 Nov 21
1
rsync v2.6.9: small patch fixing NORETURN failures
...ext part --------------
--- rsync-2.6.9/proto.h.orig 2006-11-07 05:39:47.000000000 +0100
+++ rsync-2.6.9/proto.h 2006-11-21 21:32:26.000000000 +0100
@@ -21,7 +21,7 @@
int tweak_mode(int mode, struct chmod_mode_struct *chmod_modes);
int free_chmod_mode(struct chmod_mode_struct *chmod_modes);
void close_all(void);
-NORETURN void _exit_cleanup(int code, const char *file, int line);
+NORETURN void _exit_cleanup(int code, const char *file, int line) NORETURN2;
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w);
@@ -276,8 +276,8 @@...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...ot;--compare-auto";
+ }
*argc = ac;
}
diff -aur rsync-2.5.6/proto.h rsync-arh/proto.h
--- rsync-2.5.6/proto.h Mon Jan 27 03:35:09 2003
+++ rsync-arh/proto.h Fri Oct 17 08:26:52 2003
@@ -31,7 +31,7 @@
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
-void close_all(void);
+void close_all();
void _exit_cleanup(int code, const char *file, int line);
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
@@ -93,6 +93,7 @@
char *f_name(struct file_struct *f);
void recv_generator(char *fname, struct file_list *flis...
2003 Jun 25
3
patch draft for extended attributes on linux
...nup.c xa/cleanup.c
--- rsync-2.5.6/cleanup.c 2003-01-27 14:35:08.000000000 +1100
+++ xa/cleanup.c 2003-06-24 16:16:58.000000000 +1000
@@ -26,7 +26,7 @@
* shutdown() of socket connections. This eliminates the abortive
* TCP RST sent by a Winsock-based system when the close() occurs.
**/
-void close_all()
+void close_all(void)
{
#ifdef SHUTDOWN_ALL_SOCKETS
int max_fd;
diff -urpdN -x .ignore -x packaging -x cvs.log -x configure -x config.h.in -x autom4te.cache -x config.log -x .cvsignore -x dummy -x .svn -x ID -x TAGS rsync-2.5.6/configure.in xa/configure.in
--- rsync-2.5.6/configure.in 2003-01...
2003 Oct 05
2
Possible security hole
Maybe security related mails should be sent elsewhere? I didn't notice
any so here it goes:
sender.c:receive_sums()
s->count = read_int(f);
..
s->sums = (struct sum_buf *)malloc(sizeof(s->sums[0])*s->count);
if (!s->sums) out_of_memory("receive_sums");
for (i=0; i < (int) s->count;i++) {
s->sums[i].sum1 = read_int(f);
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi,
This is a proof of concept of GPU forwarding for Linux guest on Linux host.
I'd like to get comments and suggestions from community before I put more
time on it. To summarize what it is:
1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host.
It could works with different GPU although the current proof of concept only
works with Intel GPU.
2. The basic idea