Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
347c51fa
Commit
347c51fa
authored
Apr 04, 2008
by
mbarnson%sisna.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed binmode references on Win32 documentation.
See bug 155743.
parent
1b6350a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
installation.xml
docs/en/xml/installation.xml
+0
-52
No files found.
docs/en/xml/installation.xml
View file @
347c51fa
...
...
@@ -1898,58 +1898,6 @@ system ("C:\\perl\\bin\\perl", "processmail", @ARGLIST);
</para>
</step>
<step>
<para>
Add
<function>
binmode()
</function>
calls so attachments will work (
<ulink
url=
"http://bugzilla.mozilla.org/show_bug.cgi?id=62000"
>
bug
62000
</ulink>
).
</para>
<para>
Because Microsoft Windows based systems handle binary files
different than Unix based systems, you need to add the following
lines to
<filename>
createattachment.cgi
</filename>
and
<filename>
showattachment.cgi
</filename>
before the
<function>
require 'CGI.pl';
</function>
line.
</para>
<para>
<programlisting>
<![CDATA[
binmode(STDIN);
binmode(STDOUT);
]]>
</programlisting>
</para>
<note>
<para>
According to
<ulink
url=
"http://bugzilla.mozilla.org/show_bug.cgi?id=62000"
>
bug 62000
</ulink>
, the perl documentation says that you should always use
<function>
binmode()
</function>
when dealing with binary files, but never when dealing with text
files. That seems to suggest that rather than arbitrarily putting
<function>
binmode()
</function>
at the beginning of the attachment files, there should be logic
to determine if
<function>
binmode()
</function>
is needed or not.
</para>
</note>
</step>
</procedure>
<tip>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment