Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
1f7384eb
Commit
1f7384eb
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: appease valgrind concerning syscalls with uninitialized values
parent
95fffa99
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nano.c
+3
-3
src/nano.c
with
3 additions
and
3 deletions
+3
-3
src/nano.c
View file @
1f7384eb
...
...
@@ -1429,7 +1429,7 @@ void do_toggle_void(void)
void
disable_extended_io
(
void
)
{
#ifdef HAVE_TERMIOS_H
struct
termios
term
;
struct
termios
term
=
{
0
}
;
tcgetattr
(
0
,
&
term
);
term
.
c_lflag
&=
~
IEXTEN
;
...
...
@@ -1443,7 +1443,7 @@ void disable_extended_io(void)
void
disable_signals
(
void
)
{
#ifdef HAVE_TERMIOS_H
struct
termios
term
;
struct
termios
term
=
{
0
}
;
tcgetattr
(
0
,
&
term
);
term
.
c_lflag
&=
~
ISIG
;
...
...
@@ -1457,7 +1457,7 @@ void disable_signals(void)
void
enable_signals
(
void
)
{
#ifdef HAVE_TERMIOS_H
struct
termios
term
;
struct
termios
term
=
{
0
}
;
tcgetattr
(
0
,
&
term
);
term
.
c_lflag
|=
ISIG
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help