1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

15 Commits

Author SHA1 Message Date
millert
5dd668c8ea Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@ 2015-07-20 01:52:27 +00:00
millert
c2a8008657 Add prototype for stravis(). 2014-11-17 19:51:54 +00:00
djm
24f1563c48 backout VIS_HEX. guenther@ points out that the C89 \xff encoding
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-24 23:49:06 +00:00
djm
46b2c8d043 unbreak tree: add VIS_HEX and VIS_ALL flags 2010-08-23 02:07:50 +00:00
millert
987dd58529 Add VIS_GLOB to escape special characters used by shell-style globbing.
From Solar Designer based on changes in FreeBSD.  OK deraadt@
2005-08-09 19:38:31 +00:00
otto
facf863e77 implement strnunvis(3), a bounded version of strunvis(3). ok millert@ 2004-10-17 20:25:31 +00:00
avsm
89b95c1c6c add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@
2003-08-01 17:38:33 +00:00
avsm
3e87668a71 backout the __bounded__ attributes for a while; requested by deraadt@ 2003-06-26 19:34:17 +00:00
avsm
585be00bb5 Mark various standard library functions with the __bounded__ attribute.
You must have an up-to-date gcc for this!
deraadt@ ok
2003-06-26 18:35:13 +00:00
millert
e33d3bd3b8 Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.
2003-06-02 19:34:12 +00:00
millert
c72b5b24e1 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 2002-02-16 21:27:05 +00:00
millert
f56b2b2b91 Missed this in the strnvis(3) commit. 2000-11-21 00:48:49 +00:00
aaron
cd176a1967 appropiate -> appropriate 1999-05-14 20:31:56 +00:00
niklas
5ea2d675e0 Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.
1997-09-21 10:45:23 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00