millert
910fc384eb
Add VIS_GLOB to escape special characters used by shell-style globbing.
From Solar Designer based on changes in FreeBSD. OK deraadt@
19 years ago
espie
894a3cd7e9
activate LC_CTYPE for 8 bits locale.
Make sure tolower/toupper use the whole 8 bits.
okay deraadt@
thanks to everyone who tested
19 years ago
grange
fbe8b6b13e
Install netbt/ includes.
ok henning@
19 years ago
espie
14a721a9a3
Add a few missing functions so that wctype.h/wchar.h are more or less
uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans
crank minor.
okay millert@, jmc@.
19 years ago
espie
d0f50b55ef
zap duplicate prototype
19 years ago
millert
62151f2edd
Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@
19 years ago
henning
f26dc19c5e
don't install netns includes any longer, ports bulk build test by pval
19 years ago
espie
a428b44e26
next citrus step.
19 years ago
millert
5234066725
bye bye whiteouts
19 years ago
millert
9e06ca5a4b
Make gethostbyaddr() prototype match POSIX. This means len is now
unsigned but there is no ABI change. OK deraadt@
19 years ago
henning
2cd28b2ffd
-netccitt/
19 years ago
millert
fc526f74a1
mktemp(3) et al. go in stdlib.h, not unistd.h. While there be more
explicit about mktemp(3) in the man page.
19 years ago
espie
8d57f68af7
wchar_t is a native C++ type, gcc picks its definition from elsewhere,
so do not redefine it.
Found out by the quite picky fixinc in recent gcc.
okay millert@, kettenis@
19 years ago
espie
175c6c79dd
major abi changes:
* introduce the mbstate_t typedef.
impacts gnu libiconv, which has already been taken care of.
* Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with
an external variable __mb_cur_max (impacts libX11 and various ports).
* use mbstate in all the mb <-> wchar functions with state.
* add a stub iswctype function allowing some ports to compile.
bash and gdiff are missing wcscoll, and need to be told there's no i18n
until this is fixed.
Discussed and matthieu, otto, millert, kettenis, deraadt.
Major libc bump
19 years ago
espie
4ed4e3058c
let vfscanf be a real function. Use a weak_alias on systems where this
is feasible.
Okay millert@
There's a major libc bump coming that is going to cover this as well...
19 years ago
espie
d5049a05a4
Change internals of FILE: reuse the unget buffer field to access an
extended attribute data structure (pimpl idiom). Idea taken from citrus.
Much discussion with deraadt@, otto@, millert@...
This is the least disruptive way to extend FILE, since its size can't really
change without this being a flag day. So the size doesn't change.
Actual additions to the structure will come in separate steps, since this
change is nasty enough on its own.
Tests by otto@ and others, careful reading of code by otto@ and millert@.
This is definitely a major bump, and has been checked to not impact a
full ports build.
19 years ago
espie
18a3d3bb7c
isw* classification functions from citrus, with a `stub' implementation
for the default locale.
comments, tests, okay: kettenis@, otto@, jmc@
functions addition -> Minor bump.
There's a large bump coming in a separate commit.
19 years ago
espie
cfce6166ab
also use new libobjc on old architectures, since it builds fine with
gcc 2.95.
tests and okay miod@, marc@.
19 years ago
millert
da1224ce71
rm libcurses++
19 years ago
espie
5e8683629a
introduce some wchar functions (from citrus and an itojun@ diff)
okay deraadt@, cloder@, pvalchev@
thanks to everyone who commented on that.
19 years ago
millert
f88828f0f2
Add /bin/ksh to builtin list of OK shells.
20 years ago
deraadt
3f1febb4bc
strcasestr(3), a case-insensitive version of strstr(3). already in netbsd
and freebsd, apparently written by torek, the man we never see anymore;
submitted by jcs, but he is not around right now for the libc major crank
so i sneak it in for him
20 years ago
tedu
e548ff89cc
make the resolver stat resolv.conf and update if it changes.
useful feedback and ok deraadt@
20 years ago
millert
cab5b7c7b6
LOGIN_SETALL did not include LOGIN_SETENV as it should.
20 years ago
krw
31239d2ae1
Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone might
use it in a vararg function call that needs the type info.
Pointed out by otto@.
20 years ago
krw
1a5cb9c63f
Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointed
out by mickey@, seconded by millert@.
ok deraadt@.
20 years ago
espie
7c6b5a2ee7
provide float_t, double_t, FLT_EVAL_METHOD (dummy C99 constructs)
okay millert@
20 years ago
millert
dd19e1590f
gai_strerror() should return const char *; OK deraadt@
20 years ago
itojun
dd055c936c
remove NI_WITHSCOPEID
20 years ago
millert
0e9fb296b0
Change return value of reentrant getproto* and getserv* to match the
IBM/Digital API.
20 years ago
fgsch
75f0fbfc04
install net80211 headers; millert and deraadt ok.
20 years ago
otto
86189206cf
implement strnunvis(3), a bounded version of strunvis(3). ok millert@
20 years ago
millert
402f3b0bb4
Reentrant versions of getprotoent(3) and getservent(3). Adapted from
changes in NetBSD by Christos. OK otto@
20 years ago
kettenis
7094ff0c68
Add dl_iterate_phdr() support.
ok drahn@, millert@
20 years ago
millert
84588639d1
GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE block.
20 years ago
espie
ed5989fb23
let stdbool.h work with recent gcc, since they modified the interface,
again...
okay millert@ a while back, needed some more paranoid testing from my
part...
20 years ago
deraadt
a51e10d144
KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned
int instead of int; millert ok
20 years ago
drahn
0f5eafa1d5
add dladdr() support and add some 'standard' dlsym() support.
ok millert miod pval, grumble deraadt
20 years ago
millert
fb70473f0a
Support the "setenv" capability in login.conf ala FreeBSD. Following
FreeBSD's example, a '~' in an environment variable is replaced
with the user's homedir. A '$' is replaced by the user's login
name. Both can be escaped with a backslash to get the literal char.
OK deraadt@
20 years ago
millert
afc874115c
Define BI_FDPASS for the BSD auth fd passing changes.
20 years ago
millert
39068fdcad
Update strtonum() protor
20 years ago
henning
dff91603d5
do not install netiso header files, millert deraadt ok
20 years ago
millert
20709cb14a
passwd.conf has been deprecated since login.conf was imported.
Today it finally dies. Based on a diff from Gabriel Kihlman.
20 years ago
millert
84b4f5d4e8
POSIX says "data" is void *, not char *. Also remove extern from prototypes.
deraadt@ OK
20 years ago
millert
051f4d9789
make includes in gnu/usr.sbin/sendmail/libmilter
20 years ago
deraadt
f94c3bd71d
hsearch API/ABI u_int -> size_t -> crank majors; ok millert
20 years ago
espie
1452d17230
Cosmetic clean-up.
Simpler licence, update copyright years, trim empty lines, ISO declarations.
okay miod@
20 years ago
jfb
7a1e9128cc
Make the `filename' parameter to HASHFile() and HASHFileChunk() const
ok pedro@, millert@
20 years ago
avsm
95bbd623be
add bounds check for src pointer in bcopy(3) as well as dest pointer,
noticed by millert@
20 years ago
millert
6cd80dc0e2
According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAX
should only be 255. You would think they would be the same but you'd be
wrong.
20 years ago