nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] 1.1.7 issues


From: David Lawrence Ramsey
Subject: Re: [Nano-devel] 1.1.7 issues
Date: Wed, 6 Mar 2002 05:56:57 -0800 (PST)

--- Jordi Mallach <address@hidden> wrote:
>Hi guys,
>
>- there's an unused variable in NANO_TINY, in nano.c. The
"t" variable
>  should be ifndef'd NANO_TINY.
>- in util.c, there's a compile error for NANO_TINY as well:
>  utils.o: In function `strstrwrapper':
>  utils.o(.text+0xad): undefined reference to `stristr'
>  It's line 157.
>
>Jordi

There's also a mistake in check_writable_directory() in
files.c, which Steven Kneizys stumbled across (and which of
course doesn't affect the tiny version of nano, but which is
still a problem):

    /* otherwise, stat() the full path to see if it's writable by the
       user; set writable to 1 if it is, or 0 if it isn't */
    stat(path, &fileinfo);
         ^^^^

That should be "full_path" instead of "path".


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!

_____________________________________________________________
You deserve a better email address! Get personalized email @yourname
or @yourcompany from Everyone.net --> http://www.everyone.net?tag



reply via email to

[Prev in Thread] Current Thread [Next in Thread]