[Forensics-changes] [fcrackzip] 31/93: rm debian/patches/21-bug-528219-pw-not-initialized-stdin.patch (not useful; use standard file descriptor: -)

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Wed Dec 28 03:06:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository fcrackzip.

commit 9fc7e6feeaa33a1d6e7abb12057b97aa276cd308
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Thu Dec 31 12:21:40 2009 +0200

    rm debian/patches/21-bug-528219-pw-not-initialized-stdin.patch (not useful; use standard file descriptor: -)
    
    Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
 .../21-bug-528219-pw-not-initialized-stdin.patch   | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git a/debian/patches/21-bug-528219-pw-not-initialized-stdin.patch b/debian/patches/21-bug-528219-pw-not-initialized-stdin.patch
deleted file mode 100644
index 2c1f6e0..0000000
--- a/debian/patches/21-bug-528219-pw-not-initialized-stdin.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From f718247480341b6588368f646036a9235ddeea90 Mon Sep 17 00:00:00 2001
-From: Jari Aalto <jari.aalto at cante.net>
-Date: Tue, 29 Dec 2009 16:32:50 +0200
-Subject: [PATCH] main.c: read passwords from stdin
-
-
-Signed-off-by: Jari Aalto <jari.aalto at cante.net>
----
- main.c |    6 +++---
- 1 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/main.c b/main.c
-index f632241..0d25f53 100644
---- a/main.c
-+++ b/main.c
-@@ -379,7 +379,7 @@ main (int argc, char *argv[])
-         break;
- 
-       case 'l':
--        pw[0] = 0;
-+        pw[0] = '\0';
-         switch (sscanf (optarg, "%d-%d", &min_length, &max_length))
-           {
-           default:
-@@ -521,8 +521,8 @@ main (int argc, char *argv[])
-     case m_dictionary:
-       if (!pw[0])
-         {
--          fprintf (stderr, "you have to specify a file to read passwords from using the -p switch\n");
--          exit (1);
-+	  printf("no file to read passwords from have been specified, passwords will be read from stdin\n");
-+          dict_file = stdin;
-         }
- 
-       if (!(dict_file = fopen (pw, "r")))
--- 
-1.6.5
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/fcrackzip.git



More information about the forensics-changes mailing list