| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Obtained from: Phil Shafer <phil@juniper.net>
Sponsored by: Juniper Networks, Inc.
Notes:
svn path=/head/; revision=283304
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=283257
|
|
|
|
|
|
|
|
|
|
|
|
| |
interpreted as a number, which checks the file's modification time and
use that as the date/time value.
This improves compatibility with GNU coreutils's version of time(1).
MFC after: 2 weeks
Notes:
svn path=/head/; revision=282608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an attempt to improve performance, cp reordered directories first
(although the comment says directories last). This is not effective with new
UFS layout policies.
The sorting reorders multiple arguments passed to cp, which may be
undesirable.
Additionally, the comparison function does not induce a total order. Per
POSIX, this causes undefined behaviour in qsort().
NetBSD removed the sorting in 2009.
On filesystems that return directory entries in hash/btree order, sorting by
d_fileno before statting improves performance on large directories. However,
this can only be implemented in fts(3).
PR: 53475
Reviewed by: bde (in 2004)
MFC after: 1 week
Notes:
svn path=/head/; revision=282482
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as
defined in symlink(7); previously symlinks were silently ignored.
Differential Revision: https://reviews.freebsd.org/D2316
Reviewed by: jilles
MFC after: 1 month
Relnotes: yes
Sponsored by: Multiplay
Notes:
svn path=/head/; revision=282208
|
|
|
|
| |
Notes:
svn path=/head/; revision=282002
|
|
|
|
| |
Notes:
svn path=/head/; revision=281998
|
|
|
|
| |
Notes:
svn path=/head/; revision=281997
|
|
|
|
|
|
|
|
|
|
|
|
| |
interactive.
I added the interactive check in r208881 to be safe, but in actual use
(scripts in set -m mode) passing along SIGINT seems best.
Discussed with: bdrewery
Notes:
svn path=/head/; revision=281982
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/src/bin/ed/glbl.c:64:36: error: logical not is only applied to
theleft hand side of comparison [-Werror=logical-not-parentheses]
Obtained from: Dragonfly (1fff89cbaeaa43af720a1f23d9c466b756dd8a58)
MFC After: 1 month
Notes:
svn path=/head/; revision=281758
|
|
|
|
|
|
|
|
|
|
| |
The result is line_t** so the multiplication should be size *
sizeof(line_t*)
MFC After: 1 month
Notes:
svn path=/head/; revision=281719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
n n...'.
The parser considered 'trap exit INT' to reset the default for both EXIT and
INT. This beahvior is not POSIX compliant. This was avoided if a value was
specified for 'exit', but then disallows exiting with the signal received. A
possible workaround is using ' exit'.
However POSIX does allow this type of behavior if the parameters are all
integers. Fix the handling for this and clarify its support in the manpage
since it is specifically allowed by POSIX.
Differential Revision: https://reviews.freebsd.org/D2325
Reviewed by: jilles
MFC after: 2 weeks
Notes:
svn path=/head/; revision=281718
|
|
|
|
|
|
|
|
| |
Reported by: adrian
MFC after: 2 weeks
Notes:
svn path=/head/; revision=281591
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
Exp-run by: antoine
MFC after: 2 weeks
Notes:
svn path=/head/; revision=281550
|
|
|
|
| |
Notes:
svn path=/head/; revision=280920
|
|
|
|
| |
Notes:
svn path=/head/; revision=280386
|
|
|
|
|
|
|
|
|
|
| |
having defined behavior.
Reported by: rodrigc
MFC after: 3 days
Notes:
svn path=/head/; revision=280357
|
|
|
|
|
|
|
|
|
|
|
|
| |
-O Force the archive to be one volume. If a volume ends prematurely, pax will
not prompt for a new volume.
PR: 198481
Submitted by: Sevan Janiyan
Reviewed by: allanjude (doc)
Notes:
svn path=/head/; revision=280206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous 12h AM/PM format was perplexing as it didn't follow the
locale of the user and was a minor annoyance to FreeBSD users coming
from Linux. Additionally, the man page was incorrect about the strftime
format.
There are three time formats that may be displayed in the STARTED
column depending on the age of the process. Below is an example.
For a process started at 14:30 on Monday 16 March 2015, the following
formats may be used:
14:30 for process < 24h old (24h Timestamp)
Mon14 for process > 24h, < 1 week old (Weekday Hour)
16Mar15 for process > 1 week old (Day Month Year)
Differential Revision: https://reviews.freebsd.org/D1620
Reviewed by: brd
Approved by: trasz
Notes:
svn path=/head/; revision=280171
|
|
|
|
| |
Notes:
svn path=/head/; revision=279603
|
|
|
|
| |
Notes:
svn path=/head/; revision=279569
|
|
|
|
| |
Notes:
svn path=/head/; revision=279508
|
|
|
|
| |
Notes:
svn path=/head/; revision=279503
|
|
|
|
| |
Notes:
svn path=/head/; revision=279330
|
|
|
|
| |
Notes:
svn path=/head/; revision=279188
|
|
|
|
|
|
|
|
|
|
|
| |
Undisguising it dumps out the following logspew:
jls: unknown parameter: allow
PR: 191019
Notes:
svn path=/head/; revision=279121
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=278848
|
|
|
|
|
|
|
|
|
| |
* Remove some gotos.
* Remove unused parameter.
* Remove duplicate code.
Notes:
svn path=/head/; revision=278826
|
|
|
|
| |
Notes:
svn path=/head/; revision=278820
|
|
|
|
| |
Notes:
svn path=/head/; revision=278818
|
|
|
|
| |
Notes:
svn path=/head/; revision=278806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r278742:
Simplify jail_name_to_jid and try to be more fault tolerant when scanning for
the jail ID (poll up to 10 times for the jail IDs to become available)
If the scan fails, the code will fall through and fail as it does with Jenkins
today
r278636:
Parameterize out the amount of sleep done in each test
Set the value in each test to a different amount to avoid potential
side-effects with other instances of the test (or lingering processes) still
being present on the system
r278633:
Refactor the tests
1. `id -u` -> 0 is now only checked once; the entire test script is now skipped
if this assertion is violated
2. De-dent whitespace, based on 1.
3. Only setup the symlink for $sleep once at the top of the script, and tear it
down once at the bottom of the script
Notes:
svn path=/head/; revision=278776
|
|
|
|
|
|
|
|
|
|
| |
the jail ID (poll up to 10 times for the jail IDs to become available)
If the scan fails, the code will fall through and fail as it does with Jenkins
today
Notes:
svn path=/head/; revision=278742
|
|
|
|
|
|
|
| |
This is being done to establish parity with pgrep-j_test
Notes:
svn path=/head/; revision=278653
|
|
|
|
|
|
|
|
|
| |
Set the value in each test to a different amount to avoid potential
side-effects with other instances of the test (or lingering processes) still
being present on the system
Notes:
svn path=/head/; revision=278636
|
|
|
|
|
|
|
|
|
|
|
| |
1. `id -u` -> 0 is now only checked once; the entire test script is now skipped
if this assertion is violated
2. De-dent whitespace, based on 1.
3. Only setup the symlink for $sleep once at the top of the script, and tear it
down once at the bottom of the script
Notes:
svn path=/head/; revision=278633
|
|
|
|
| |
Notes:
svn path=/head/; revision=278618
|
|
|
|
|
|
|
|
|
|
| |
The "-h" option may access an uninitialized value. Prevent it
by properly initializing the value.
CID: 1006559
Notes:
svn path=/head/; revision=277979
|
|
|
|
|
|
|
|
|
|
|
| |
This is required by POSIX.
PR: 197210
Reported by: ache
MFC after: 2 weeks
Notes:
svn path=/head/; revision=277973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add special test to detect the case of -1 * INTMAX_MIN
- Protect against elimination of the test division by the optimizer
Garrett Cooper noticed that the overflow checks were incomplete, and Bruce
Evans suggested the use of the "volatile" qualifier to counter the effect
of the undefined behaviour, when the prior multiplication caused overflow,
and he also suggested improvements to the comments.
Reviewed by: bde
MFC after: 1 week
Notes:
svn path=/head/; revision=277798
|
|
|
|
|
|
|
| |
This uses utimensat().
Notes:
svn path=/head/; revision=277645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The core kernel part is patch file utimes.2008.4.diff from
pluknet@FreeBSD.org. I updated the code for API changes, added the manual
page and added compatibility code for old kernels. There is also audit and
Capsicum support.
A new UTIME_* constant might allow setting birthtimes in future.
Differential Revision: https://reviews.freebsd.org/D1426
Submitted by: pluknet (partially)
Reviewed by: delphij, pluknet, rwatson
Relnotes: yes
Notes:
svn path=/head/; revision=277610
|
|
|
|
| |
Notes:
svn path=/head/; revision=277531
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=277358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some users build FreeBSD as non-root in Perforce workspaces. By default,
Perforce sets files read-only unless they're explicitly being edited.
As a result, the -f argument must be used to cp in order to override the
read-only flag when copying source files to object directories. Bare use of
'cp' should be avoided in the future.
Update all current users of 'cp' in the src tree.
Reviewed by: emaste
MFC after: 1 week
Sponsored by: Spectra Logic
Notes:
svn path=/head/; revision=277273
|
|
|
|
|
|
|
|
| |
X-MFC with: r276669
Pointyhat to: me
Notes:
svn path=/head/; revision=276723
|
|
|
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=276669
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=276359
|
|
|
|
|
|
|
|
| |
As a result, the INTON macro which is used many times generates fewer
bytes of code.
Notes:
svn path=/head/; revision=276038
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EXP_REDIR was supposed to generate pathnames in redirection if exactly one
file matches, as permitted but not required by POSIX in interactive mode. It
is unlikely this will be implemented.
No functional change is intended.
MFC after: 1 week
Notes:
svn path=/head/; revision=276037
|