nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 960a8635bcdc8c01b6e45470e5a3e76c86d62987
parent 995177f2d967c2ec68468308804c84ef0ee23850
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sat, 22 Sep 2001 05:08:12 +0000

Oops, another Mac fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Mfiles.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files.c b/files.c @@ -1148,7 +1148,7 @@ int write_file(char *name, int tmp, int append, int nonamechange) return -1; } else if (size > 0) { #ifndef NANO_SMALL - if (ISSET(DOS_FILE)) { + if (ISSET(DOS_FILE) || ISSET(MAC_FILE)) { size = write(fd, "\r", 1); lineswritten++; if (size == -1) {