Displaying 20 results from an estimated 42 matches for "retsigtyp".
Did you mean:
retsigtype
2002 Feb 28
2
lost status code
Rsync reports the status code of the remote command. So in some
situations the status code is successful when the command fails.
Rsync of a remote file to a local read-only directory fails, but
exits with $status = 0. I'd like to get $status = 23. Is it
possible?
Local copy fails with status = 23
> mkdir /tmp/nowrite
> chmod -w /tmp/nowrite
> rsync /etc/group /tmp/nowrite || echo
2015 Jun 28
2
[Bug 11369] New: obsoleted autoconf macros
...s are replacing AC_TRY_COMPILE with AC_COMPILE_IFELSE.
Of those taking a bit more code analysis, there is the assessment by the
autoconf developers that sufficient time has passed that you can assume the
signal return type. In other words, it's my understanding that instead of
having it return RETSIGTYPE and having autoconf determine the type, it can just
be void and remove the check. The defined token seems to only occur in rsync.c
and main.c.
The second item is AC_C_LONG_DOUBLE which is replaced by AC_TYPE_LONG_DOUBLE
and/or AC_TYPE_LONG_DOUBLE_WIDER. By their assessment, currently available
co...
2004 Mar 29
2
Issue with rsync 2.6.1-pre1 on AIX
...something I really need.
(The above goes for rsync 2.6.1-pre1 built with Gcc 3.3.2 on AIX 5.2
[oslevel -r says 5200-02]).
-------------- next part --------------
*** socket.c.orig Mon Mar 29 15:29:10 2004
--- socket.c Mon Mar 29 15:30:23 2004
***************
*** 431,440 ****
static RETSIGTYPE sigchld_handler(UNUSED(int val))
{
- signal(SIGCHLD, sigchld_handler);
#ifdef WNOHANG
while (waitpid(-1, NULL, WNOHANG) > 0) {}
#endif
}
--- 431,440 ----
static RETSIGTYPE sigchld_handler(UNUSED(int val))
{
#ifdef WNOHANG
while (waitpid(-1, NULL, WNO...
2005 Apr 19
0
R 2.0.1 install problem on Solaris 9
..._SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STRING_H 1
| #define HAVE_POSIX_SETJMP 1
| #define RETSIGTYPE void
| #define HAVE_DECL_SIZE_MAX 1
| #define SOCKLEN_T socklen_t
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:2...
2006 Feb 13
1
rsync SIGSEGV signal handler in Cygwin.
...has unexpectedly died with signal %d\n",
+ WTERMSIG(status));
+ else if (WIFEXITED(status) && WEXITSTATUS(status) == RERR_CRASH)
+ rprintf(FLOG,
+ "rsync error: (1) *** Child proccess has crashed. :-( ***\n");
}
#endif
}
@@ -1070,6 +1085,12 @@
}
#endif
+static RETSIGTYPE rsync_panic_handler2(UNUSED(int whatsig))
+{
+ log_exit(RERR_CRASH, "main.c", -1);
+ logfile_close();
+ _exit(RERR_CRASH);
+}
int main(int argc,char *argv[])
{
@@ -1085,6 +1106,11 @@
signal(SIGFPE, rsync_panic_handler);
signal(SIGABRT, rsync_panic_handler);
signal(SIGBUS, rsync...
2003 Jun 27
5
PATCH/RFC: Another stab at the Cygwin hang problem
...(-1);
! write(cleanup_pipe[1], ".", 1);
! if (waitpid(pid, &status, 0) != pid) {
! rprintf(FERROR,"cleanup in do_recv failed\n");
! exit_cleanup(RERR_SOCKETIO);
! }
return status;
}
***************
*** 867,878 ****
exit_cleanup(RERR_SIGNAL);
}
- static RETSIGTYPE sigusr2_handler(int UNUSED(val)) {
- extern int log_got_error;
- if (log_got_error) _exit(RERR_PARTIAL);
- _exit(0);
- }
-
static RETSIGTYPE sigchld_handler(int UNUSED(val)) {
#ifdef WNOHANG
int cnt, status;
--- 885,890 ----
***************
*** 964,970 ****
orig_argv = argv;
si...
2002 Jan 31
2
configure --with-rsh=CMD and default blocking-IO support
...to run autoconf after
applying it.
..wayne..
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Index: rsync/config.h.in
--- rsync/config.h.in 15 Jan 2002 09:53:29 -0000 1.68
+++ rsync/config.h.in 30 Jan 2002 18:45:18 -0000
@@ -303,6 +303,9 @@
#undef RETSIGTYPE
/* */
+#undef RSYNC_RSH
+
+/* */
#undef RSYNC_PATH
/* rsync release version */
Index: rsync/configure.in
--- rsync/configure.in 25 Jan 2002 23:19:21 -0000 1.130
+++ rsync/configure.in 30 Jan 2002 18:45:19 -0000
@@ -78,6 +78,10 @@
AC_ARG_WITH(included-popt,
[ --with-included-popt...
2003 Mar 29
1
compling errors for sun unix (PR#2702)
...SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STRING_H 1
| #define HAVE_POSIX_SETJMP 1
| #define RETSIGTYPE void
| #define SOCKLEN_T socklen_t
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:12889: gcc -o conftest -g -O2 -I/...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
..._INTTYPES_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRING_H 1
| #define HAVE_DECL_SIGSETJMP 1
| #define HAVE_DECL_SIGLONGJMP 1
| #define HAVE_POSIX_SETJMP 1
| #define HAVE_GLIBC2 1
| #define RETSIGTYPE void
| #define HAVE_INT64_T 1
| #define HAVE_INT_FAST64_T 1
| #define HAVE_DECL_SIZE_MAX 1
| #define R_SOCKLEN_T socklen_t
| #define HAVE_STACK_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| #define R_INLINE inline
| #define SIZEOF_INT 4
| #define INT_32_BITS 1
| #define SIZEOF_LONG 8...
2012 Jun 28
0
[LLVMdev] One problem to discuss
Hello, all:
I have a problem want to discus with you, Chris someone should be the right person.
In llvm-3.1.src/lib/support/unix/Signals.inc, in SignalHandler, we have:
static RETSIGTYPE SignalHandler(int Sig) {
...
SignalsMutex.acquire();
RemoveFilesToRemove();
...
}
We can also find following code snippet in the same file:
void llvm::sys::RunInterruptHandlers() {
SignalsMutex.acquire();
RemoveFilesToRemove();
SignalsMutex.release();
}
Similarly, there are SetInt...
2015 Apr 17
0
[ANNOUNCE] x11perf 1.6.0
...win100 Scale 100x100 from pixmap to 5x5 window
-minpixwin500 Scale 500x500 from pixmap to 250x250 window
Alan Coopersmith (9):
Add const attributes to fix gcc -Wwrite-strings warnings
Mark usage & AbortTest as _X_NORETURN
Drop imake fallback for RETSIGTYPE definition
Assume signal handlers return void, as C89 requires
configure: Drop AM_MAINTAINER_MODE
autogen.sh: Honor NOCONFIGURE=1
Mark bitmap data as const
Combine help_message array into a single string
x11perf 1.6.0
Keith Packard (5):
Add up/down scalin...
2002 Sep 03
2
[patch] for rsync
To Whom It May Concern:
Below is a patch, that I have used to eliminate the unexplained
errors in the rsync program. I was able to trace the problem to
the order in which the sigchld_handler and wait_process routines
were executed. If sigchld_handler executes first it retrieves
the status that wait_process needs to indicate proper rsync
termination. The code below allows the sigchld_handler to
2006 May 24
0
rsync connection limit
...w/socket.c Wed May 24 16:22:48 2006
@@ -37,6 +37,7 @@
extern char *bind_address;
extern int default_af_hint;
+extern int do_timeout;
#ifdef HAVE_SIGACTION
static struct sigaction sigact;
@@ -162,6 +163,13 @@
return -1;
}
+/**
+ * connect() timeout handler based on alarm()
+ **/
+static RETSIGTYPE contimeout_handler(UNUSED(int val))
+{
+ exit_cleanup(RERR_CON_TIMEOUT);
+}
/**
* Open a socket to a tcp remote host with the specified port .
@@ -266,11 +274,23 @@
s = -1;
continue;
}
+ if ( do_timeout > 0 )
+ {
+ SIGACTION(SIGALRM, contimeout_handler);
+ alarm(do_timeout...
2002 Sep 01
2
rsync error: unexplained error
...drstaples@drstaples.com; or drstapl@empirenet.com
Sincerely,
David R. Staples
--------------------------------------------------------------------------------
Proposed new code in main.c
#typedef struct
int pid;
int status;
} pid_status;
pid_status pid_stat_table[10];
static RETSIGTYPE sigchld_handler(int val) {
#ifdef WNOHANG
int indx
int pid;
int status;
do {
pid = waitpid(-1, &status, WNOHANG);
for ( indx = 0; indx < 10; indx++ ) {
if ( pid_stat_table[indx].pid == 0 ) {...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...0644
--- a/socket.c
+++ b/socket.c
@@ -38,6 +38,8 @@ extern char *bind_address;
extern char *sockopts;
extern int default_af_hint;
extern int connect_timeout;
+extern int diffserv;
+extern char *congestion_alg;
#ifdef HAVE_SIGACTION
static struct sigaction sigact;
@@ -166,6 +168,40 @@ static RETSIGTYPE contimeout_handler(UNUSED(int val))
connect_timeout = -1;
}
+/* Set special socket options
+ *
+ * Diffserv is a value in the range of 0-63, and needs to be shifted left
+ * 2 places AND treated differently for ipv4 and ipv6.
+ * Setting TCP congestion control is rather Linux specif...
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
...tions:
BROKEN_GETGRNAM
BROKEN_NISPLUS_INCLUDE_FILES
COMPILER_SUPPORTS_LL
DEFAULT_DISPLAY_CHARSET
DEFAULT_DOS_CHARSET
DEFAULT_UNIX_CHARSET
LDAP_SET_REBIND_PROC_ARGS
PACKAGE_BUGREPORT
PACKAGE_NAME
PACKAGE_STRING
PACKAGE_TARNAME
PACKAGE_VERSION
REPLACE_GETPASS
RETSIGTYPE
SEEKDIR_RETURNS_VOID
SIZEOF_INO_T
SIZEOF_INT
SIZEOF_LONG
SIZEOF_OFF_T
SIZEOF_SHORT
SOLARIS_SENDFILE_API
STAT_STATVFS64
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SUNOS5
SYSCONF_SC_NGROUPS_MAX
SYSV
TIME_WITH_SYS_TIME
USE_SETREUID
WITH_ADS...
2005 Feb 08
0
Compiling R as a shared library
...e HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STRING_H 1
| #define HAVE_POSIX_SETJMP 1
| #define HAVE_GLIBC2 1
| #define RETSIGTYPE void
| #define HAVE_DECL_SIZE_MAX 1
| #define SOCKLEN_T socklen_t
| #define R_INLINE inline
| #define SIZEOF_INT 4
| #define INT_32_BITS 1
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_LONG_DOUBLE 16
| #define F77_FUNC(name,NAME) name ## _
| #define F77_FUNC_(name,NAME) nam...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...TH_UTMP
WITH_WINBIND
Build Options:
AIX
AIX_SENDFILE_API
BROKEN_STRNDUP
BROKEN_STRNLEN
COMPILER_SUPPORTS_LL
DEFAULT_DISPLAY_CHARSET
DEFAULT_DOS_CHARSET
DEFAULT_UNIX_CHARSET
PACKAGE_BUGREPORT
PACKAGE_NAME
PACKAGE_STRING
PACKAGE_TARNAME
PACKAGE_VERSION
REPLACE_GETPASS
RETSIGTYPE
SEEKDIR_RETURNS_VOID
SIZEOF_INT
SIZEOF_LONG
SIZEOF_SHORT
STAT_STATVFS64
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
TIME_WITH_SYS_TIME
USE_SETREUID
WITH_AIO
WITH_SENDFILE
WITH_SYSLOG
WITH_WINBIND
WORDS_BIGENDIAN
_POSIX_C_SOU...
2007 Sep 24
2
Where is the tdbsam password database file?
...DEFAULT_UNIX_CHARSET
KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT
KRB5_TICKET_HAS_KEYINFO
KRB5_VERIFY_CHECKSUM_ARGS
LDAP_SET_REBIND_PROC_ARGS
LINUX
LINUX_SENDFILE_API
PACKAGE_BUGREPORT
PACKAGE_NAME
PACKAGE_STRING
PACKAGE_TARNAME
PACKAGE_VERSION
REALPATH_TAKES_NULL
RETSIGTYPE
SEEKDIR_RETURNS_VOID
SHLIBEXT
SIZEOF_CHAR
SIZEOF_DEV_T
SIZEOF_INO_T
SIZEOF_INT
SIZEOF_LONG_LONG
SIZEOF_OFF_T
SIZEOF_SHORT
SIZEOF_SIZE_T
SIZEOF_SSIZE_T
STAT_STATVFS64
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
SYSCO...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...DEFAULT_DISPLAY_CHARSET
DEFAULT_DOS_CHARSET
DEFAULT_UNIX_CHARSET
FREEBSD
FREEBSD_SENDFILE_API
KRB5_PRINC_REALM_RETURNS_REALM
LDAP_SET_REBIND_PROC_ARGS
PACKAGE_BUGREPORT
PACKAGE_NAME
PACKAGE_STRING
PACKAGE_TARNAME
PACKAGE_VERSION
REPLACE_GETPASS
RETSIGTYPE
SEEKDIR_RETURNS_VOID
SIZEOF_INT
SIZEOF_LONG
SIZEOF_OFF_T
SIZEOF_SHORT
STAT_STATFS2_BSIZE
STAT_ST_BLOCKSIZE
STDC_HEADERS
STRING_STATIC_MODULES
SYSCONF_SC_NGROUPS_MAX
TIME_WITH_SYS_TIME
USE_SETRESUID
WITH_ADS
WITH_LDAP_SAMCONFIG
WITH_PAM...