nano

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

commit 60c65424c38833ac533c5eba6798e72194f9fd9b
parent 90d307413b4496ba792f3dac4698e04cad6f2c53
Author: Chris Allegretta <chrisa@asty.org>
Date:   Tue,  3 Apr 2001 14:26:35 +0000

Oops, stray parenthesis when PATH_MAX isn't defined


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

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

diff --git a/files.c b/files.c @@ -1368,7 +1368,7 @@ char *do_browse_from(char *inpath) #ifdef PATH_MAX char *from = getcwd(NULL, PATH_MAX+1); #else - char *from = getcwd(NULL, 0)); + char *from = getcwd(NULL, 0); #endif /* PATH_MAX */ return do_browser(from ? from : "./"); }