chiark / gitweb /
Make --deep option actually work (oops).
authorian <ian>
Sun, 30 Aug 1998 19:10:04 +0000 (19:10 +0000)
committerian <ian>
Sun, 30 Aug 1998 19:10:04 +0000 (19:10 +0000)
authbind.c
debian/changelog

index 028ccbffc40409d4d620aa82561173a7346b9db7..50d735eb837e3f164ec4e8869e18d4b66446eed3 100644 (file)
@@ -57,7 +57,7 @@ int main(int argc, char *const *argv) {
   while (argc>1 && argv[1][0]=='-') {
     argc--; argv++;
     if (!argv[0][1]) break;
-    if (!strcmp("--deep",argv[0])) { depth= -1; }
+    if (!strcmp("--deep",argv[0])) { depth= 0; }
     else if (!strcmp("--depth",argv[0])) {
       if (argc<=1) usageerror("--depth requires a value");
       argc--; argv++;
@@ -90,7 +90,7 @@ int main(int argc, char *const *argv) {
   if (depth > 1) {
     sprintf(buf,"%ld",depth-1);
     mustsetenv(AUTHBIND_LEVELS_VAR,buf);
-  } else if (depth == -1) {
+  } else if (depth == 0) {
     mustsetenv(AUTHBIND_LEVELS_VAR,"y");
   } else {
     assert(depth==1);
index 71afdca2872c503f386317e55a750f88496ff751..828f79ab3293f9061c3572db0e12b9d6283656d5 100644 (file)
@@ -1,3 +1,9 @@
+authbind (1.1.2) unstable; urgency=low
+
+  * Make --deep option actually work (oops).
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Sun, 30 Aug 1998 20:09:39 +0100
+
 authbind (1.1.1) unstable; urgency=low
 
   * Fix Description.