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
e3e3f655
Commit
e3e3f655
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: use an available macro to silence a compiler warning
parent
3129ff68
master
feature/match-parens
refactor/readbility
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nano.c
+3
-5
src/nano.c
with
3 additions
and
5 deletions
+3
-5
src/nano.c
View file @
e3e3f655
...
...
@@ -696,11 +696,9 @@ void die_save_file(const char *die_filename
* but don't worry if it fails because we're supposed to be bailing as
* fast as possible. */
if
(
die_stat
)
{
int
shush
;
shush
=
chmod
(
targetname
,
die_stat
->
st_mode
);
shush
=
chown
(
targetname
,
die_stat
->
st_uid
,
die_stat
->
st_gid
);
if
(
shush
)
;
IGNORE_CALL_RESULT
(
chmod
(
targetname
,
die_stat
->
st_mode
));
IGNORE_CALL_RESULT
(
chown
(
targetname
,
die_stat
->
st_uid
,
die_stat
->
st_gid
));
}
#endif
...
...
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