new upstream release - 2.5.0
This commit is contained in:
parent
40df0bc9c5
commit
89ce253543
@ -11,7 +11,7 @@ diff --git a/src/files.c b/src/files.c
|
|||||||
index f6efbf1..99cc1b8 100644
|
index f6efbf1..99cc1b8 100644
|
||||||
--- a/src/files.c
|
--- a/src/files.c
|
||||||
+++ b/src/files.c
|
+++ b/src/files.c
|
||||||
@@ -324,6 +324,24 @@ int do_lockfile(const char *filename)
|
@@ -321,6 +321,24 @@ int do_lockfile(const char *filename)
|
||||||
}
|
}
|
||||||
#endif /* !NANO_TINY */
|
#endif /* !NANO_TINY */
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ index f6efbf1..99cc1b8 100644
|
|||||||
/* If it's not "", filename is a file to open. We make a new buffer, if
|
/* If it's not "", filename is a file to open. We make a new buffer, if
|
||||||
* necessary, and then open and read the file, if applicable. */
|
* necessary, and then open and read the file, if applicable. */
|
||||||
void open_buffer(const char *filename, bool undoable)
|
void open_buffer(const char *filename, bool undoable)
|
||||||
@@ -402,11 +420,7 @@ void open_buffer(const char *filename, bool undoable)
|
@@ -399,11 +417,7 @@ void open_buffer(const char *filename, bool undoable)
|
||||||
if (rc > 0) {
|
if (rc > 0) {
|
||||||
read_file(f, rc, filename, undoable, new_buffer);
|
read_file(f, rc, filename, undoable, new_buffer);
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
@ -49,7 +49,7 @@ index f6efbf1..99cc1b8 100644
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1778,10 +1792,8 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
@@ -1758,10 +1772,8 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
||||||
* specified it interactively), stat and save the value now,
|
* specified it interactively), stat and save the value now,
|
||||||
* or else we will chase null pointers when we do modtime checks,
|
* or else we will chase null pointers when we do modtime checks,
|
||||||
* preserve file times, and so on, during backup. */
|
* preserve file times, and so on, during backup. */
|
||||||
@ -62,7 +62,7 @@ index f6efbf1..99cc1b8 100644
|
|||||||
|
|
||||||
/* We backup only if the backup toggle is set, the file isn't
|
/* We backup only if the backup toggle is set, the file isn't
|
||||||
* temporary, and the file already exists. Furthermore, if we
|
* temporary, and the file already exists. Furthermore, if we
|
||||||
@@ -2176,8 +2188,10 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
@@ -2151,8 +2163,10 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
||||||
if (openfile->current_stat == NULL)
|
if (openfile->current_stat == NULL)
|
||||||
openfile->current_stat =
|
openfile->current_stat =
|
||||||
(struct stat *)nmalloc(sizeof(struct stat));
|
(struct stat *)nmalloc(sizeof(struct stat));
|
||||||
|
@ -54,7 +54,7 @@ diff --git a/src/files.c b/src/files.c
|
|||||||
index 99cc1b8..9a1bdcc 100644
|
index 99cc1b8..9a1bdcc 100644
|
||||||
--- a/src/files.c
|
--- a/src/files.c
|
||||||
+++ b/src/files.c
|
+++ b/src/files.c
|
||||||
@@ -1701,6 +1701,29 @@ int copy_file(FILE *inn, FILE *out)
|
@@ -1681,6 +1681,29 @@ int copy_file(FILE *inn, FILE *out)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ index 99cc1b8..9a1bdcc 100644
|
|||||||
/* Write a file out to disk. If f_open isn't NULL, we assume that it is
|
/* Write a file out to disk. If f_open isn't NULL, we assume that it is
|
||||||
* a stream associated with the file, and we don't try to open it
|
* a stream associated with the file, and we don't try to open it
|
||||||
* ourselves. If tmp is TRUE, we set the umask to disallow anyone else
|
* ourselves. If tmp is TRUE, we set the umask to disallow anyone else
|
||||||
@@ -1942,18 +1965,9 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
@@ -1922,18 +1945,9 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
||||||
fprintf(stderr, "Backing up %s to %s\n", realname, backupname);
|
fprintf(stderr, "Backing up %s to %s\n", realname, backupname);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ index 99cc1b8..9a1bdcc 100644
|
|||||||
if (prompt_failed_backupwrite(backupname))
|
if (prompt_failed_backupwrite(backupname))
|
||||||
goto skip_backup;
|
goto skip_backup;
|
||||||
statusbar(_("Error writing backup file %s: %s"), backupname,
|
statusbar(_("Error writing backup file %s: %s"), backupname,
|
||||||
@@ -1965,6 +1979,16 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
@@ -1945,6 +1959,16 @@ bool write_file(const char *name, FILE *f_open, bool tmp, append_type
|
||||||
goto cleanup_and_exit;
|
goto cleanup_and_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1
|
|
||||||
|
|
||||||
iEYEABECAAYFAlZMEWcACgkQvLNW35EAn6f52QCg5WU8jiYtoRcHXSiXp0DPzfDO
|
|
||||||
lagAnAwWS8X8qgIRVkbX9YVQYsW7+BOz
|
|
||||||
=ricq
|
|
||||||
-----END PGP SIGNATURE-----
|
|
7
nano-2.5.0.tar.gz.asc
Normal file
7
nano-2.5.0.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iEYEABECAAYFAlZjyBEACgkQvLNW35EAn6c2pwCg44t3cjySFYTBxqUQWn5cG/+i
|
||||||
|
nuIAoLrOVrhe06exKsGb8S9RpvqvfUPV
|
||||||
|
=jqjB
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,11 +1,11 @@
|
|||||||
Summary: A small text editor
|
Summary: A small text editor
|
||||||
Name: nano
|
Name: nano
|
||||||
Version: 2.4.3
|
Version: 2.5.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
URL: http://www.nano-editor.org
|
URL: http://www.nano-editor.org
|
||||||
Source: http://www.nano-editor.org/dist/v2.4/%{name}-%{version}.tar.gz
|
Source: http://www.nano-editor.org/dist/v2.5/%{name}-%{version}.tar.gz
|
||||||
Source2: nanorc
|
Source2: nanorc
|
||||||
Patch0: nano-2.3.3-warnings.patch
|
Patch0: nano-2.3.3-warnings.patch
|
||||||
|
|
||||||
@ -96,6 +96,9 @@ exit 0
|
|||||||
%{_datadir}/nano
|
%{_datadir}/nano
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 06 2015 Kamil Dudka <kdudka@redhat.com> - 2.5.0-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
* Wed Nov 18 2015 Kamil Dudka <kdudka@redhat.com> - 2.4.3-1
|
* Wed Nov 18 2015 Kamil Dudka <kdudka@redhat.com> - 2.4.3-1
|
||||||
- new upstream release
|
- new upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user