summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2002-12-15Casting to unsigned int in isfoo() causes problems on alpha andTodd C. Miller
sparc64. Change cast back to unsigned char but do a bitwise AND with 0xff to avoid any sign extension weirdness and to make it impossible for us to overflow _C_ctype_. The bitwise AND is probably not needed and may be removed later if this does not trigger compiler bugs.
2002-12-14fix typo; noticed by David KrauseTodd C. Miller
2002-12-14Instead of doing "if (c == EOF) return 0;" use the hook ('?') operatorTodd C. Miller
instead to make these one-liners. Works around a compiler bug on vax that affects both the libc and inline versions identically.
2002-12-13Less stupid check for 7-bit ascii in toupper/tolowerTodd C. Miller
Remove useless check for EOF in isascii
2002-12-13Cast to unsigned int, not unsigned char, since what is being cast is anTodd C. Miller
int, not a char.
2002-12-11Convert ctype.h macros into inline functions. This fixes the issues weTodd C. Miller
currently have with the macro versions and makes the ctype.h versions 100% identical to what is in libc. Discussed with pjanzen@ and OK'd by deraadt@.
2002-12-11Make x_handy in XDR u_int, not int since there are places in theTodd C. Miller
code that assign a u_int value to x_handy. However, this means that we need to be careful checking for overflow as we can no longer subtract a value and check the result for < 0. We reorder the expression instead to avoid this problem (basic algebra). deraadt@ OK
2002-12-03Intall getopt.h in /usr/include as well.Miod Vallat
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller
getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards.
2002-12-02Add ecvt(), fcvt() and gcvt() for standard compliance and legacy code.Todd C. Miller
2002-12-02Add prototype for atoll(3). I must have forgotten to commit this bitTodd C. Miller
when I committed atoll(3).
2002-11-21add prototype for strerror_rMarco S Hyman
2002-10-30Add [gs]etres[ug]id(2) syscall to libc and use it in emulating some 4.3BSDTodd C. Miller
functions.
2002-10-25NULL is now 0L so it is the same size as a pointer.Todd C. Miller
OK mickey@ and discussed with deraadt@
2002-09-17uncommit, since it breaks macppc libc. millert and miod have now said theyTheo de Raadt
did NOT approve those for commit. why did mickey feel he was ok to go commiting a set of diffs which had not been passed around and tested by people? we don't know. mickey, have you got something to say for yourself?
2002-09-17move __syscall prototype into unistd.h (like everybody else) and avoid ↵Michael Shalayeff
private protos for it everywhere; millert@ ok
2002-09-08Revert this to art's orginal verstion, internal ld.so fields should notDale Rahn
be advertised in this header. Add a comment that this must be in sync with ld.so. Fixes gdb shared library handing. ok pvalchev@
2002-09-08no , at end of enumTheo de Raadt
2002-09-07remove , at end of enumTheo de Raadt
2002-09-03build OpenSSL without symlink trees:Markus Friedl
* manpage related things moved to src/libssl/man/Makefile * there are now 3 obj directories src/libssl/{crypto,ssl,man}/ instead of one single src/libssl/obj * instead of running Configure (with generates lots of symlinks, and opensslconf.h) this patch stores pre-computed opensslconf.h files in src/libssl/crypto/arch * requires a make includes before the library can be built * libssl and libcrypto can be build separately (e.g. cd src/libssl/ssl && make obj && make) * make depend is now supported * no more symlink trees tested by miod@ and fries@
2002-08-30put sentinel back in. Thx miod@Marc Espie
2002-08-30Put sentinel back in.Marc Espie
2002-08-06restore link_map ABI compatibility between gdb and ld.so. this comes fromPeter Valchev
what powerpc and sparc64 had as machine/link.h in 3.1 used by gdb, and will be needed by other ELF architectures to provide gdb solib support; ok drahn
2002-08-02Change value of LOGIN_DEFSTYLE from "krb4-or-pwd" to just "passwd".Todd C. Miller
If there is no login.conf or it is corrupt we don't want to make any assumptions about kerberos. By request of deraadt@
2002-06-29Replace strtou?q() with the more standard strtou?ll(), using weakTodd C. Miller
aliases to fake up strtou?q(). espie@ OK.
2002-06-28define RPP_STDIN; missed in previous commitTodd C. Miller
2002-06-19Updates from lite2 via NetBSD; fixes license.Todd C. Miller
2002-06-16install headers from libevent; ok miod@Christian Weisgerber
2002-06-10back-out header change for now.Marc Espie
2002-06-10put back in the assert changes for ISO C 99 (put __func__ in it)Marc Espie
2002-06-09backout previousJun-ichiro itojun Hagino
2002-06-09pax -s <regex> is botched, don't use it.Jun-ichiro itojun Hagino
2002-06-08Add a flag - KVM_NO_FILES which tells kvm_openfiles to notArtur Grabowski
open any files, just return an kvm handle that we can use to some of the functions.
2002-06-07Switch powerpc to using new split (aout/elf) link.hDale Rahn
2002-06-07Backout previous change. Since it requires people to upgrade gcc, we wantMiod Vallat
to give them a larger timeslot to do that. Requested by deraadt@ and various people on icb or vocally.
2002-06-07split link.h into three parts. The MI parts are left in link.hArtur Grabowski
a.out stuff in link_aout.h and ELF stuff in link_elf.h. Switch sparc64 back to MI link.h. drahn@ ok (powerpc will switch soon).
2002-06-05Don't use MI dlfcn.h that are identical to the MD one.Artur Grabowski
2002-06-05Use attribute((sentinel)) on functions where it makes sense.Marc Espie
(this will warn if they are used without a terminating NULL pointer. Note *pointer*, very useful for arches where 0 != (void *)0, in size) okay millert@
2002-06-03compatiblity -> compatibilityTheo de Raadt
decriptor -> descriptor authentciated -> authenticated transmition -> transmission
2002-06-02withough -> withoutTheo de Raadt
2002-06-02no argh. we should doc these targets betterTheo de Raadt
2002-06-02put libssl in PRDIRS instead; andre@ae-35.comTheo de Raadt
2002-06-01we do not need this to be Makefile.bsd-wrapperTheo de Raadt
2002-05-31do not declare int32_t and such locally. pull sys/types.h.Jun-ichiro itojun Hagino
2002-05-16Change S/Key stuff from using a flat file (/etc/skeykeys) to a directoryTodd C. Miller
where each user gets their own file, which is owned by that user. An old S/Key database may be converted by running "skeyinit -C" as root. Programs that need to access the S/Key database no longer need to be setuid root. They must now be setgid auth instead.
2002-05-08includes should be installed during `make include', not later.Marc Espie
Fixes this for lex and binutils' bfd. Also, do not install ansidecl.h, we don't really need it, bfd.h uses it, and we installed it so that bfd worked, so let bfd.h include it directly. prompted by mickey@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-22Fix 2 things that should be gid_t. One from Oleg Safiullin, one from me...Todd C. Miller
2002-04-19avoid cranking libc minors for another few weeksTheo de Raadt
2002-04-17Use __func__ in assert.Marc Espie
ok millert@