nano

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

commit 3f583165c4590ff94e543270b7a298e3164387fb
parent e1ebaf3821b2afdf2ab608d2f565c0011410f940
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sun,  7 Jan 2001 05:51:28 +0000

Oops, take out my debugging code


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

Diffstat:
Mfiles.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/files.c b/files.c @@ -502,7 +502,6 @@ int do_writeout(char *path, int exiting) #ifdef NANO_EXTRA static int did_cred = 0; #endif -fprintf(stderr, "answer = %s, path = %s\n", answer, path); answer = mallocstrcpy(answer, path); @@ -533,11 +532,8 @@ fprintf(stderr, "answer = %s, path = %s\n", answer, path); if (tmp != NULL) answer = mallocstrcpy(answer, tmp); - else { -fprintf(stderr, "Answer = %s\n", answer); - + else return do_writeout(answer, exiting); - } } #endif