Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ee01f
)
Changed sig_int() to use a standard signal-handler prototype.
author
Wayne Davison
<wayned@samba.org>
Thu, 2 Feb 2006 02:39:40 +0000
(
02:39
+0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 2 Feb 2006 02:39:40 +0000
(
02:39
+0000)
rsync.c
patch
|
blob
|
blame
|
history
diff --git
a/rsync.c
b/rsync.c
index
219a149
..
2387879
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-172,7
+172,7
@@
int set_file_attrs(char *fname, struct file_struct *file, STRUCT_STAT *st,
return updated;
}
-
void sig_int(void
)
+
RETSIGTYPE sig_int(UNUSED(int val)
)
{
/* KLUGE: if the user hits Ctrl-C while ssh is prompting
* for a password, then our cleanup's sending of a SIGUSR1