lp:nano

Created by Colin Watson on 2016-08-09 and last modified on 2020-05-26
Get this branch:
bzr branch lp:nano

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
nano
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/nano.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on alnitak and finished 3 hours ago taking 20 seconds — see the log
Import started 9 hours ago on alnitak and finished 9 hours ago taking 20 seconds — see the log
Import started 15 hours ago on alnitak and finished 15 hours ago taking 20 seconds — see the log
Import started 21 hours ago on alnitak and finished 21 hours ago taking 20 seconds — see the log
Import started on 2020-05-26 on alnitak and finished on 2020-05-26 taking 20 seconds — see the log
Import started on 2020-05-26 on alnitak and finished on 2020-05-26 taking 20 seconds — see the log
Import started on 2020-05-25 on alnitak and finished on 2020-05-25 taking 20 seconds — see the log
Import started on 2020-05-25 on alnitak and finished on 2020-05-25 taking 20 seconds — see the log
Import started on 2020-05-25 on alnitak and finished on 2020-05-25 taking 20 seconds — see the log
Import started on 2020-05-25 on alnitak and finished on 2020-05-25 taking 20 seconds — see the log

Recent revisions

8893. By Ryan Westlund 21 hours ago

syntax: go: highlight the chan keyword, and the special +build comment

This fixes https://savannah.gnu.org/bugs/?58424
Reported-by: Ryan Westlund <email address hidden>

Signed-off-by: Ryan Westlund <email address hidden>

8892. By Benno Schulenberg on 2020-05-26

files: remove two superfluous calls for shielding temp files from others

If there are still systems where mkstemp() creates world-readable
temporary files, then please holler. On current BSDs and on GNU,
I've verified that mkstemp() creates files with 0600 permissions.

8891. By Benno Schulenberg on 2020-05-26

tweaks: remove two calls of umask() by specifying permissions directly

8890. By Benno Schulenberg on 2020-05-25

tweaks: improve some comments and whitespace, and reshuffle a few lines

Also, silence a compiler warning.

8889. By Benno Schulenberg on 2020-05-25

startup: allow presetting case-sensitive search also in the tiny version

If nanorc-file support is re-enabled (--enable-tiny --enable-nanorc),
then it ought to be possible to set case sensitivity at startup.

8888. By Benno Schulenberg on 2020-05-25

tweaks: rename one of the flag symbols, to be clearer

I kept understanding 'BACKUP_FILE' as a noun instead of as an imperative.

8887. By Benno Schulenberg on 2020-05-25

files: do not append but truncate when allowing insecure backups

When deleting an existing backup file failed, we do not want to
append to this file, but want instead to overwrite it (when the
user has put 'set allow_insecure_backup' in their nanorc file).

Also, when using O_EXCL (in the normal, secure case), O_APPEND
is pointless, because the file will be created and thus empty.

This fixes https://savannah.gnu.org/bugs/?58439.

Bug existed since version 2.2.5, commit 461519cc.

8886. By Benno Schulenberg on 2020-05-24

files: ignore errors when calling chown() on a backup file

A normal user can change the group of a file (if the user is a member
of that group), but cannot change the owner of that file. So, when a
user edits a file that belongs to a different user, the call of fchown()
will fail. But there is no harm in that. Also when the user is root,
there is no harm in fchown() failing -- it will simply mean that the
backup file will remain owned by root and will not be writable by the
intended owner (when root has the normal umask of 0022).

This fixes https://savannah.gnu.org/bugs/?58383.

Bug existed since version 2.2.5, commit 86be3af7.

8885. By Benno Schulenberg on 2020-05-24

tweaks: correct a comment, and drop a redundant (because nested) #ifdef

Also, drop an unneeded case-insensivity when comparing two strings,
as all commands in a nanorc file have to be in lower case.

8884. By Benno Schulenberg on 2020-05-24

build: do not let --disable-speller exclude also the formatter code

In the past, when Speller and Linter and Formatter were all bound
to ^T (later ones taking priority), it was easier to exclude also
the formatter code when --disable-speller was used. But since the
formatter was reintroduced (in commit 34170611) and bound to its
own keystroke (M-F), this is no longer the case.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.