Bug 194541 - Dot is a binary executable, not a perl script so we don't need to prefix the system call with the perl binary. There are no more system calls of perl scripts in Bugzilla, so this section can go away.

git-svn-id: svn://10.0.0.236/trunk@140529 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jake%bugzilla.org
2003-04-02 01:12:31 +00:00
parent dc77827eb0
commit e70a63941f
2 changed files with 0 additions and 76 deletions

View File

@@ -1094,44 +1094,6 @@ my $webservergid = '8'
</programlisting>
</section>
<section>
<title>System Calls</title>
<para>In order to get system calls to work on win32's perl, you need
to tell the windows shell what interpreter to use. This is done by
changing the <function>system</function> calls. You will need to
search all of Bugzilla's code for <function>system</function> calls.
To tell perl your interpreter, it needs to be the first argument to
the <function>system</function> call. For example, you'll need to
change:
</para>
<programlisting>
system("$webdotbase","-Tpng","-o","$pngfilename","$filename");
</programlisting>
<para>with</para>
<programlisting>
system("C:\\perl\\bin\\perl", "$webdotbase","-Tpng","-o","$pngfilename","$filename");
</programlisting>
<tip>
<para>The <command>grep</command> command is very helpful in finding
these <function>system</function> calls, assuming you have the
<productname class="trade">cygwin</productname> utilities.
</para>
</tip>
<note>
<para>It appears that the only <function>system</function> call
remaining in the Bugzilla codebase is in
<filename>showdependencygraph.cgi</filename>. Not changing this
file will only cause dependency graphs to not function if the
<option>webdotbase</option> paramater points to a local
installation of <ulink url="http://www.graphviz.org">GraphViz</ulink>.
</para>
</note>
</section>
</section>
<section id="win32-http">