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
9e6e1ebe
Commit
9e6e1ebe
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: remove a disabled warning, and adjust a translator hint
parent
d365ca80
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/files.c
+3
-6
src/files.c
with
3 additions
and
6 deletions
+3
-6
src/files.c
View file @
9e6e1ebe
...
...
@@ -146,13 +146,9 @@ void set_modified(void)
if
(
!
ISSET
(
LOCKING
)
||
openfile
->
filename
[
0
]
==
'\0'
)
return
;
if
(
openfile
->
lock_filename
==
NULL
)
{
/* TRANSLATORS: Keep the next ten messages at most 76 characters. */
// statusline(ALERT, _("Warning: Modifying a file which is not locked,"
// " check directory permission?"));
;
}
else
{
if
(
openfile
->
lock_filename
!=
NULL
)
{
char
*
fullname
=
get_full_path
(
openfile
->
filename
);
write_lockfile
(
openfile
->
lock_filename
,
fullname
,
TRUE
);
free
(
fullname
);
}
...
...
@@ -188,6 +184,7 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
/* First run things that might fail before blowing away the old state. */
if
((
mypwuid
=
getpwuid
(
myuid
))
==
NULL
)
{
/* TRANSLATORS: Keep the next eight messages at most 76 characters. */
statusline
(
MILD
,
_
(
"Couldn't determine my identity for lock file "
"(getpwuid() failed)"
));
goto
free_the_data
;
...
...
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