Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
b125e8e2
Commit
b125e8e2
authored
22 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
set binary mode for some file handling and it might work better on some
cygwin installations (using DOS-style files somehow?)
parent
b28b616e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/getpart.pm
+1
-0
1 addition, 0 deletions
tests/getpart.pm
tests/runtests.pl
+2
-1
2 additions, 1 deletion
tests/runtests.pl
with
3 additions
and
1 deletion
tests/getpart.pm
+
1
−
0
View file @
b125e8e2
...
...
@@ -95,6 +95,7 @@ sub loadtest {
undef
@xml
;
open
(
XML
,
"
<
$file
")
||
return
1
;
# failure!
binmode
XML
;
# for crapage systems, use binary
while
(
<
XML
>
)
{
push
@xml
,
$_
;
}
...
...
This diff is collapsed.
Click to expand it.
tests/runtests.pl
+
2
−
1
View file @
b125e8e2
...
...
@@ -637,7 +637,8 @@ sub singletest {
subVariables
\
$fileContent
;
# print "DEBUG: writing file " . $filename . "\n";
open
OUTFILE
,
"
>
$filename
";
print
OUTFILE
$fileContent
;
binmode
OUTFILE
;
# for crapage systems, use binary
print
OUTFILE
$fileContent
;
close
OUTFILE
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment