Просмотр исходного кода

Disabled --command-fd, until further testing can be done.

Adam Heath лет назад: 25
Родитель
Сommit
97d41f03f6
2 измененных файлов с 8 добавлено и 1 удалено
  1. 5 1
      ChangeLog
  2. 3 0
      main/main.c

+ 5 - 1
ChangeLog

@@ -1,4 +1,8 @@
-Fri Apr 20 13:02:23 CDT 2001  Adam Heath <doogie@debian.org>
+Fri Apr 20 13:42:12 CDT 2001 Adam Heath <doogie@debian.org>
+
+  * main/main.c: Disabled --command-fd, until further testing can be done.
+
+Fri Apr 20 13:02:23 CDT 2001 Adam Heath <doogie@debian.org>
 
 
   * po/fr.po: Fix typo.
   * po/fr.po: Fix typo.
   * debian/changelog: Close additional bugs, from other already commited
   * debian/changelog: Close additional bugs, from other already commited

+ 3 - 0
main/main.c

@@ -386,7 +386,9 @@ static const struct cmdinfo cmdinfos[]= {
   ACTION( "print-installation-architecture", 0,  act_printinstarch,        printinstarch   ),
   ACTION( "print-installation-architecture", 0,  act_printinstarch,        printinstarch   ),
   ACTION( "predep-package",                  0,  act_predeppackage,        predeppackage   ),
   ACTION( "predep-package",                  0,  act_predeppackage,        predeppackage   ),
   ACTION( "compare-versions",                0,  act_cmpversions,          cmpversions     ),
   ACTION( "compare-versions",                0,  act_cmpversions,          cmpversions     ),
+/*
   ACTION( "command-fd",                   'c', act_commandfd,   commandfd     ),
   ACTION( "command-fd",                   'c', act_commandfd,   commandfd     ),
+*/
   
   
   { "status-fd",	  0,   1,  0,              0,  setstatuspipe },
   { "status-fd",	  0,   1,  0,              0,  setstatuspipe },
   { "pending",           'a',  0,  &f_pending,     0,  0,             1              },
   { "pending",           'a',  0,  &f_pending,     0,  0,             1              },
@@ -519,6 +521,7 @@ int main(int argc, const char *const *argv) {
   bindtextdomain(PACKAGE, LOCALEDIR);
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
   textdomain(PACKAGE);
 
 
+fprintf(stderr,"dpkg(adam)\n");
   if (setjmp(ejbuf)) { /* expect warning about possible clobbering of argv */
   if (setjmp(ejbuf)) { /* expect warning about possible clobbering of argv */
     error_unwind(ehflag_bombout); exit(2);
     error_unwind(ehflag_bombout); exit(2);
   }
   }