| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
| | |
|
| |
| |
| |
| |
| |
| | |
`-o /dev/stdout' or `-p'.
Requested by: grog, nectar
|
| |
| |
| |
| |
| |
| |
| | |
specified)
* Don't print currline if it's NULL
MFC after: 3 days
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
PR: 34668
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Reviewed by: dd
Approved by: dd
MFC after: 1 week
|
| | |
|
| |
| |
| |
| | |
help the GCC3 transition and CURRENT in general.
|
| |
| |
| |
| |
| |
| |
| |
| | |
be determined.
PR: bin/34698
Submitted by: (in part) Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 weeks
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cc1: warnings being treated as errors
usr.bin/finger/lprint.c: In function `lprint':
usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2)
*** Error code 1
Pointy hat to: markm
|
| |
| |
| |
| |
| |
| |
| |
| | |
'%qd'.
usr.bin/du/du.c:288: warning: long long int format, long int arg (arg 2)
Pointy hat to: markm
|
| |
| |
| |
| | |
MFC after: 2 weeks
|
| | |
|
| |
| |
| |
| |
| | |
Reviewed by: ru
Approved by: ru
|
| |
| |
| |
| | |
GCC3 changeover.
|
| |
| |
| |
| | |
Sponsored by: DARPA, NAI Labs
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
were removed and replaced them with clnt_tp_create, now the af_local
support is fixed.
I also removed the hack how rpcinfo contacted rpcbind, now we can
relay on clnt_tp_create create the client-handle for us. Only
rpcbind itself needs a hardcoded socket-path.
Submitted by: mbr
Also add $FreeBSD
|
| | |
|
| |
| |
| |
| | |
MFC after: 3 days
|
| | |
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a bug that caused .br domains to be queried twice, by only
recursively following ARIN referrals when querying ARIN.
PR: 34291
MFC after: 7 days
|
| |
| |
| |
| | |
MFC in: 14 days
|
| |
| |
| |
| |
| | |
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
MFC after: 1 month
|
| |
| |
| |
| |
| |
| | |
code made redundant by various PAM modules (primarily pam_unix(8)).
Sponsored by: DARPA, NAI Labs
|
| |
| |
| |
| | |
fixed to accept a NULL PAM_RHOST.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(which allows one to redirect output to stdout); `-o /dev/stdout' is
recommended instead.
Submitted by: Joseph Mallett <jmallett@xMach.org>
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| | |
and -c are mutually exclusive.
PR: 34233
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
|
| | |
|
| |
| |
| |
| | |
Sponsored by: DARPA, NAI Labs
|
| |
| |
| |
| | |
Reviewed by: ru
|