diff options
Diffstat (limited to 'security/zenmap/files/patch-ac')
-rw-r--r-- | security/zenmap/files/patch-ac | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/security/zenmap/files/patch-ac b/security/zenmap/files/patch-ac deleted file mode 100644 index 855630c4c89d..000000000000 --- a/security/zenmap/files/patch-ac +++ /dev/null @@ -1,30 +0,0 @@ ---- gladesig.c.orig Mon Aug 30 11:27:21 1999 -+++ gladesig.c Sun Apr 1 22:31:42 2001 -@@ -163,7 +163,7 @@ - on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, - gpointer user_data) - { -- execute("nmap -V"); -+ execute( NMAP_PATH "nmap -V"); - } - - -@@ -467,7 +467,8 @@ - if (size > command_size) - command = realloc(command, size); - -- strcpy(command, "nmap "); -+ strcpy(command, NMAP_PATH); -+ strcat(command, "nmap "); - /*Uhm... yeah.. Spit out which scan to perform based - on the which_scan variable */ - -@@ -487,7 +488,7 @@ - strncat(command, " -sR ", 5); - - if (GTK_TOGGLE_BUTTON(MW->fast_check)->active) -- strncat(command, " -F ", 3); -+ strncat(command, " -F ", 4); - - if (GTK_TOGGLE_BUTTON(MW->range_check)->active) { - val = gtk_entry_get_text(GTK_ENTRY(MW->range_text)); |