Author: jilles
Date: Tue Feb 23 22:44:01 2016
New Revision: 295937
URL: https://svnweb.freebsd.org/changeset/base/295937
Log:
sh: Fix set -v and multiline history after r295825.
r295825 erroneously dropped the newline from the input data for 'set -v'
output and multiline history.
Author: jilles
Date: Sun Feb 21 20:58:24 2016
New Revision: 295868
URL: https://svnweb.freebsd.org/changeset/base/295868
Log:
sh: Don't hash alias name when there are no aliases.
Modified:
head/bin/sh/alias.c
Modified: head/bin/sh/alias.c
Author: jilles
Date: Sun Feb 21 18:54:17 2016
New Revision: 295866
URL: https://svnweb.freebsd.org/changeset/base/295866
Log:
sh: Optimize setprompt(0).
Avoid doing work to print an empty prompt (such as when reading scripts).
Modified:
head/bin/sh/parser.c
Modified:
Author: jilles
Date: Sun Feb 21 16:48:37 2016
New Revision: 295862
URL: https://svnweb.freebsd.org/changeset/base/295862
Log:
sh: Remove unnecessary flushouts while reading script.
Output is flushed when a builtin is done or immediately after writing it
(error messages, set -v output,
Author: jilles
Date: Fri Feb 19 21:53:12 2016
New Revision: 295825
URL: https://svnweb.freebsd.org/changeset/base/295825
Log:
sh: Rework code to remove '\0' from shell input.
This fixes bugs where '\0' was not removed correctly and speeds up the
parser.
Added:
Author: jilles
Date: Fri Feb 19 16:56:07 2016
New Revision: 295818
URL: https://svnweb.freebsd.org/changeset/base/295818
Log:
sh: Add tests for comments in sh -c.
Added:
head/bin/sh/tests/parser/comment1.0 (contents, props changed)
head/bin/sh/tests/parser/comment2.42 (contents, props
Author: jilles
Date: Sun Feb 7 21:25:08 2016
New Revision: 295384
URL: https://svnweb.freebsd.org/changeset/base/295384
Log:
semget(2): Add missing [EINVAL] conditions.
PR: 206927
Modified:
head/lib/libc/sys/semget.2
Modified: head/lib/libc/sys/semget.2
Author: jilles
Date: Sun Feb 7 22:12:39 2016
New Revision: 295385
URL: https://svnweb.freebsd.org/changeset/base/295385
Log:
semget(): Check for [EEXIST] error first.
Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and
IPC_EXCL were both passed, the semaphore set
Author: jilles
Date: Sat Jan 30 19:59:58 2016
New Revision: 295082
URL: https://svnweb.freebsd.org/changeset/base/295082
Log:
test: Optimize operator lookup.
The linear search using strcmp() shows up in pmcstat for several percent.
Split the operators into lengths and whether they
Author: jilles
Date: Sat Jan 30 21:21:25 2016
New Revision: 295085
URL: https://svnweb.freebsd.org/changeset/base/295085
Log:
sh: Don't allocate a redirtab if there are no redirections.
Builtins (including variable assignments without command word), function
calls and redirected compound
Author: jilles
Date: Sat Jan 30 20:10:20 2016
New Revision: 295083
URL: https://svnweb.freebsd.org/changeset/base/295083
Log:
sh(1): Document 'cd -'.
This reflects the changes in r294649 and can therefore not be MFCed by
itself.
Modified:
head/bin/sh/sh.1
Modified: head/bin/sh/sh.1
Author: jilles
Date: Sun Jan 24 17:01:34 2016
New Revision: 294667
URL: https://svnweb.freebsd.org/changeset/base/294667
Log:
sh: Remove a global variable from cd.c.
Modified:
head/bin/sh/cd.c
Modified: head/bin/sh/cd.c
Author: jilles
Date: Sun Jan 24 22:26:25 2016
New Revision: 294692
URL: https://svnweb.freebsd.org/changeset/base/294692
Log:
sh: Constify internal representation in expand.c.
Forbid (temporary or permanent) modifications of the strings in NARG nodes
during expansion.
Tilde
Author: jilles
Date: Sat Jan 23 23:00:38 2016
New Revision: 294649
URL: https://svnweb.freebsd.org/changeset/base/294649
Log:
sh: Use OLDPWD shell variable for 'cd -'.
Per POSIX, 'cd -' should use the OLDPWD shell variable, not internal state.
This variable is normally exported.
Author: jilles
Date: Fri Jan 22 20:10:08 2016
New Revision: 294593
URL: https://svnweb.freebsd.org/changeset/base/294593
Log:
sh: Clean a readonly local, even if the variable does not exist outside.
If a local variable has been made read-only, this should not prevent its
removal when the
Author: jilles
Date: Fri Jan 22 18:10:36 2016
New Revision: 294582
URL: https://svnweb.freebsd.org/changeset/base/294582
Log:
sh: Add already working test for local-readonly interaction.
Added:
head/bin/sh/tests/builtins/local6.0 (contents, props changed)
Modified:
Author: jilles
Date: Fri Jan 22 14:52:31 2016
New Revision: 294565
URL: https://svnweb.freebsd.org/changeset/base/294565
Log:
sem: Don't free nameinfo that is still in list when open() fails.
This bug could be reproduced easily by calling sem_open() with O_CREAT |
O_EXCL on a semaphore
Author: jilles
Date: Tue Jan 19 22:41:26 2016
New Revision: 294348
URL: https://svnweb.freebsd.org/changeset/base/294348
Log:
sh: Simplify some code related to positional parameters.
Modified:
head/bin/sh/options.c
head/bin/sh/options.h
Modified: head/bin/sh/options.c
Author: jilles
Date: Sun Jan 17 21:14:27 2016
New Revision: 294234
URL: https://svnweb.freebsd.org/changeset/base/294234
Log:
utimensat(2): Correct description of [EINVAL] error.
MFC after:4 days
Modified:
head/lib/libc/sys/utimensat.2
Modified: head/lib/libc/sys/utimensat.2
On Wed, Jan 13, 2016 at 08:58:12AM -0800, John Baldwin wrote:
> On Tuesday, January 12, 2016 08:53:57 PM Jilles Tjoelker wrote:
> > Author: jilles
> > Date: Tue Jan 12 20:53:57 2016
> > New Revision: 293783
> > URL: https://svnweb.freebsd.org/changeset/base/293783
>
Author: jilles
Date: Tue Jan 12 20:53:57 2016
New Revision: 293783
URL: https://svnweb.freebsd.org/changeset/base/293783
Log:
Update futimens/utimensat for MFC to stable/10:
* Fix __FreeBSD_version check.
* Update history section in man page.
An MFC of this commit to stable/10 will
Author: jilles
Date: Sun Jan 10 16:31:28 2016
New Revision: 293635
URL: https://svnweb.freebsd.org/changeset/base/293635
Log:
sh: Update associated state when restoring locals while leaving a function.
Some variables like PATH call a function when modified. Make sure to call
this also
Author: jilles
Date: Thu Jan 7 23:13:20 2016
New Revision: 293392
URL: https://svnweb.freebsd.org/changeset/base/293392
Log:
sh: Reduce size of options table.
Modified:
head/bin/sh/expand.c
head/bin/sh/options.c
head/bin/sh/options.h
head/bin/sh/var.c
Modified: head/bin/sh/expand.c
Author: jilles
Date: Thu Jan 7 20:48:24 2016
New Revision: 293359
URL: https://svnweb.freebsd.org/changeset/base/293359
Log:
sh: Ensure OPTIND=1 in subshell without forking does not affect outer env.
Command substitutions containing a single simple command and here-document
expansion
Author: jilles
Date: Thu Jan 7 21:46:07 2016
New Revision: 293371
URL: https://svnweb.freebsd.org/changeset/base/293371
Log:
sh: Add a test for 'cd -'.
Redirect 'cd -' output to /dev/null since POSIX requires it to write the new
directory name even if not interactive, but we currently
Author: jilles
Date: Tue Jan 5 16:21:20 2016
New Revision: 293204
URL: https://svnweb.freebsd.org/changeset/base/293204
Log:
Add sbin and /usr/local directories to _PATH_DEFPATH.
Set _PATH_DEFPATH to
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin. This is the
path in the
sh does not source any startup files. Login
shells source /etc/profile and ~/.profile and interactive shells source
the file whose name is in the ENV environment variable.
The prompt comes from trying to remove an existing file which is not
writable. It can be supp
Author: jilles
Date: Sun Jan 3 21:30:22 2016
New Revision: 293118
URL: https://svnweb.freebsd.org/changeset/base/293118
Log:
sh: Reduce size of builtins table.
Modified:
head/bin/sh/exec.c
head/bin/sh/mkbuiltins
Modified: head/bin/sh/exec.c
Author: jilles
Date: Thu Dec 31 20:15:57 2015
New Revision: 293002
URL: https://svnweb.freebsd.org/changeset/base/293002
Log:
sh: Remove redundant CTLQUOTEMARK checks.
With the new expand.c code, the intermediate representation passed to the
pathname generation code only contains CTLESC,
.
* Copyright (c) 1997-2005
* Herbert Xu <herb...@gondor.apana.org.au>. All rights reserved.
+ * Copyright (c) 2010-2015
+ * Jilles Tjoelker <jil...@stack.nl>. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
@@ -
Author: jilles
Date: Thu Dec 31 18:56:11 2015
New Revision: 292995
URL: https://svnweb.freebsd.org/changeset/base/292995
Log:
sh: Reindent expandmeta().
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
Author: jilles
Date: Thu Dec 31 18:47:54 2015
New Revision: 292994
URL: https://svnweb.freebsd.org/changeset/base/292994
Log:
sh: Perform pathname generation during the first expansion phases.
This avoids the need to add and remove CTLESC bytes if pathname generation
will not be
Author: jilles
Date: Tue Dec 29 20:51:29 2015
New Revision: 292887
URL: https://svnweb.freebsd.org/changeset/base/292887
Log:
sh: Split subevalvar() in #/##/%/%% and =/? parts.
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
Author: jilles
Date: Sat Dec 26 22:27:48 2015
New Revision: 292758
URL: https://svnweb.freebsd.org/changeset/base/292758
Log:
sh: Add tests for #/##/%/%% on $* and $@.
Although POSIX leaves things like ${*#X} unspecified, it occasionally occurs
in practice. Add some tests that seem to
done
> + mount -a -t ${mount_excludes}
> + err=$?
> + fi
> +
> check_startmsgs && echo '.'
>
> case ${err} in
> @@ -44,7 +78,7 @@ mountcritlocal_start()
> ;;
> *)
> echo 'Mounting /etc/fstab file
Author: jilles
Date: Sun Dec 20 23:05:20 2015
New Revision: 292521
URL: https://svnweb.freebsd.org/changeset/base/292521
Log:
libc: Use namespace.h in a few more files.
libc now no longer calls fstat(), socketpair() and wait(), only the
underscore-prefixed versions (_waitpid() instead of
Author: jilles
Date: Sun Dec 20 15:11:11 2015
New Revision: 292513
URL: https://svnweb.freebsd.org/changeset/base/292513
Log:
clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.
Depending on system configuration and parameters, clock_gettime() and
gettimeofday() may not be system
Author: jilles
Date: Sun Dec 20 16:40:36 2015
New Revision: 292517
URL: https://svnweb.freebsd.org/changeset/base/292517
Log:
sh/mknodes: Close files and check for errors when writing.
This is a build tool only and does not affect run time.
PR: 204951
MFC after:1 week
Author: jilles
Date: Sun Dec 20 16:33:56 2015
New Revision: 292516
URL: https://svnweb.freebsd.org/changeset/base/292516
Log:
libthr: Don't use both __sys_open() and __sys_openat().
Modified:
head/lib/libthr/thread/thr_init.c
head/lib/libthr/thread/thr_private.h
Modified:
Author: jilles
Date: Wed Dec 16 20:33:47 2015
New Revision: 292360
URL: https://svnweb.freebsd.org/changeset/base/292360
Log:
sh: Fix use-after-free when attempting to modify a read-only variable.
Reported by: bapt
MFC after:1 week
Modified:
head/bin/sh/var.c
Modified:
Author: jilles
Date: Sat Dec 12 15:57:46 2015
New Revision: 292130
URL: https://svnweb.freebsd.org/changeset/base/292130
Log:
exec(3): Fix COMPATIBILITY section: default path does not contain cwd.
MFC after:1 week
Modified:
head/lib/libc/gen/exec.3
Modified:
Author: jilles
Date: Sun Dec 6 14:09:31 2015
New Revision: 291903
URL: https://svnweb.freebsd.org/changeset/base/291903
Log:
sh: Add limited test for ${#@} and ${#*}.
POSIX leaves the result of expanding ${#@} and ${#*} unspecified, but ensure
it is numeric.
Added:
Author: jilles
Date: Sat Dec 5 12:55:34 2015
New Revision: 291857
URL: https://svnweb.freebsd.org/changeset/base/291857
Log:
sh: Link tests/parameters/positional8.0 to the build.
This was forgotten in r291025.
Modified:
head/bin/sh/tests/parameters/Makefile
Modified:
Author: jilles
Date: Fri Dec 4 16:32:29 2015
New Revision: 291770
URL: https://svnweb.freebsd.org/changeset/base/291770
Log:
rc.subr: Check for running daemons before a custom start_cmd is executed.
Currently rc scripts implementing their own start_cmd do not enjoy the
benefits of
Author: jilles
Date: Tue Nov 24 22:47:19 2015
New Revision: 291267
URL: https://svnweb.freebsd.org/changeset/base/291267
Log:
sh: Remove global state from nodes.c.
No functional change is intended.
Modified:
head/bin/sh/mknodes.c
head/bin/sh/nodes.c.pat
Modified:
Author: jilles
Date: Wed Nov 18 21:09:03 2015
New Revision: 291025
URL: https://svnweb.freebsd.org/changeset/base/291025
Log:
sh: Fix ""$@, which should not use the special case for "$@".
"$@" should expand to no words if there are no positional parameters, but
""$@ should always expand
Author: jilles
Date: Sat Nov 7 22:06:49 2015
New Revision: 290515
URL: https://svnweb.freebsd.org/changeset/base/290515
Log:
periodic: Fix backwards compatibility for daily_status_security_* vars.
Most daily_status_security_* variables in periodic.conf were changed to
security_status_*
Author: jilles
Date: Fri Nov 6 16:43:22 2015
New Revision: 290453
URL: https://svnweb.freebsd.org/changeset/base/290453
Log:
I still maintain sh(1).
Modified:
head/MAINTAINERS
Modified: head/MAINTAINERS
==
---
Author: jilles
Date: Sun Nov 1 22:07:40 2015
New Revision: 290244
URL: https://svnweb.freebsd.org/changeset/base/290244
Log:
sh: Avoid copying argv for simple commands.
Add dummy entries before and after so arglist's array is directly usable as
argv.
Modified:
head/bin/sh/eval.c
Author: jilles
Date: Tue Oct 27 21:16:29 2015
New Revision: 290065
URL: https://svnweb.freebsd.org/changeset/base/290065
Log:
libedit: Use correct buffer lengths in vi mode v command.
Libedit's vi mode provides a v command to edit the current line in vi(1)
(hard-coded to vi, in fact).
out(1) and newsyslog(8). In
kill(1)'s case, the error messages are more detailed.
I'm not going to add a dependency on libutil in such basic utilities
though. In my humble opinion, depending on another DSO is more expensive
than having a small piece of duplicated code.
--
Jilles Tjoelke
Author: jilles
Date: Sun Oct 11 21:33:00 2015
New Revision: 289159
URL: https://svnweb.freebsd.org/changeset/base/289159
Log:
sh: Make struct arglist an array instead of a linked list.
This simplifies the code (e.g. allowing use of qsort(3) instead of a
hand-rolled mergesort) and should
t; }
This change makes the code match the man page, but in fact, the code was
right and the man page is wrong. Per POSIX, posix_fadvise() shall return
0 on success and an error number on failure, and need not modify errno.
Also, this kind of ABI change in
Author: jilles
Date: Wed Sep 30 21:32:29 2015
New Revision: 288430
URL: https://svnweb.freebsd.org/changeset/base/288430
Log:
wordexp: Rewrite to make WRDE_NOCMD reliable.
Shell syntax is too complicated to detect command substitution and unquoted
operators reliably without implementing
Author: jilles
Date: Sun Sep 27 12:52:18 2015
New Revision: 288309
URL: https://svnweb.freebsd.org/changeset/base/288309
Log:
fnmatch(): Remove exponential behaviour as in sh r229201.
The old code was exponential in the number of asterisks in the pattern.
However, once a match has been
to
applications, protected names (_foo) are not necessary.
I wouldn't commit a change that only either adds or removes parameter
names in prototypes myself, except to a header file visible to
applications (to fix namespace pollution).
--
Jilles Tjoelker
___
Author: jilles
Date: Sat Sep 19 20:27:09 2015
New Revision: 287996
URL: https://svnweb.freebsd.org/changeset/base/287996
Log:
libc: Consistently call _ioctl() internally, not ioctl().
Modified:
head/lib/libc/net/sockatmark.c
Modified: head/lib/libc/net/sockatmark.c
Author: jilles
Date: Sun Sep 13 14:00:49 2015
New Revision: 287753
URL: https://svnweb.freebsd.org/changeset/base/287753
Log:
setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).
Modified:
head/lib/libc/sys/setuid.2
Modified: head/lib/libc/sys/setuid.2
Author: jilles
Date: Sun Sep 13 17:17:52 2015
New Revision: 287761
URL: https://svnweb.freebsd.org/changeset/base/287761
Log:
db/recno: Open with close-on-exec like btree and hash do.
Modified:
head/lib/libc/db/recno/rec_open.c
Modified: head/lib/libc/db/recno/rec_open.c
Author: jilles
Date: Wed Sep 2 19:49:55 2015
New Revision: 287408
URL: https://svnweb.freebsd.org/changeset/base/287408
Log:
sh: Allow empty << EOF markers.
Added:
head/bin/sh/tests/parser/heredoc13.0 (contents, props changed)
Modified:
head/bin/sh/parser.c
be needed.
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Author: jilles
Date: Sun Aug 30 17:24:22 2015
New Revision: 287308
URL: https://svnweb.freebsd.org/changeset/base/287308
Log:
sh: Fix read with escaped IFS characters at the end.
Characters escaped with a backslash must be treated as if they were not in
IFS. This includes stripping
Author: jilles
Date: Sat Aug 29 19:41:47 2015
New Revision: 287296
URL: https://svnweb.freebsd.org/changeset/base/287296
Log:
sh: Add set -o nolog.
POSIX requires this to prevent entering function definitions in history but
this implementation does nothing except retain the option's
Author: jilles
Date: Tue Aug 25 21:55:15 2015
New Revision: 287148
URL: https://svnweb.freebsd.org/changeset/base/287148
Log:
sh: Fix out of bounds read when there is no ] after a [:class:].
The initial check for a matching ] was incorrect if a ] may be consumed by a
[:class:]. The
On Tue, Aug 18, 2015 at 02:28:25PM -0700, Jason Evans wrote:
On Aug 18, 2015, at 2:17 PM, Jilles Tjoelker jil...@stack.nl wrote:
On Tue, Aug 18, 2015 at 09:49:44PM +0200, Jan Beich wrote:
Jason Evans jas...@freebsd.org writes:
+ - Remove the *allocm() API, which is superseded
Author: jilles
Date: Sun Aug 23 20:44:53 2015
New Revision: 287081
URL: https://svnweb.freebsd.org/changeset/base/287081
Log:
sh: Don't create bad parse result when postponing a bad substitution error.
An invalid substitution like ${var@} does not cause a parse error but is
stored in the
Author: jilles
Date: Thu Aug 20 21:31:36 2015
New Revision: 286971
URL: https://svnweb.freebsd.org/changeset/base/286971
Log:
sh: Add test for $'\u' without any digits.
It is likely that $'\u' and $'\U' will allow fewer digits in
future. However, no digits at all should still
Author: jilles
Date: Thu Aug 20 22:05:55 2015
New Revision: 286973
URL: https://svnweb.freebsd.org/changeset/base/286973
Log:
sh: Avoid negative character values from $'\U' etc.
The negative value was not expected and generated the low 8 bits as a byte,
which may be an invalid
Author: jilles
Date: Wed Aug 19 20:31:03 2015
New Revision: 286941
URL: https://svnweb.freebsd.org/changeset/base/286941
Log:
wordexp(): Improve some error codes.
Distinguish between WRDE_BADVAL and WRDE_SYNTAX based on when the error
occurred (parsing or execution), not based on whether
Author: jilles
Date: Tue Aug 18 20:13:36 2015
New Revision: 286903
URL: https://svnweb.freebsd.org/changeset/base/286903
Log:
wordexp(3): Update man page for no longer using the wordexp builtin.
Modified:
head/lib/libc/gen/wordexp.3
Modified: head/lib/libc/gen/wordexp.3
experimental APIs to
build jemalloc themselves, or to use jemalloc from ports (although such
a port doesn't seem to exist, currently).
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
Author: jilles
Date: Sun Aug 16 12:57:17 2015
New Revision: 286826
URL: https://svnweb.freebsd.org/changeset/base/286826
Log:
sh: Backslash-newline should not affect field splitting in read builtin.
This was originally broken in r212339 in 2010.
Added:
head/bin/sh/tests/builtins/read8.0
Author: jilles
Date: Sun Aug 16 19:42:15 2015
New Revision: 286830
URL: https://svnweb.freebsd.org/changeset/base/286830
Log:
wordexp(): Stop using the undocumented wordexp builtin.
The functionality of the wordexp builtin is easily replaced using normal
shell code, although performance
Author: jilles
Date: Fri Aug 14 21:44:15 2015
New Revision: 286788
URL: https://svnweb.freebsd.org/changeset/base/286788
Log:
sh: When setting option via long name, don't go via letter.
Looking up the letter makes no sense and prevents adding options that only
have a long name, no
Author: jilles
Date: Tue Aug 11 21:59:36 2015
New Revision: 286649
URL: https://svnweb.freebsd.org/changeset/base/286649
Log:
Fix and re-enable UTF-8 tests.
Modified:
head/contrib/netbsd-tests/lib/libc/locale/t_mbrtowc.c
head/contrib/netbsd-tests/lib/libc/locale/t_mbstowcs.c
On Sun, Jul 19, 2015 at 03:00:12PM +0200, Jilles Tjoelker wrote:
On Fri, Jun 19, 2015 at 11:54:23PM +0200, Jilles Tjoelker wrote:
On Mon, Jun 08, 2015 at 07:13:05PM +, Xin LI wrote:
Author: delphij
Date: Mon Jun 8 19:13:04 2015
New Revision: 284162
URL: https
Author: jilles
Date: Wed Aug 5 21:33:30 2015
New Revision: 286344
URL: https://svnweb.freebsd.org/changeset/base/286344
Log:
find: Fix segfault with very long path in -exec/-ok ... {} \;.
If the resulting argument is longer than MAXPATHLEN, realloc() was called to
extend the space, but
arithmetic expansion, for example
largeid=$((0x1)).
When using strtol() or similar functions, accepting hex typically
implies accepting octal as well, which causes confusing and
POSIX-violating results like 010 interpreted as eight.
--
Jilles Tjoelker
On Sun, Aug 02, 2015 at 02:59:00AM +1000, Bruce Evans wrote:
On Sat, 1 Aug 2015, Jilles Tjoelker wrote:
These values are easily written using arithmetic expansion, for example
largeid=$((0x1)).
Not really. Shells are also very buggy or limited in this area. I
often use old
Author: jilles
Date: Sat Aug 1 22:00:25 2015
New Revision: 286163
URL: https://svnweb.freebsd.org/changeset/base/286163
Log:
rc.subr: Allow rc.conf.d with multi-directory local_startup.
I also changed ${...%*/rc.d} to ${...%/rc.d} since the shortest match always
has an empty string for
On Fri, Jun 19, 2015 at 11:54:23PM +0200, Jilles Tjoelker wrote:
On Mon, Jun 08, 2015 at 07:13:05PM +, Xin LI wrote:
Author: delphij
Date: Mon Jun 8 19:13:04 2015
New Revision: 284162
URL: https://svnweb.freebsd.org/changeset/base/284162
Log:
It has been long time that when
therefore
probably have a CLOUDABI_* constant.
It turns out that both FreeBSD and Linux report 1024 for getconf
IOV_MAX, so there is little practical effect.
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman
Author: jilles
Date: Sat Jul 11 13:07:26 2015
New Revision: 285385
URL: https://svnweb.freebsd.org/changeset/base/285385
Log:
sh(1): libedit has supported multibyte encodings for a while.
Modified:
head/bin/sh/sh.1
Modified: head/bin/sh/sh.1
Author: jilles
Date: Sun Jun 28 21:36:00 2015
New Revision: 284916
URL: https://svnweb.freebsd.org/changeset/base/284916
Log:
mv: Improve message when moving two or more files to non-directory.
The message text is from cp, which has had a nicer message for this since
2007 (PR bin/50656).
Author: jilles
Date: Wed Jun 24 20:51:48 2015
New Revision: 284779
URL: https://svnweb.freebsd.org/changeset/base/284779
Log:
sh: Fix some arithmetic undefined behaviour.
Fix shifts of possibly negative numbers found with ubsan and avoid signed
integer overflow when hashing an extremely
Author: jilles
Date: Sat Jun 20 20:54:05 2015
New Revision: 284649
URL: https://svnweb.freebsd.org/changeset/base/284649
Log:
fts_children: preserve errno after running close/fchdir
PR: 200942
Submitted by: Conrad Meyer
Differential Revision: https://reviews.freebsd.org/D2852
ls implementations that deviate from this
annoying (e.g. on some embedded systems).
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr
in the thread.
Although power_profile appears to have an appropriate REQUIRE line, it
is in fact started via devd, which happens fairly early.
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
Author: jilles
Date: Sun May 10 14:50:50 2015
New Revision: 282729
URL: https://svnweb.freebsd.org/changeset/base/282729
Log:
recv(),send(): Directly call interposing entry instead of going through PLT.
recv() and send()'s calls to recvfrom() and sendto() are much like
waitpid()'s call
Author: jilles
Date: Tue May 5 13:23:03 2015
New Revision: 282482
URL: https://svnweb.freebsd.org/changeset/base/282482
Log:
cp: Remove fts sorting.
In an attempt to improve performance, cp reordered directories first
(although the comment says directories last). This is not effective
Author: jilles
Date: Sun Apr 26 21:34:55 2015
New Revision: 282041
URL: https://svnweb.freebsd.org/changeset/base/282041
Log:
hexdump: Don't use uninitialized struct stat.
Modified:
head/usr.bin/hexdump/display.c
Modified: head/usr.bin/hexdump/display.c
Author: jilles
Date: Sat Apr 25 21:25:00 2015
New Revision: 281988
URL: https://svnweb.freebsd.org/changeset/base/281988
Log:
libarchive: Allow setting nanosecond timestamps.
Modified:
head/lib/libarchive/config_freebsd.h
Modified: head/lib/libarchive/config_freebsd.h
Author: jilles
Date: Sat Apr 25 13:34:25 2015
New Revision: 281982
URL: https://svnweb.freebsd.org/changeset/base/281982
Log:
sh: Pass along SIGINT from a child if job control is enabled, even when not
interactive.
I added the interactive check in r208881 to be safe, but in actual use
On Sun, Apr 05, 2015 at 02:23:05AM +0300, Sergey Kandaurov wrote:
On 5 April 2015 at 00:47, Jilles Tjoelker jil...@freebsd.org wrote:
Author: jilles
Date: Sat Apr 4 21:47:54 2015
New Revision: 281086
URL: https://svnweb.freebsd.org/changeset/base/281086
Log:
utimensat: Correct
Author: jilles
Date: Sat Apr 4 21:47:54 2015
New Revision: 281086
URL: https://svnweb.freebsd.org/changeset/base/281086
Log:
utimensat: Correct Capsicum required capability rights.
Modified:
head/sys/kern/vfs_syscalls.c
Modified: head/sys/kern/vfs_syscalls.c
Author: jilles
Date: Sat Apr 4 20:22:12 2015
New Revision: 281082
URL: https://svnweb.freebsd.org/changeset/base/281082
Log:
fts: Don't return FTS_SLNONE if it's not a symlink (if race).
When following symlinks, fts returned FTS_SLNONE when fstatat(flag=0)
failed, but a subsequent
Author: jilles
Date: Tue Mar 31 20:51:01 2015
New Revision: 280919
URL: https://svnweb.freebsd.org/changeset/base/280919
Log:
wordexp: Explicitly pass along IFS.
Per Austin group issue #884, sh should not import IFS from the environment
but always set it to $' \t\n'. For wordexp(),
Author: jilles
Date: Tue Mar 31 20:59:37 2015
New Revision: 280920
URL: https://svnweb.freebsd.org/changeset/base/280920
Log:
sh: Add more tests for exotic IFS splitting.
Added:
head/bin/sh/tests/expansion/ifs6.0 (contents, props changed)
head/bin/sh/tests/expansion/ifs7.0 (contents,
) but is not so
slow. The file server people won't like this though.
My proposal for delayed updates as in UFS clearly does not work for TTY
idle times, so there is no point in that.
--
Jilles Tjoelker
___
svn-src-head@freebsd.org mailing list
http
Author: jilles
Date: Sun Mar 29 22:00:24 2015
New Revision: 280830
URL: https://svnweb.freebsd.org/changeset/base/280830
Log:
wordexp(): Add testcase for non-default IFS in environment.
The non-default IFS is expected to be used.
MFC after:1 week
Modified:
201 - 300 of 1143 matches
Mail list logo