| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Since locale reading code not resistent against stack overflowing or
similar intruder attacks, don't allow PATH_LOCALE env variable action
for s-bit programs (non-standard locale path setting)
|
|
|
|
| |
Optimize/improve recently added locale restoration on failure
|
|
|
|
| |
don't treat empty encoding as C encoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strdup() it to prevent unsetenv() or setenv() effects. Check its length to
not allow user to overflow internal locale buffer. Move PATH_LOCALE
handling code into one place.
POSIX: make better stub for LC_MONETARY & LC_NUMERIC, now it check
locale directory existance instead of refusing all non-C non-POSIX
locales. POSIX treats empty locale env variable as unset variable
while our old code treats it as "C" locale, fix it. Implement previous locale
restoring, if locale setting fails. Old code assumes success if some
of LC_ALL subset is successed even other fails, POSIX treats it as
failure with previous locale restoring, fix it.
Remove unneccessary length checking in currentlocale()
|
|
|
|
| |
Cannidate for: 2.2
|
| |
|
|
|
|
|
| |
us to finally phase out the 8K shared version of liby in favor of the
600-byte static one, as was done years ago for libl/libfl.
|
|
|
|
|
|
|
| |
attempted to exec the components of $PATH and it usually set errno
to the wrong value.
Found by: NIST PCTS
|
|
|
|
|
|
|
|
| |
Garbage in `eacces' caused the wrong errno to be set for non-EACCES errors.
Garbage in `etxtbsy' caused a semi-random retry strategy for ETXTBSY errors.
Found by: NIST-PCTS. gcc -Wall reported the problem, but -Wall is not
enabled for libc.
|
|
|
|
| |
(lack of sleep)
|
|
|
|
|
| |
connection at the end of operation, so it not leave opened
file without a reason.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FTP error return code because
1) They return NULL, it means that ftpErrno can't be used because
it takes file pointer
2) They don't have FILE-type argument as f.e. ftpGet/ftpPut to use
it for ftpErrno instead.
For that functions I add yet one int* type argument to store
FTP error return code. It is impossible to add some global variable
for that reason, because user can have multiply FTP connections
opened at the same time.
So, interface changed, major number bumped.
Userland changes will follows.
Minor bugfixes, the code:
Forget to close file in few places, when failure occurse
Forget to NULL cached host name, multiply free is possible
|
|
|
|
|
|
| |
at the same time, so add new con_state to avoid QUIT recursion
Still should go to 2.2
|
|
|
|
|
|
|
|
| |
send QUIT to closed connection.
2) Preserve login failure code, don't overwrite it with ftp_close
code
Should go to 2.2
|
| |
|
|
|
|
|
| |
Parameters for pthread_getspecific() call changed.
pthread_keycreate() renamed to pthread_key_create().
|
| |
|
| |
|
|
|
|
| |
uthread_mattr_kind_np.c, uthread_multi_np.c, and uthread_single_np.c.
|
|
|
|
| |
Add pthread_mutexattr_default definition.
|
|
|
|
| |
specification: return parameter passing changed.
|
|
|
|
|
|
|
| |
When malloc fails. don't try to memset NULL pointer, it cause core dump
Replace malloc+memset with calloc, theoretically it can do some
optimization of zeroing process internally
Improve error diagnostic
|
| |
|
|
|
|
|
|
|
|
|
| |
dealing w/the fixit floppy.
Also added the MNT_RELOAD, MNT_WANTRDWR, MNT_ASYNC, MNT_NOATIME,
MOUNT_UNION flags. Someone might want to check my description of MNT_RELOAD.
2.2-R candidate. Not a 2.1.6-R candidate -- some current flags aren't in
2.1.5-R's version.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for NULL RPC client handles. This should hopefully fix the problems
Satoshi reported on -current.
- Add socket descriptor sanity checks to _yp_unbind().
- Fix yp_order() so that it handles the RPC_PROCUNAVAIL error gracefully.
NIS+ in YP compat mode doesn't support the YPPROC_ORDER procedure.
This is a 2.2 candidate with bells on.
|
| |
|
|
|
|
| |
2.2 candidate.
|
|
|
|
| |
I thought I had committed these, but it seems not.
|
|
|
|
|
|
| |
TTL of DNS records that it looks up for it's resolver cache.
Obtained from: Endre Balint Nagy <bne@CareNet.hu>, via squid-1.1.x source.
|
| |
|
|
|
|
| |
it has side effects elsewhere.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world
|
|
|
|
|
|
|
| |
No changes other than "instructions" for what other tools that use this
.. "interesting" .. system should name their shared libraries. This was
broken for some tools (eg: expect-5.21) even for the native tcl build (ie,
it would end up using libexpect521.so, not libexpect521.so.1.0)
|
|
|
|
|
|
|
| |
with a NULL pointer (archie)
Explain that minsize is also the smallest alignment.
Submitted by: Archie Cobbs <archie@whistle.com>
|
|
|
|
| |
one of them.
|
|
|
|
|
|
| |
it may break `make reinstall'. Use cp(1).
simplify makefile
|
|
|
|
| |
Detected by: phkmalloc :)
|
|
|
|
| |
Change standards section to reflect POSIX 1003.1-1990 conformance.
|
|
|
|
|
|
| |
Improve chances of troublefree 64bit operation. [imp]
Noticed by: Warner Losh <imp@village.org>
|
|
|
|
| |
Obtained from: OpenBSD, Thorsten Lockert <tholo@OpenBSD.ORG>
|
|
|
|
|
|
| |
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
|
|
|
|
|
|
|
| |
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
Add proper (unsigned char) casts to tolower().
Use 'char' function argument for proper sign extension
|
|
|
|
| |
Simplify collate_range_cmp for ASCII-compatible collate we have now
|
| |
|
|
|
|
|
|
| |
if something fails to compile now, you need to add #include <sys/types.h>
Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
|
|
|
|
| |
Reviewed by: bde
|