summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@fedoraproject.org>2007-05-24 15:41:11 +0000
committerNalin Dahyabhai <nalin@fedoraproject.org>2007-05-24 15:41:11 +0000
commit40bfa86a85f6cd3a0eba03942510e8fda8e225fe (patch)
tree6aab9e4b83cc12d302dfea6206293a736921d688
parent3f30bc2d6d120a7a0f69012b9fd2cab1d2ebd35f (diff)
- patch from svn to fix debug spew in ftp
-rw-r--r--krb5-1.6.1-ftp-nospew.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/krb5-1.6.1-ftp-nospew.patch b/krb5-1.6.1-ftp-nospew.patch
new file mode 100644
index 0000000..f72f0ec
--- /dev/null
+++ b/krb5-1.6.1-ftp-nospew.patch
@@ -0,0 +1,50 @@
+diff -uNr krb5-1-6-1-final/src/appl/gssftp/ftp/cmds.c krb5-1-6/src/appl/gssftp/ftp/cmds.c
+--- krb5-1-6-1-final/src/appl/gssftp/ftp/cmds.c 2007-05-24 11:19:27.000000000 -0400
++++ krb5-1-6/src/appl/gssftp/ftp/cmds.c 2007-05-24 11:17:37.000000000 -0400
+@@ -168,9 +168,7 @@
+ }
+ port = htons(iport);
+ }
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ host = hookup(argv[1], port);
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ if (host) {
+ int overbose;
+
+@@ -185,28 +183,20 @@
+ mode = MODE_S;
+ stru = STRU_F;
+ (void) strcpy(bytename, "8"), bytesize = 8;
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ if (autoauth) {
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ if (do_auth() && autoencrypt) {
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ clevel = PROT_P;
+ setpbsz(1<<20);
+ if (command("PROT P") == COMPLETE)
+ dlevel = PROT_P;
+ else
+ fprintf(stderr, "ftp: couldn't enable encryption\n");
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ }
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ if(auth_type && clevel == PROT_C)
+ clevel = PROT_S;
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ if(autologin)
+ (void) login(argv[1]);
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ }
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+
+ #ifndef unix
+ /* sigh */
+@@ -221,7 +211,6 @@
+ * this ifdef is to keep someone form "porting" this to an incompatible
+ * system and not checking this out. This way they have to think about it.
+ */
+-printf("%s: at line %d\n", __FILE__, __LINE__);
+ overbose = verbose;
+ if (debug == 0)
+ verbose = -1;