| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
of the MFN (Merge from NetBSD) is complete.
|
| |
| |
| |
| |
| | |
PR: docs/35361
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
|
| |
| |
| |
| |
| | |
PR: 34663
MFC After: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
session start time. This is useful when looking at old or long-running
wtmp files.
PR: bin/12982
Obtained from: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida
Reviewed by: keramida
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
needs to be retained across entries, and we need to exit(), not
return from doentry() when `maxrec' reaches 0. Move the code for
processing `maxrec' into printentry() for simplicity.
|
| |
| |
| |
| | |
duplication.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Make use of `static' storage-class for local functions.
Replace uses of `u_quad_t' with `uintmax_t'.
|
| |
| |
| |
| |
| | |
the parent from sending SIGURG itself to the child. This fixes the
problem of occasionally failing to pass the window size.
|
| |
| |
| |
| | |
report a short read if that's what we're reporting.
|
| |
| |
| |
| |
| |
| | |
2) WARNs fixes (rename option to lookup_option to avoid shadowing, rename
argv to argv1 to avoid shadowing, const stuff, prototypes, __unused).
3) Remove "register"s.
|
| |
| |
| |
| |
| |
| |
| | |
2) Don't compile vendor ID.
3) WARNS=4 fixes (constness, make a global local to avoid shadowing, unused
parameters, rename local to avoid shadowing, remove junk after #endif)
4) remove some "register"s.
|
| |
| |
| |
| |
| |
| | |
2) Cast some numbers we know to be positive to size_t before we MIN them
with the result of a sizeof.
3) Compare result of inet_addr to INADDR_NONE, not -1.
|
| | |
|
| |
| |
| |
| | |
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
|
| |
| |
| |
| | |
2) compare return value of inet_addr to INADDR_NONE rather than -1.
|
| |
| |
| |
| |
| |
| |
| | |
interrupt 0x10 function 0x00 without dpy int tty.c being set.
PR: 35147
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
|
| |
| |
| |
| |
| |
| |
| | |
register to zero.
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
PR: 35147
|
| |
| |
| |
| |
| |
| |
| |
| | |
Give RFK's fullname and place of birth.
Spell 'Wiener' correctly and add place of birth.
PR: misc/35305
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
|
| |
| |
| |
| |
| | |
Reviewed by: mike
Approved by: mike
|
| |
| |
| |
| |
| | |
<sys/stat.h> for the declaration of struct timeval. Intentionally
don't follow the local style of polluting the local headers.
|
| |
| |
| |
| |
| | |
polluted, and <sys/types.h> is strictly a prerequisite for <sys/stat.h>
untiil we drop support for pre-2001 versions of POSIX.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
<sys/stat.h> for the declaration of struct timeval.
Removed unused includes (<time.h> doesn't declare anything of interest;
only <sys/time.h> does).
Sorted includes a bit.
|
| |
| |
| |
| |
| |
| |
| |
| | |
<sys/stat.h> for the declaration of struct timeval (sys/stat.h> only
needs timespecs even when its POSIX support is not turned on, so it
shouldn't declare timevals).
Fixed some #include messes.
|
| |
| |
| |
| |
| | |
PR: docs/35274
Submitted by: nivit@libero.it (Nicola Vitale)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
comments such as:
// The main() function
Teach ctags about this style of commenting.
Submitted by: Eric Allman <eric@Sendmail.ORG>
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
without possibly losing lots of precision, and print the scale using
%g instead of %d in case it is non-integral. %g might not be the best
format for this.
|
| |
| |
| |
| |
| |
| |
| | |
was split off from gprof.c in rev.1.7 of the latter. elf.c is mostly new,
but the old copyright sort of applies to it and is better than none.
Use __FBSDID() for the FreeBSD id.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
from <number of machines> machine-dependent headers to the one
non-header here it is used so that it is easier to fix. This macro
just divides the machine-dependent offset OFFSET_OF_CODE by the
machine-independent scale factor sizeof(UNIT), as required for bug
for bug compatibility with the scaling of pc's in gprof.c. UNIT is
the type of a profiling counter, and its size has nothing to do with
the correct scale factor except both are usually 2.
|
| |
| |
| |
| |
| |
| |
| | |
Fix env(1)'s exit status to conform with SUSv3.
Submitted by: Tim Robbins <tim@robbins.dropbear.id.au>
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
has been determined similar to C. That is, one expects a construction
like,
.if defined(TEST) && (${TEST:L} == "test")
Never to generate an error since the second expression should never be
evaluated when TEST is undefined.
However, this was not the case. The above fails with the current
make(1) if TEST is undefined. This patch fixes the above and many
similar cases.
PR: bin/34032
Submitted by: Alan Eldridge <alane@geeksrus.net>
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
|
| | |
|
| |
| |
| |
| | |
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
non-empty string in the environment; we indicate which objects caused
each object to be loaded.
PR: 30908
Submitted-by: Mike Meyer <mwm@mired.org>
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
on the file we're replacing.
PR: bin/34992
Submitted by: Shunichiro Ariura <syun1rou@blackshell.org>
MFC after: 1 week
|