diff options
Diffstat (limited to 'security/nmap/files/patch-ac')
-rw-r--r-- | security/nmap/files/patch-ac | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/security/nmap/files/patch-ac b/security/nmap/files/patch-ac index df3c849ceb82..c2048950beec 100644 --- a/security/nmap/files/patch-ac +++ b/security/nmap/files/patch-ac @@ -1,21 +1,20 @@ ---- nmapfe/nmapfe_sig.c.orig Fri May 7 04:51:52 1999 -+++ nmapfe/nmapfe_sig.c Fri Jul 23 11:09:45 1999 -@@ -171,7 +171,7 @@ +--- nmapfe/nmapfe_sig.c.orig Thu Jan 27 23:46:47 2000 ++++ nmapfe/nmapfe_sig.c Fri Jan 28 01:59:47 2000 +@@ -164,7 +164,7 @@ on_Get_Nmap_Version_activate (GtkMenuItem *menuitem, gpointer user_data) { -- execute("nmap -V"); -+ execute( NMAP_PATH "nmap -V"); +- execute("nmap -V"); ++ execute( NMAP_PATH "nmap -V"); } -@@ -296,7 +296,8 @@ - if (size > command_size) - command = realloc(command, size); +@@ -468,7 +468,7 @@ + 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 */ +- strcpy(command, "nmap "); ++ strcpy(command, NMAP_PATH "nmap "); + /*Uhm... yeah.. Spit out which scan to perform based + on the which_scan variable */ |