From 0c06409c9d75d6f4560778113db834ae6e03591c Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 17 Mar 2020 16:02:38 +0000 Subject: getopt is not required to set optarg to NULL when there is no argument and some do not, so set it explicitly each time. --- arguments.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arguments.c b/arguments.c index 026272af..e2d18980 100644 --- a/arguments.c +++ b/arguments.c @@ -74,6 +74,7 @@ args_parse(const char *template, int argc, char **argv) optreset = 1; optind = 1; + optarg = NULL; while ((opt = getopt(argc, argv, template)) != -1) { if (opt < 0) @@ -83,6 +84,7 @@ args_parse(const char *template, int argc, char **argv) return (NULL); } args_set(args, opt, optarg); + optarg = NULL; } argc -= optind; argv += optind; -- cgit From af4b62d10bf798088a97494e8963f209d1c03e36 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 18 Mar 2020 07:55:33 +0000 Subject: 3.1-rc3. --- CHANGES | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 728bac60..d70167d4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ CHANGES FROM 3.0a TO 3.1 +* Turn off mouse mode 1003 as well as the rest when exiting. + * Add selection_active format for when the selection is present but not moving with the cursor. diff --git a/configure.ac b/configure.ac index 947a0a2f..78fbc8c9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # configure.ac -AC_INIT([tmux], 3.1-rc2) +AC_INIT([tmux], 3.1-rc3) AC_PREREQ([2.60]) AC_CONFIG_AUX_DIR(etc) -- cgit From e5fd85415d89ebe8b2f69c80ce6cf80fb1442fde Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 1 Apr 2020 09:29:44 +0100 Subject: Update CHANGES. --- CHANGES | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index d70167d4..62b697bc 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ CHANGES FROM 3.0a TO 3.1 +* Search using regular expressions in copy mode. search-forward and + search-backward use regular expressions by default; the incremental versions + do not. + * Turn off mouse mode 1003 as well as the rest when exiting. * Add selection_active format for when the selection is present but not moving -- cgit