+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>
* src/help.c (do_help_void) - Call the help browser with the correct
refresher for afterwards. This solves a bug reported by myself on
mypid = getpid();
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;
}
char *promptstr = (char *) nmalloc(128);
int ans;
if ((lockfd = open(lockfilename, O_RDONLY)) < 0) {
- statusbar(_("Error opening lockfile %s: %s"),
+ statusbar(_("Error opening lock file %s: %s"),
lockfilename, strerror(errno));
return -1;
}
} while (readtot < 8192 && readamt > 0);
if (readtot < 48) {
- statusbar(_("Error reading lockfile %s: Not enough data read"),
+ statusbar(_("Error reading lock file %s: Not enough data read"),
lockfilename);
return -1;
}