| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
instead of duplicating code, albeit trivial (inspired by NetBSD).
PR: 5524
Notes:
svn path=/head/; revision=32962
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32927
|
| |
|
|
|
|
|
|
| |
Submitted by: garbanzo@hooked.net
Add strncasecmp, strncmp to NAME field.
Notes:
svn path=/head/; revision=32818
|
| |
|
|
|
|
|
| |
to ruin a 64-bit day.
Notes:
svn path=/head/; revision=32743
|
| |
|
|
|
|
|
| |
Obtained from:OpenBSD (theo de raadt)
Notes:
svn path=/head/; revision=32687
|
| |
|
|
|
|
|
|
|
| |
isn't a prerequisite, since it isn't required for the prototypes
and isn't always needed to call the functions (the address family
might be a variable).
Notes:
svn path=/head/; revision=32647
|
| |
|
|
|
|
|
|
| |
interface from sys/mount.h to libc/getvfsent.c The new interface is
now the default.
Notes:
svn path=/head/; revision=32643
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32638
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32637
|
| |
|
|
|
|
|
|
|
|
|
| |
and the pre-Lite2 vfsconf interfaces.
For getvfsent.c, just define _OLD_VFSCONF. This will give the
current default macro hacks in <sys/mount.h> when the default is
reversed. This is an intermediate step.
Notes:
svn path=/head/; revision=32594
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32565
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32564
|
| |
|
|
|
|
|
| |
or missing const's or `short *' instead of `[ug]id_t *' in argument types.
Notes:
svn path=/head/; revision=32563
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32562
|
| |
|
|
|
|
|
|
|
| |
overwrites it. This actually showed up when running under an old
kernel when free() called the madvise() stub which set errno, causing
getcwd() to return EOPNOTSUPP instead of ERANGE.
Notes:
svn path=/head/; revision=32530
|
| |
|
|
|
|
|
| |
do not exist in NetBSD 1.3.
Notes:
svn path=/head/; revision=32524
|
| |
|
|
|
|
|
|
|
|
| |
Added EOPNOTSUPP and EMLINK to errors section.
Added symlink(2) xref.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32514
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32507
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32494
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32493
|
| |
|
|
|
|
|
|
|
| |
sysconf(_SC_NGROUPS_MAX).
Submitted by: bde
Notes:
svn path=/head/; revision=32489
|
| |
|
|
|
|
|
| |
Added $Id$.
Notes:
svn path=/head/; revision=32488
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32451
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32450
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32449
|
| |
|
|
|
|
|
|
|
| |
Document the special case of gidsetlen == 0.
Partially obtained from: OpenBSD
Notes:
svn path=/head/; revision=32448
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32447
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32438
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32437
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32436
|
| |
|
|
|
|
|
|
|
|
| |
Correct a grammatical error.
Add cross-reference to setrlimit(2).
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=32435
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this source is compiled against. This source is referenced by
install which is needed as a build tool and must be able to compile
against NetBSD headers and libraries if we have a hope of supporting
another architecture.
With this change, that's two working programs down and 3945 (?) to go.
The other one was make, but that didn't need any changes to work under
FreeBSD/Alpha. 8-)
Notes:
svn path=/head/; revision=32361
|
| |
|
|
|
|
|
|
| |
Reviewed by: guido
Obtained from: OpenBSD (Theo de Raadt)
Notes:
svn path=/head/; revision=32299
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32271
|
| |
|
|
|
|
|
|
| |
in arguments length INT_MAX overflow check
Suggested-by: bde
Notes:
svn path=/head/; revision=32253
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32193
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
case has very little to do with the output size being larger than
INT_MAX.
2. The new #include of <limits.h> was disordered.
3. The new declaration of `on' was disordered (integer types go together).
4. Testing an unsigned value for > 0 was fishy.
Submitted by: bde
Notes:
svn path=/head/; revision=32168
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32133
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *. The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.
minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.
madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.
Discussed with: bde
Notes:
svn path=/head/; revision=32131
|
| |
|
|
|
|
|
| |
Pointed out by: bde
Notes:
svn path=/head/; revision=32118
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32114
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32112
|
| |
|
|
| |
Notes:
svn path=/head/; revision=32051
|
| |
|
|
|
|
|
|
| |
pr: docs/5260
submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
Notes:
svn path=/head/; revision=32001
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31984
|
| |
|
|
|
|
|
| |
just return EOF
Notes:
svn path=/head/; revision=31983
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31982
|
| |
|
|
|
|
|
|
| |
2) Optimize string buffer copy to call memcpy() and update pointers
only for count > 0, it makes snprintf(NULL, 0, ...) more efficient
Notes:
svn path=/head/; revision=31981
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
instead of Singe Unix, thanx Bruce for explaining, I am not realize
standards war was there.
But now, fix n == 0 case to not return error and fix check for too
big n.
Things left to do: check for overflow in arguments.
Notes:
svn path=/head/; revision=31980
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Final word is Bruce's quote:
C9x specifies the BSD4.4-Lite behaviour:
[#3] ... Thus, the
null-terminated output has been completely written if and
only if the returned value is less than n.
It means that if we not have any null-terminated output as for n == 0
we can't return value less than n, so we forced to return value
equal to n i.e. 0
The next good thing is glibc compatibility, of course.
2) Do check for too big n in machine-independent way.
3) Minor optimization assuming EOF is < 0
Notes:
svn path=/head/; revision=31979
|