Fix a typo and two inconsistent spellings in three statusbar messages.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4604 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
4ab142c0aa
commit
ae092b90d8
|
@ -1,3 +1,8 @@
|
||||||
|
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
||||||
|
* src/files.c (write_lockfile, do_lockfile) - Fix a typo reported
|
||||||
|
by Jean-Philippe Guérard and inconsistent spelling of "lock file"
|
||||||
|
reported by myself on nano-devel in March 2013.
|
||||||
|
|
||||||
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
2014-02-25 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/help.c (do_help_void) - Call the help browser with the correct
|
* src/help.c (do_help_void) - Call the help browser with the correct
|
||||||
refresher for afterwards. This solves a bug reported by myself on
|
refresher for afterwards. This solves a bug reported by myself on
|
||||||
|
|
|
@ -140,7 +140,7 @@ int write_lockfile(const char *lockfilename, const char *origfilename, bool modi
|
||||||
mypid = getpid();
|
mypid = getpid();
|
||||||
|
|
||||||
if (gethostname(myhostname, 31) < 0) {
|
if (gethostname(myhostname, 31) < 0) {
|
||||||
statusbar(_("Couldn't determine hosttname for lock file: %s"), strerror(errno));
|
statusbar(_("Couldn't determine hostname for lock file: %s"), strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ int do_lockfile(const char *filename)
|
||||||
char *promptstr = (char *) nmalloc(128);
|
char *promptstr = (char *) nmalloc(128);
|
||||||
int ans;
|
int ans;
|
||||||
if ((lockfd = open(lockfilename, O_RDONLY)) < 0) {
|
if ((lockfd = open(lockfilename, O_RDONLY)) < 0) {
|
||||||
statusbar(_("Error opening lockfile %s: %s"),
|
statusbar(_("Error opening lock file %s: %s"),
|
||||||
lockfilename, strerror(errno));
|
lockfilename, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -278,7 +278,7 @@ int do_lockfile(const char *filename)
|
||||||
} while (readtot < 8192 && readamt > 0);
|
} while (readtot < 8192 && readamt > 0);
|
||||||
|
|
||||||
if (readtot < 48) {
|
if (readtot < 48) {
|
||||||
statusbar(_("Error reading lockfile %s: Not enough data read"),
|
statusbar(_("Error reading lock file %s: Not enough data read"),
|
||||||
lockfilename);
|
lockfilename);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue