Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-13 | Fix handling of VIS_ALL: in vis(), actually encode all characters | Philip Guenthe | |
as requested and give a correct estimate when they don't all fit, and in unvis() decode them instead of erroring ok nicm@, deraadt@ | |||
2010-08-24 | backout VIS_HEX. guenther@ points out that the C89 \xff encoding | Damien Miller | |
idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains. | |||
2010-08-21 | Two new flags: VIS_ALL - encode all characters, not just invisible ones | Damien Miller | |
and VIS_HEX - use C89 \xff style hexadecimal encoding. Teach unvis(3) how to deal with the hex encoding. feedback and ok millert@ chl@ | |||
2005-09-01 | repair VIS_GLOB; deraadt@ otto@ OK | Todd C. Miller | |
2005-08-29 | Remove spurious call to isgraph() that sneaked in in rev 1.16. | Otto Moerbeek | |
ok millert@ deraadt@ | |||
2005-08-28 | Fix the VIS_GLOB checks added in rev 1.16 | Todd C. Miller | |
Add missing casts to u_char so 0xff is treated the same on machines with signed and unsigned chars. OK deraadt@ espie@ | |||
2005-08-09 | Add VIS_GLOB to escape special characters used by shell-style globbing. | Todd C. Miller | |
From Solar Designer based on changes in FreeBSD. OK deraadt@ | |||
2005-08-08 | zap remaining rcsid. | Marc Espie | |
Kill old files that are no longer compiled. okay theo | |||
2005-03-25 | deregister (and deauto!). ok millert@ marco@ | Otto Moerbeek | |
2004-05-18 | ansify function definitions and zap some `register' | Jean-Francois Brousseau | |
ok millert@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-14 | sync vis() behaviour when VIS_SAFE to man page: don't do anything if isgraph() | Paul Janzen | |
is true, even if the character isn't 7-bit. | |||
2002-07-01 | need string.h | Theo de Raadt | |
2002-07-01 | Fix strnvis(): don't truncate unnecessarily, set the return value correctly | Paul Janzen | |
if we had to truncate, and don't NUL-terminate if size == 0. | |||
2002-02-19 | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | Todd C. Miller | |
2001-08-13 | Explicitly NUL terminate dst in strvis() and strvisx() in case | Todd C. Miller | |
we are passes an empty string. vis() and strnvis() were already OK. Based on patch by wilfried@openbsd.org | |||
2000-11-21 | Add strnvis(3) -- a length-bounded version of strvis(3) with a return | Todd C. Miller | |
value similar to snprintf(3) and strlcpy(3). | |||
2000-07-19 | off-by-one calculation error; getcwd() would return NULL if the buffer was | Theo de Raadt | |
the needed length + terminating byte + 1; that 1 is not needed; assar | |||
1997-07-25 | #if __STDC__ --> #ifdef __STDC__ | Michael Shalayeff | |
1997-07-09 | Clean up some -Wall complaints. | Todd C. Miller | |
1996-08-19 | Fix RCS ids | Thorsten Lockert | |
Make sure everything uses {SYS,}LIBC_SCCS properly | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |