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:
50dfd5b
)
Added a define for WIFEXITED() that is used if one is missing.
author
Wayne Davison
<wayned@samba.org>
Tue, 24 Oct 2006 03:31:30 +0000
(
03:31
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 24 Oct 2006 03:31:30 +0000
(
03:31
+0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
f044962
..
a366f8a
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-857,6
+857,9
@@
size_t strlcat(char *d, const char *s, size_t bufsize);
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat) ((int)(((stat)>>8)&0xFF))
#endif
+#ifndef WIFEXITED
+#define WIFEXITED(stat) ((int)((stat)&0xFF) == 0)
+#endif
#define exit_cleanup(code) _exit_cleanup(code, __FILE__, __LINE__)