Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Sylvain Joubert
KWSys
Commits
ec80cf5e
Commit
ec80cf5e
authored
19 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Removing previous debug code.
parent
353e9f04
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ProcessUNIX.c
+0
-9
0 additions, 9 deletions
ProcessUNIX.c
testProcess.c
+0
-6
0 additions, 6 deletions
testProcess.c
with
0 additions
and
15 deletions
ProcessUNIX.c
+
0
−
9
View file @
ec80cf5e
...
...
@@ -895,15 +895,6 @@ int kwsysProcess_WaitForData(kwsysProcess* cp, char** data, int* length,
break
;
}
#if defined(__FreeBSD__)
if
(
timeout
&&
getenv
(
"TEST_PROCESS_4"
))
{
fprintf
(
stderr
,
"select with timeout %ld %ld
\n
"
,
timeout
->
tv_sec
,
timeout
->
tv_usec
);
fflush
(
stderr
);
}
#endif
/* Run select to block until data are available. Repeat call
until it is not interrupted. */
while
(((
numReady
=
select
(
max
+
1
,
&
cp
->
PipeSet
,
0
,
0
,
timeout
))
<
0
)
&&
...
...
This diff is collapsed.
Click to expand it.
testProcess.c
+
0
−
6
View file @
ec80cf5e
...
...
@@ -325,12 +325,6 @@ int main(int argc, const char* argv[])
fprintf
(
stderr
,
"Output on stderr before test %d.
\n
"
,
n
);
fflush
(
stdout
);
fflush
(
stderr
);
#if defined(__FreeBSD__)
if
(
n
==
4
)
{
putenv
(
"TEST_PROCESS_4=1"
);
}
#endif
r
=
runChild
(
cmd
,
states
[
n
-
1
],
exceptions
[
n
-
1
],
values
[
n
-
1
],
0
,
outputs
[
n
-
1
],
delays
[
n
-
1
],
timeouts
[
n
-
1
]);
fprintf
(
stdout
,
"Output on stdout after test %d.
\n
"
,
n
);
...
...
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