Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-04-02 | fix non-gnu ansi compilers by not using 'inline' but '__inline' instead. | Anil Madhavapeddy | |
lets tendra build again. ok deraadt@, pvalchev@, millert@ | |||
2004-01-15 | If lint is defined, act like _ANSI_LIBRARY was defined. That way | Todd C. Miller | |
lint gets the prototypes it expects and doesn't get confused by the inline functions. OK deraadt@ | |||
2004-01-13 | Allow this to compile on non-gcc. OK deraadt@ art@ | Todd C. Miller | |
2003-06-10 | Remove an extraneous "& 0xff" (the cast to unsigned char is sufficient). | Todd C. Miller | |
Use "extern __inline" instead of "static __inline" since the extern flavor behaves more like a macro (which is what we want). OK deraadt@ and tested on all platforms by various folks. | |||
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. | |||
2002-12-30 | Back out __EOF stuff and just use -1 in ctype.h. This is OK since | Todd C. Miller | |
we don't want any user defines to change how the inlined ctype functions behave. | |||
2002-12-29 | Don't define EOF In ctype.h, some 3rd party code checks whether or | Todd C. Miller | |
not EOF is defined to determine if stdio.h has been included. Instead, use __EOF which should be OK wrt namespace safety. | |||
2002-12-15 | Casting to unsigned int in isfoo() causes problems on alpha and | Todd 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-14 | fix typo; noticed by David Krause | Todd C. Miller | |
2002-12-14 | Instead of doing "if (c == EOF) return 0;" use the hook ('?') operator | Todd 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-13 | Less stupid check for 7-bit ascii in toupper/tolower | Todd C. Miller | |
Remove useless check for EOF in isascii | |||
2002-12-13 | Cast to unsigned int, not unsigned char, since what is being cast is an | Todd C. Miller | |
int, not a char. | |||
2002-12-11 | Convert ctype.h macros into inline functions. This fixes the issues we | Todd 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-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
1998-04-30 | make ctype macros on char 0x82 and such work | Theo de Raadt | |
1997-09-21 | Well, as we are heading for a release people are encouraged to rebuild their | Niklas Hallqvist | |
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags. | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |