Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-01-20 | comment changed to look in libpthread, not libc_r | Marco S Hyman | |
2003-01-19 | programs that chroot must use LOG_NDELAY; deraadt@ OK | Todd C. Miller | |
2003-01-18 | inet6 fixes from jmc@prioris.mini.pw.edu.pl | Theo de Raadt | |
2003-01-16 | Waiter! I asked for a working vfork! | Miod Vallat | |
2003-01-16 | Alignment requirements are satisfied in ENTRY(), no need to add more here. | Miod Vallat | |
2003-01-15 | minbrk is exposed, gmon uses it | Michael Shalayeff | |
2003-01-14 | Add sanity check to prevent int oflow for very large allocations. | Todd C. Miller | |
Also fix a signed vs. unsigned issue while I am at it. Found by Jim Geovedi. OK deraadt@ | |||
2003-01-08 | Move the rounds into separate functions on sparc64 so gcc's optimizer | Todd C. Miller | |
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK | |||
2003-01-07 | Better have an OpenBSD static rcsid rather than a NetBSD static rcsid for | Miod Vallat | |
this file... | |||
2003-01-07 | Get static rcsid correctly, better style for .S files, trim whitespace. | Miod Vallat | |
2003-01-07 | Properly align __infinity - m88k is very strict wrt double alignment. | Miod Vallat | |
Fixes - oh what a surprise - bus errors in awk. | |||
2003-01-07 | Get the rounding modes table correct, eventually. | Miod Vallat | |
2003-01-07 | One more pass to get thinks correct wrt weak symbols and syscalls. | Miod Vallat | |
2003-01-07 | Updated from tzcode2002d (ftp://elsie.nci.nih.gov/pub/) | Todd C. Miller | |
2003-01-05 | spelling | Theo de Raadt | |
2003-01-04 | spelling | Theo de Raadt | |
2003-01-04 | Fix *longjmp() return values. | Miod Vallat | |
2003-01-02 | Adapt to recent changes in libc/libc_r wrt weak symbols, so that programs | Miod Vallat | |
can link against libc without unresolved symbols again. Anyone who correctly guessed that my m88k hard drive has been recovered, wins a strawberry lollipop. | |||
2003-01-02 | Rename cerror to __cerror and curbrk to __curbrk, to avoid namespace | Miod Vallat | |
pollution. Conforming to art@'s evil plans. | |||
2003-01-02 | Begone. | Miod Vallat | |
2003-01-02 | Handle things like "%%m" correctly; closes PR 3057 | Todd C. Miller | |
OK miod@ | |||
2003-01-02 | Typos | Miod Vallat | |
2002-12-31 | Catch EISDIR in execvp() and friends so that if a directory appears | Todd C. Miller | |
in PATH that matches the name to be executed we skip it; Andy Isaacson | |||
2002-12-23 | Unbreak for bigendian, identical diff as Theo's. | Dale Rahn | |
2002-12-23 | o Ansi function headers | Todd C. Miller | |
o Add __BEGIN_DECLS/__END_DECLS to include files o Safe macros o Remove useless variable assignment in the End function of *hl.c o Some minor KNF, needs more From Dan Weeks | |||
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
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-15 | more writeable -> writable by torh | Henning Brauer | |
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-12-11 | Make x_handy in XDR u_int, not int since there are places in the | Todd 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-10 | use proper __findenv() prototype; millert@ ok | Michael Shalayeff | |
2002-12-10 | Document BSD behavior of accepting '-' within optstring as long as | Todd C. Miller | |
it is not the fist character of optstring (since that would conflict with GNU semantics). Update the bit on "W;" within optstring when called as getopt (not getopt_long) to current reality. | |||
2002-12-10 | When doing permutation, only treat "-" as an option if it was specified | Todd C. Miller | |
in optstring. Problem noticed by Theo. | |||
2002-12-10 | bug fix | Hiroaki Etoh | |
2002-12-08 | Fix pasto, spotted by lebel@ | Todd C. Miller | |
2002-12-08 | In BUGS section, append a warning to not use '-' as the first character | Todd C. Miller | |
of optstring to avoid a semantic conflict with GNU getopt. | |||
2002-12-08 | SUS (and apparently 1003.1-2001) say to check optstring for NULL | Todd C. Miller | |
2002-12-08 | If we are passed "-" in argv and the user didn't specify '-' in optstring, | Todd C. Miller | |
return -1 like POSIX requires. | |||
2002-12-08 | BSD getopt() supports '-' in the optstring so we should too. | Todd C. Miller | |
This is used by a few programs such as man and su. | |||
2002-12-07 | Fix pasto in last commit. | Todd C. Miller | |
2002-12-07 | For getopt_long_only() we *do* want to match single-character options | Todd C. Miller | |
as shortcuts for long ones, but only if this would not conflict with a short option in optstring. Now binutils gas works. | |||
2002-12-06 | In srandomdev(), if we can't access /dev/arandom, use the sysctl() instead. | Todd C. Miller | |
We don't want to use the sysctl() by default since we are reading more than just a few bytes of entropy when setting up the state. | |||
2002-12-06 | Fix two compatibility issues with our getopt_long_only() vs. the GNU version: | Todd C. Miller | |
o Check for long options even when not at the beginning of an option. For instance, if -a is a short option w/o an arg and -static is a boolean long option then -astatic is valid for getopt_long_only(). o If a potential long argument does not match longopts and the first character is not a short option, print a warning and skip the rest of the argument. Also clean up some trailing whitespace and change return value of parse_long_options() from -2 to -1 when unmatched and in long_only mode. With these fixes the binutils ld seems happy with our getopt_long_only() | |||
2002-12-05 | Correctly handle -Wlong_arg (no space between -W and long_arg) when "W;" | Todd C. Miller | |
is in optstring. | |||
2002-12-05 | Reorganize this so that getopt_only_only() works correctly. | Todd C. Miller | |
In order for getopt_only_only() to work we need to check for long options before short ones. I have merged getopt_internal and getopt_long_internal into a single function with the actual long args parsing broken out into a separate function. This also simplifies the flow of control. | |||
2002-12-05 | make getopt_long and getopt_long_only protos match getopt.h | Todd C. Miller | |
2002-12-04 | Add "RETURN VALUES" sections | Todd C. Miller | |