| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
and return (const Char *) pointers instead of just (Char *) and get rid of
all the type casting.
PR: kern/124334
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
|
|
|
|
|
|
| |
- Remove two unnecessary casts.
These changes would help gcc4 compile.
|
|
|
|
| |
Obtained from: NetBSD (mostly)
|
|
|
|
|
|
|
| |
(submitted patch slightly modified)
PR: 86038
Submitted by: Gerd Rausch <gerd@juniper.net>
|
| |
|
|
|
|
| |
lacking the issetugid() and utrace() syscalls.
|
|
|
|
|
|
|
|
|
|
| |
- add GLOB_NOMATCH return value and use it when we don't get a match
- rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1
in some places
- add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility
section
Suggestions/advice on correct usage of POSIX defines: wollman
|
|
|
|
|
| |
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
|
|
|
|
|
|
|
|
|
|
| |
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
|
|
|
|
|
|
| |
I've left out a couple of unused args between internal functions.
Use MAXPATHLEN, not MAXPATHLEN + 1 in a couple of places.
Pass a pointer to the end of the target filename space.
|
|
|
|
|
|
| |
exactly the right size. Do it differently - pass a length rather than an
end-of-string+1 pointer as this is more convenient anyway. Get rid of
the bogus +1's.
|
|
|
|
|
|
|
| |
Also, set gl_pathv to NULL after we free it, especially when dealing
with realloc failures.
Obtained from: OpenBSD
|
|
|
|
|
|
|
| |
number of paths which glob(3) will return. Remove the hardcoded limit
from the last commit, which restores the previous unbounded behavior.
Document the new flag in the manual page.
|
|
|
|
|
|
| |
some comments explaining that this is an arbitrary limit.
Requested by: jkh
|
|
|
|
|
|
|
| |
is currently set to 10000. This is intended to prevent glob from running
amok when a highly recursive path is provided (such as "../*/../*/../*/...")
Reviewed by: Diane Bruce <db@db.net>, jhb
|
|
|
|
|
| |
building FreeBSD's libc to run with a NetBSD kernel. We'll get to
the alpha kernel later, I promise. 8-)
|
| |
|
|
|
|
|
| |
elevated privs.
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
| |
in PR 2580.
Obtained from: BSDi by way of Keith Bostic
Should be in 2.2 and 2.1.x. I'll merge into 2.2.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|