Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
b6a4caee
Commit
b6a4caee
authored
Jan 23, 2006
by
Niels Möller
Browse files
FIXME:-comment about O_TRUNC.
Rev: src/client.c:1.168
parent
5583a41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client.c
View file @
b6a4caee
...
...
@@ -1018,6 +1018,7 @@ make_client_session(struct client_options *options)
debug
(
"lsh.c: Setting up stdout
\n
"
);
if
(
options
->
stdout_file
)
/* FIXME: Use O_TRUNC too? */
out
=
open
(
options
->
stdout_file
,
O_WRONLY
|
O_CREAT
,
0666
);
else
{
...
...
@@ -1034,6 +1035,7 @@ make_client_session(struct client_options *options)
debug
(
"lsh.c: Setting up stderr
\n
"
);
if
(
options
->
stderr_file
)
/* FIXME: Use O_TRUNC too? */
err
=
open
(
options
->
stderr_file
,
O_WRONLY
|
O_CREAT
,
0666
);
else
{
...
...
Write
Preview
Supports
Markdown
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