[Top][All Lists]

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

[Nano-devel] yet another minor patch update

From: David Lawrence Ramsey
Subject: [Nano-devel] yet another minor patch update
Date: Mon, 20 May 2002 10:28:09 -0700 (PDT)


* changed the signed char and signed char casting in
read_file() back to char; rationale: the char input is no
longer tested to see whether it is less than or equal to
zero, thus avoiding the previous warning, and iscntrl() and
the other ctype.h macros, according to the manpage, work on
unsigned chars (and apparently cast signed chars to unsigned

* made the #include lines more consistent in terms of file
inclusion order

* for consistency, fixed a few last instances where a char
was being assigned the int value of zero instead of the char
value of zero (i. e. NULL)

* removed clear_filename(), and reworked main() so that it
doesn't need clear_filename() anymore (it was only called in
two places in main(), and there was a bit of redundant code
in it; the filename is now cleared in the same manner as in
new_file() just before the command line arguments are

Sluggy.Net: The Sluggy Freelance Community!

Promote your group and strengthen ties to your members with address@hidden by

Attachment: nanomisc2.patch.bz2
Description: Binary data

reply via email to

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