aboutsummaryrefslogtreecommitdiffstats
path: root/errcode.h
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>1998-11-04 16:47:33 +0000
committerDavid Dykstra <dwd@samba.org>1998-11-04 16:47:33 +0000
commitec9df38086a5d450e206ff95d006164e4e34f51b (patch)
tree3ae8d3e8ae34114e511992c61b963d321e0159f1 /errcode.h
parent81791cfccb89cde245a335d5df223c8a668030b0 (diff)
downloadandroid_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.gz
android_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.bz2
android_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.zip
Fix confusion between RERR_NOSUPPORT and RERR_UNSUPPORTED for exit codes
that indicate a feature is not supported. Two places that are normally ifdefed out used RERR_UNSUPPORTED whereas one other place and errcode.h used RERR_NOSUPPORT. Changed them all to consistently use RERR_UNSUPPORTED. The two things that had the bad values were #ifndef SUPPORT_LINKS and #ifdef NO_INT64. The former is probably for non-Unix operating systems and the latter was at least on the default Unixware compiler.
Diffstat (limited to 'errcode.h')
-rw-r--r--errcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/errcode.h b/errcode.h
index 361a3e28..f301d309 100644
--- a/errcode.h
+++ b/errcode.h
@@ -3,7 +3,7 @@
#define RERR_SYNTAX 1 /* syntax or usage error */
#define RERR_PROTOCOL 2 /* protocol incompatibility */
#define RERR_FILESELECT 3 /* errors selecting input/output files, dirs */
-#define RERR_NOSUPPORT 4 /* requested action not supported */
+#define RERR_UNSUPPORTED 4 /* requested action not supported */
#define RERR_SOCKETIO 10 /* error in socket IO */
#define RERR_FILEIO 11 /* error in file IO */