diff options
author | tara%tequilarista.org <> | 2000-05-18 04:29:31 +0000 |
---|---|---|
committer | tara%tequilarista.org <> | 2000-05-18 04:29:31 +0000 |
commit | 10c004c5600e0806cf15d72c902375c158f42e87 (patch) | |
tree | d56e790af08a808b2d078dcba9707bc4ec9eff1c | |
parent | 9d750db320abff4b4c712da9e706f38ecc0807b4 (diff) | |
download | bugs-10c004c5600e0806cf15d72c902375c158f42e87.tar bugs-10c004c5600e0806cf15d72c902375c158f42e87.tar.gz bugs-10c004c5600e0806cf15d72c902375c158f42e87.tar.bz2 bugs-10c004c5600e0806cf15d72c902375c158f42e87.tar.xz bugs-10c004c5600e0806cf15d72c902375c158f42e87.zip |
Making all system calls use paramter arguments
-rwxr-xr-x | backdoor.cgi | 2 | ||||
-rwxr-xr-x | checksetup.pl | 2 | ||||
-rwxr-xr-x | createattachment.cgi | 2 | ||||
-rwxr-xr-x | doeditparams.cgi | 2 | ||||
-rwxr-xr-x | post_bug.cgi | 2 | ||||
-rwxr-xr-x | process_bug.cgi | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/backdoor.cgi b/backdoor.cgi index b4848a1bb..f46cb6759 100755 --- a/backdoor.cgi +++ b/backdoor.cgi @@ -175,4 +175,4 @@ foreach my $cc (split(/,/, $::FORM{'cc'})) { } print "Created bugzilla bug $zillaid\n"; -system("./processmail $zillaid"); +system("./processmail", $zillaid); diff --git a/checksetup.pl b/checksetup.pl index 0b76a8fdc..f283962ae 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1668,7 +1668,7 @@ if ( CountIndexes('keywords') != 3 ) { # Final checks... if ($regenerateshadow) { print "Now regenerating the shadow database for all bugs.\n"; - system("./processmail regenerate"); + system("./processmail", "regenerate"); } unlink "data/versioncache"; diff --git a/createattachment.cgi b/createattachment.cgi index fa370d710..038b63094 100755 --- a/createattachment.cgi +++ b/createattachment.cgi @@ -106,7 +106,7 @@ What kind of file is this? "Created an attachment (id=$attachid)\n$desc\n"); print "<TABLE BORDER=1><TD><H2>Attachment to bug $id created</H2>\n"; - system("./processmail $id $::COOKIE{'Bugzilla_login'}"); + system("./processmail", $id, $::COOKIE{'Bugzilla_login'}); print "<TD><A HREF=\"show_bug.cgi?id=$id\">Go Back to BUG# $id</A></TABLE>\n"; } diff --git a/doeditparams.cgi b/doeditparams.cgi index d37bb042a..cc7b66107 100755 --- a/doeditparams.cgi +++ b/doeditparams.cgi @@ -73,7 +73,7 @@ WriteParams(); unlink "data/versioncache"; print "<PRE>"; -system("./syncshadowdb -v"); +system("./syncshadowdb", "-v"); print "</PRE>"; print "OK, done.<p>\n"; diff --git a/post_bug.cgi b/post_bug.cgi index 5695e5f0c..3f933e2d2 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -229,7 +229,7 @@ foreach my $person (keys %ccids) { } print "<TABLE BORDER=1><TD><H2>Bug $id posted</H2>\n"; -system("./processmail $id $::COOKIE{'Bugzilla_login'}"); +system("./processmail", $id, $::COOKIE{'Bugzilla_login'}); print "<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n"; print "<BR><A HREF=\"createattachment.cgi?id=$id\">Attach a file to this bug</a>\n"; diff --git a/process_bug.cgi b/process_bug.cgi index 8d88ef85c..11e604087 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -512,7 +512,7 @@ SWITCH: for ($::FORM{'knob'}) { $::FORM{'comment'} .= "\n\n*** This bug has been marked as a duplicate of $num ***"; print "<TABLE BORDER=1><TD><H2>Notation added to bug $num</H2>\n"; - system("./processmail $num $::FORM{'who'}"); + system("./processmail", $num, $::FORM{'who'}); print "<TD><A HREF=\"show_bug.cgi?id=$num\">Go To BUG# $num</A></TABLE>\n"; last SWITCH; @@ -901,7 +901,7 @@ The changes made were: foreach my $k (keys(%dependencychanged)) { print "<TABLE BORDER=1><TD><H2>Checking for dependency changes on bug $k</H2>\n"; - system("./processmail $k $::FORM{'who'}"); + system("./processmail", $k, $::FORM{'who'}); print "<TD><A HREF=\"show_bug.cgi?id=$k\">Go To BUG# $k</A></TABLE>\n"; } |