Source-Changes archive

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

CVS commit: src/lib/libcurses



Module Name:    src
Committed By:   blymn
Date:           Sat Nov  9 11:16:59 UTC 2013

Modified Files:
        src/lib/libcurses: add_wch.c addbytes.c addch.c addchnstr.c
            curses_private.h

Log Message:
Rename the old __waddbytes function to _cursesi_waddbytes and add a
parameter that controls whether or not certain characters in the
string are interpreted or not (things like tab being expanded).

Make __waddbytes a wrapper for _cursesi_waddbytes that passes all
parameters and sets the flag for character interpretation for backward
compatibility.

Fix an incipient bug in _cursesi_waddbytes where garbage would have
been written to the terminal if the terminal TABSIZE was set > 8 and
character interpretation is on.

Convert all internal __waddbytes calls to use _cursesi_waddbytes, fix
the function prototypes and add a new flag that will be used later.

Fix the addchstr family functions so that they call _cursesi_waddbytes
with character interpretation off as per SUSV2.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libcurses/add_wch.c
cvs rdiff -u -r1.40 -r1.41 src/lib/libcurses/addbytes.c
cvs rdiff -u -r1.16 -r1.17 src/lib/libcurses/addch.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libcurses/addchnstr.c
cvs rdiff -u -r1.48 -r1.49 src/lib/libcurses/curses_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index