* global.c (shortcut_init) - Don't actually free the shortcut
list, since the next pass via justifying will then remove
all custom shortcuts. Fixed bug discovered by Benno Schulenberg.
* text.c (do_linter) - Remove some unused variables to quiet
-pedanic -Wall.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4637
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
+2014-03-01 Chris Allegretta <chrisa@asty.org>
+ * global.c (shortcut_init) - Don't actually free the shortcut
+ list, since the next pass via justifying will then remove
+ all custom shortcuts. Fixed bug discovered by Benno Schulenberg.
+ * text.c (do_linter) - Remove some unused variables to quiet
+ -pedanic -Wall.
+
2014-03-03 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (add_to_funcs) - Add a newline, for clarity.
* src/global.c (shortcut_init) - Mark, don't translate yet.
currmenu = MMAIN;
- while (sclist != NULL) {
- sc *s = sclist;
- sclist = (s)->next;
- free(s);
- }
-
add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER,
"^G", do_help_void, 0, TRUE);
add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER,
char *read_buff, *read_buff_ptr, *read_buff_word, *ptr;
size_t pipe_buff_size, read_buff_size, read_buff_read, bytesread;
size_t parsesuccess = 0;
- int lint_fd[2], tempfile_fd = -1;
+ int lint_fd[2];
pid_t pid_lint;
int lint_status;
static int arglen = 3;
static char **lintargs = NULL;
- FILE *temp_file;
char *lintcopy;
char *convendptr = NULL;
const sc *s;
ssize_t tmpcol = 1;
int kbinput;
bool meta_key, func_key;
- struct stat lintfileinfo;
if (curlint->colno > 0)
tmpcol = curlint->colno;