Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-08-26 | Include <config.h> unconditionally, since we now assume config.h exists. | Paul Eggert | |
2005-11-09 | Use /dev/full if possible for descriptor 0 -- like glibc now does. | Jim Meyering | |
Fall back on /dev/null if opening /dev/full fails. | |||
2005-09-24 | Use `#ifdef HAVE_CONFIG_H', not `#if HAVE_CONFIG_H', for consistency with ↵ | Jim Meyering | |
gnulib. | |||
2005-09-13 | tweak comment | Jim Meyering | |
2005-08-24 | (stdopen): Revert to iterating over descriptors, but | Jim Meyering | |
rather than using fstat, use fcntl with its F_GETFD flag, which is more efficient. Unlike the 2-syscall dup-close approach, this one doesn't apply any unnecessary pressure on the file descriptor pool -- thus there is one fewer way to fail. | |||
2005-08-19 | (stdopen): Return `bool' so caller can detect failure. | Jim Meyering | |
2005-06-30 | Add copyright. | Jim Meyering | |
Include <fcntl.h> and <unistd.h> unconditionally -- it seems to be ok to do this, these days. | |||
2005-06-30 | Rewritten by Paul Eggert. | Jim Meyering | |
Now, the minimum overhead is just two system calls: dup and close. | |||
2005-06-30 | New file. As yet unused. | Jim Meyering | |