consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3353
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
write_file()
- Don't free backupname before displaying it in a statusbar error
message. (DLR, found by Bill Marcum)
+- rcfile.c:
+ parse_argument()
+ - Rename variable ptr_bak to ptr_save, for consistency. (DLR)
- doc/nano.1, doc/nanorc.5, doc/rnano.1, doc/nano.texi:
- Update the copyright years to include 2006. (DLR)
- Explicitly mention that all regexes should be extended regular
* arguments can contain "'s too. */
char *parse_argument(char *ptr)
{
- const char *ptr_bak = ptr;
+ const char *ptr_save = ptr;
char *last_quote = NULL;
assert(ptr != NULL);
ptr = NULL;
else
*ptr++ = '\0';
- rcfile_error(N_("Argument %s has unterminated \""), ptr_bak);
+ rcfile_error(N_("Argument %s has unterminated \""), ptr_save);
} else {
*last_quote = '\0';
ptr = last_quote + 1;