Author: jilles
Date: Sun May 9 14:21:34 2010
New Revision: 207816
URL: http://svn.freebsd.org/changeset/base/207816
Log:
Document clock and pshared condvar attributes.
Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the difference of
Author: jilles
Date: Sun May 9 16:04:32 2010
New Revision: 207820
URL: http://svn.freebsd.org/changeset/base/207820
Log:
sh: Fix bug in assignment error test.
The test failed if the command returned nonzero exit status, and it really
should return that.
Modified:
Author: jilles
Date: Sun May 9 16:15:40 2010
New Revision: 207821
URL: http://svn.freebsd.org/changeset/base/207821
Log:
Generate some tests for sh's case command from the fnmatch tests.
I'm committing the generated files because I don't like a build dependency
for the sh(1) tests, and
Author: jilles
Date: Sun May 9 17:10:50 2010
New Revision: 207824
URL: http://svn.freebsd.org/changeset/base/207824
Log:
sh: Add some parser tests.
case1.0 tests POSIX requirements and one more for keywords in case
statements. The others test very special cases of command substitution.
Author: jilles
Date: Sun May 9 17:15:26 2010
New Revision: 207825
URL: http://svn.freebsd.org/changeset/base/207825
Log:
Fix error in comment.
Modified:
head/tools/regression/bin/sh/builtins/var-assign2.0
Modified: head/tools/regression/bin/sh/builtins/var-assign2.0
Author: jilles
Date: Sun May 9 19:30:52 2010
New Revision: 207826
URL: http://svn.freebsd.org/changeset/base/207826
Log:
MFC r207483: pathchk: Add the new POSIX -P option.
This option checks for empty pathnames and components starting with '-'.
Our -p option also checks for the latter,
Author: jilles
Date: Sun May 9 19:32:37 2010
New Revision: 207827
URL: http://svn.freebsd.org/changeset/base/207827
Log:
MFC r207485: pathchk(1): Fix the example so it allows arbitrary pathnames.
Spaces and various other characters in pathnames are not passed through
literally by xargs
Author: jilles
Date: Sun May 9 22:03:18 2010
New Revision: 207831
URL: http://svn.freebsd.org/changeset/base/207831
Log:
sh(1): Fix reserved word vs keyword inconsistency.
Use keyword everywhere, like the output of the 'type' builtin, and only
mention reserved word once to say it is the
Author: jilles
Date: Tue May 11 22:28:55 2010
New Revision: 207935
URL: http://svn.freebsd.org/changeset/base/207935
Log:
sh: Add some simple testcases for pathname expansion.
Added:
head/tools/regression/bin/sh/expansion/pathname1.0 (contents, props changed)
Added:
Author: jilles
Date: Tue May 11 23:19:28 2010
New Revision: 207944
URL: http://svn.freebsd.org/changeset/base/207944
Log:
sh: Fix pathname expansion with quoted slashes like *\/.
These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and
d6d06ff5c2ea0fa44becc5ef4340e5f2f15073e4
Author: jilles
Date: Thu May 13 15:28:34 2010
New Revision: 208029
URL: http://svn.freebsd.org/changeset/base/208029
Log:
MFC r207449: telnet: Fix infinite loop if local output generates SIGPIPE.
Instead of catching SIGPIPE and jumping out of the signal handler with
longjmp, ignore it
Author: jilles
Date: Thu May 13 15:44:49 2010
New Revision: 208032
URL: http://svn.freebsd.org/changeset/base/208032
Log:
MFC r207734: sigaltstack(2): document some modernizations:
* un-document 'struct sigaltstack' tag for stack_t as this is BSD-specific;
this doesn't seem useful enough
Author: jilles
Date: Thu May 13 17:22:00 2010
New Revision: 208037
URL: http://svn.freebsd.org/changeset/base/208037
Log:
MFC r206143,r206148,r206149,r206167,r206491,r206817,r207127,r207824
Various testcases that work correctly with stable/8 sh.
Added:
Author: jilles
Date: Sat May 15 12:42:07 2010
New Revision: 208112
URL: http://svn.freebsd.org/changeset/base/208112
Log:
MFC r207821: Generate some tests for sh's case command
from the fnmatch tests.
I'm committing the generated files because I don't like a build dependency
for the
Author: jilles
Date: Sat May 15 12:51:22 2010
New Revision: 208113
URL: http://svn.freebsd.org/changeset/base/208113
Log:
MFC r207935: sh: Add some simple testcases for pathname expansion.
Added:
stable/8/tools/regression/bin/sh/expansion/pathname1.0
- copied unchanged from r207935,
Author: jilles
Date: Sat May 15 17:49:56 2010
New Revision: 208116
URL: http://svn.freebsd.org/changeset/base/208116
Log:
Change the commented msgs examples in profile/csh.login from -f to -q.
Starting something that wants input on login seems strange and can be
dangerous. In some
Author: jilles
Date: Sun May 16 11:03:46 2010
New Revision: 208138
URL: http://svn.freebsd.org/changeset/base/208138
Log:
MFC r207816: Document clock and pshared condvar attributes.
Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the
Author: jilles
Date: Sun May 16 11:06:32 2010
New Revision: 208139
URL: http://svn.freebsd.org/changeset/base/208139
Log:
MFC r207817: builtin(1): sh has no @ builtin command.
Modified:
stable/8/share/man/man1/builtin.1
Directory Properties:
stable/8/share/man/man1/ (props changed)
Author: jilles
Date: Sun May 16 11:14:11 2010
New Revision: 208140
URL: http://svn.freebsd.org/changeset/base/208140
Log:
MFC r207816: Document clock and pshared condvar attributes.
Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken
as it simply waits for the
Author: jilles
Date: Sun May 16 11:17:21 2010
New Revision: 208141
URL: http://svn.freebsd.org/changeset/base/208141
Log:
MFC r207817: builtin(1): sh has no @ builtin command.
Modified:
stable/7/share/man/man1/builtin.1
Directory Properties:
stable/7/share/man/man1/ (props changed)
Author: jilles
Date: Sun May 16 22:52:51 2010
New Revision: 208174
URL: http://svn.freebsd.org/changeset/base/208174
Log:
MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/.
These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and
Author: jilles
Date: Wed May 19 20:53:21 2010
New Revision: 208313
URL: http://svn.freebsd.org/changeset/base/208313
Log:
MFC r208116: Change the commented msgs examples in profile/csh.login
from -f to -q.
Starting something that wants input on login seems strange and can be
dangerous.
Author: jilles
Date: Sun May 23 22:10:20 2010
New Revision: 208476
URL: http://svn.freebsd.org/changeset/base/208476
Log:
sh: Add some simplistic tests for the wait builtin.
Added:
head/tools/regression/bin/sh/builtins/wait1.0 (contents, props changed)
Author: jilles
Date: Mon May 24 10:35:57 2010
New Revision: 208489
URL: http://svn.freebsd.org/changeset/base/208489
Log:
sh: Reap any zombies before forking for a background command.
This prevents accumulating huge amounts of zombies if a script executes
many background commands but no
Author: jilles
Date: Mon May 24 13:28:12 2010
New Revision: 208501
URL: http://svn.freebsd.org/changeset/base/208501
Log:
sh(1): Improve wording of 'Special Parameters' section.
Modified:
head/bin/sh/sh.1
Modified: head/bin/sh/sh.1
Author: jilles
Date: Mon May 24 15:12:12 2010
New Revision: 208505
URL: http://svn.freebsd.org/changeset/base/208505
Log:
sh(1): Rework documentation of shell variables.
* Move the environment variables that do not need exporting to be
effective or that are set by the shell without
Author: jilles
Date: Fri May 28 22:08:34 2010
New Revision: 208629
URL: http://svn.freebsd.org/changeset/base/208629
Log:
sh: Add some simple tests for ., exec and return from . script.
Added:
head/tools/regression/bin/sh/builtins/dot1.0 (contents, props changed)
Author: jilles
Date: Fri May 28 22:40:24 2010
New Revision: 208630
URL: http://svn.freebsd.org/changeset/base/208630
Log:
sh: Recognize -- in . and exec.
Although -- historically has not been required to be recognized for
certain special builtins that do not take options in POSIX, some
Author: jilles
Date: Sat May 29 20:24:01 2010
New Revision: 208647
URL: http://svn.freebsd.org/changeset/base/208647
Log:
Clarify devfs manpages slightly.
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
necessary to mount a devfs
Author: jilles
Date: Sun May 30 13:32:39 2010
New Revision: 208654
URL: http://svn.freebsd.org/changeset/base/208654
Log:
devfs(5): Also mention when device nodes on ufs stopped working (6.0),
as requested by some people.
MFC after:2 weeks
Modified:
head/share/man/man5/devfs.5
Author: jilles
Date: Sun May 30 14:11:27 2010
New Revision: 208655
URL: http://svn.freebsd.org/changeset/base/208655
Log:
sh: Change interaction of command substitution and here documents.
If a command substitution contains a newline token, this no longer starts
here documents of outer
Author: jilles
Date: Sun May 30 14:20:32 2010
New Revision: 208656
URL: http://svn.freebsd.org/changeset/base/208656
Log:
sh: Fix a crash if a heredoc was not properly ended and parsing continued.
Example (in interactive mode):
cat EOF )
The next command typed caused sh to segfault,
Author: jilles
Date: Wed Jun 2 19:16:58 2010
New Revision: 208755
URL: http://svn.freebsd.org/changeset/base/208755
Log:
sh: Pass TERM changes to libedit.
I have changed the patch slightly to ignore TERM changes in subshells.
PR: bin/146916
Submitted by: Guy Yur
that it looks like if the signal
handler hadn't been there. Shells may rely on this to distinguish
SIGINTs that caused the command to return to its main loop only and
SIGINTs that aborted the entire command: in the latter case any
enclosing structure should be aborted too.
--
Jilles Tjoelker
potentially blocking system calls on EINTR.
If you are wasting two system calls per slow system call anyway, it
would likely be better if they were unmask/mask signals rather than
toggling SA_RESTART.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing
Author: jilles
Date: Sun Jun 6 22:27:32 2010
New Revision: 208881
URL: http://svn.freebsd.org/changeset/base/208881
Log:
sh: Pass through SIGINT from a child if interactive and job control
is enabled.
This already worked if without job control.
In either case, this depends on it
Author: jilles
Date: Sun Jun 13 17:04:42 2010
New Revision: 209136
URL: http://svn.freebsd.org/changeset/base/209136
Log:
libedit: Add basic filename completion code from NetBSD.
This will be used to provide filename completion in sh(1).
Changes from the NetBSD code:
* wide
Author: jilles
Date: Tue Jun 15 21:00:53 2010
New Revision: 209217
URL: http://svn.freebsd.org/changeset/base/209217
Log:
libedit: Fix a bug that could make completion listings incomplete.
The element matches[0] is the common prefix and is not counted in len, so
subtracting 1 is not
Author: jilles
Date: Tue Jun 15 21:34:57 2010
New Revision: 209219
URL: http://svn.freebsd.org/changeset/base/209219
Log:
libedit: Allow simple quoting in filename completion.
The completer recognizes characters escaped with backslashes as being
literal parts of a word, and adds
Author: jilles
Date: Tue Jun 15 21:58:40 2010
New Revision: 209221
URL: http://svn.freebsd.org/changeset/base/209221
Log:
sh: Add filename completion.
This uses the new libedit completion function with quoting support.
Unlike NetBSD, there is no 'set +o tabcomplete' option to disable
Author: jilles
Date: Tue Jun 15 22:23:21 2010
New Revision: 209224
URL: http://svn.freebsd.org/changeset/base/209224
Log:
libedit: Reduce surprising behaviour with filename completion some more:
* Quote '*', '?' and '['. While it may be more useful to expand them to
matching pathnames,
On Tue, Jun 15, 2010 at 03:10:11PM -0700, Colin Percival wrote:
Jilles Tjoelker wrote:
Unlike NetBSD, there is no 'set +o tabcomplete' option to disable
completion. I do not see any reason for such a special treatment, as
completion is rather useful and it is possible to do
bind
.
More demanding users will want to use a more powerful interactive shell,
and I think most operating systems based on FreeBSD should provide some
(this does not mean they should be in the base system).
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing
Author: jilles
Date: Sat Jun 19 10:33:04 2010
New Revision: 209337
URL: http://svn.freebsd.org/changeset/base/209337
Log:
sh: Fix compilation with -DNO_HISTORY.
The LINENO code uses snprintf() and relied on myhistedit.h to pull in the
necessary stdio.h.
Compiling with -DNO_HISTORY
Author: jilles
Date: Wed Jun 23 20:59:00 2010
New Revision: 209484
URL: http://svn.freebsd.org/changeset/base/209484
Log:
MFC r208647,r208654: Clarify devfs manpages slightly.
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
Author: jilles
Date: Sat Jun 26 14:42:07 2010
New Revision: 209537
URL: http://svn.freebsd.org/changeset/base/209537
Log:
MFC r208647,r208654: Clarify devfs manpages slightly.
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
cause signals to be generated?
SIGTTIN and SIGTTOU from read/write/ioctl are sent to the entire process
group and are therefore not sent to a specific thread.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman
Author: jilles
Date: Tue Jun 29 22:37:45 2010
New Revision: 209600
URL: http://svn.freebsd.org/changeset/base/209600
Log:
sh: Forget about terminated background processes sooner.
Unless $! has been referenced for a particular job or $! still contains that
job's pid, forget about it after
Author: jilles
Date: Fri Jul 2 21:31:24 2010
New Revision: 209652
URL: http://svn.freebsd.org/changeset/base/209652
Log:
sh: Remove comment that the comma operator is missing in arithmetic
expansion.
The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic
Precision and
Author: jilles
Date: Fri Jul 2 22:17:13 2010
New Revision: 209653
URL: http://svn.freebsd.org/changeset/base/209653
Log:
sh: Use $PWD instead of getcwd() for the \w and \W prompt expansions.
This ensures that the logical working directory (which may include
symlinks) is shown and is
Author: jilles
Date: Sat Jul 3 21:06:48 2010
New Revision: 209675
URL: http://svn.freebsd.org/changeset/base/209675
Log:
MFC r207944: sh: Fix pathname expansion with quoted slashes like *\/.
These are git commits 36f0fa8fcbc8c7b2b194addd29100fb40e73e4e9 and
Author: jilles
Date: Sat Jul 3 21:31:05 2010
New Revision: 209676
URL: http://svn.freebsd.org/changeset/base/209676
Log:
MFC r209337: sh: Fix compilation with -DNO_HISTORY.
The LINENO code uses snprintf() and relied on myhistedit.h to pull in the
necessary stdio.h.
Compiling with
Author: jilles
Date: Wed Jul 14 22:31:45 2010
New Revision: 210087
URL: http://svn.freebsd.org/changeset/base/210087
Log:
sh: There cannot be a TNOT in simplecmd(), remove checks.
simplecmd() only handles simple commands and function definitions, neither
of which involves the ! keyword.
Author: jilles
Date: Sun Jul 18 12:45:31 2010
New Revision: 210221
URL: http://svn.freebsd.org/changeset/base/210221
Log:
sh: Allow a background command consisting solely of redirections.
Example:
/dev/null
MFC after:2 weeks
Added:
in the echo commands should be quoted to avoid word
splitting and pathname generation.
+ fi
+ ;;
+ esac
+ done
+ ;;
+ *)
+ rc=0
+ ;;
+esac
+
+exit $rc
--
Jilles Tjoelker
___
svn
Author: jilles
Date: Sun Jul 25 22:25:52 2010
New Revision: 210488
URL: http://svn.freebsd.org/changeset/base/210488
Log:
sh: Fix crash due to uninitialized here-document.
If an ; or token was followed by an EOF token, pending here-documents were
left uninitialized. Execution would
));
strlcpy(dir, p-fts_path,
(d - p-fts_path + 1));
Why do the buffer sizes differ here? Also, this can be a memcpy plus a
'\0' write instead of a strlcpy.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org
Author: jilles
Date: Thu Jul 29 16:40:45 2010
New Revision: 210613
URL: http://svn.freebsd.org/changeset/base/210613
Log:
kill: Stop processing if a syntactically invalid pid is encountered.
So a command like
kill _HUP 1
now fails without sending SIGTERM to init.
The behaviour
Author: jilles
Date: Thu Jul 29 16:55:27 2010
New Revision: 210616
URL: http://svn.freebsd.org/changeset/base/210616
Log:
MFC r208881: sh: Pass through SIGINT if interactive and job control
is enabled.
This already worked if without job control.
In either case, this depends on it
currently on stable/8 is incorrect...
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Author: jilles
Date: Sun Aug 1 15:41:00 2010
New Revision: 210734
URL: http://svn.freebsd.org/changeset/base/210734
Log:
Allow starting /etc/rc.d/ipmon if ipnat is enabled but ipfilter is not
(in /etc/rc.conf).
This fixes an apparent confusion between test(1) and sh(1) syntax for
Author: jilles
Date: Sun Aug 1 16:37:51 2010
New Revision: 210736
URL: http://svn.freebsd.org/changeset/base/210736
Log:
sh: Do not enter consecutive duplicates into the history.
This simply sets a flag in libedit. It has a shortcoming in that it does not
apply to multi-line commands.
Author: jilles
Date: Sun Aug 1 22:39:07 2010
New Revision: 210738
URL: http://svn.freebsd.org/changeset/base/210738
Log:
sh: Add a test for a corner case in eval that already works correctly.
Added:
head/tools/regression/bin/sh/builtins/eval4.0 (contents, props changed)
Added:
Author: jilles
Date: Sun Jan 10 16:58:12 2010
New Revision: 202017
URL: http://svn.freebsd.org/changeset/base/202017
Log:
MFC r210428: sh: Add a regression test that tries out all arithmetic ops.
The gaps in the numbering sequence cannot really be avoided, as HEAD changes
are not
additional code on it seems inappropriate.
Even then, fread()/fwrite() will not generate such large
read(2)/write(2) requests as they always go through the buffer which is
filled using smaller requests.
Also, EOVERFLOW will give a more understandable error message for users.
--
Jilles Tjoelker
Author: jilles
Date: Thu Jan 14 23:27:23 2010
New Revision: 202324
URL: http://svn.freebsd.org/changeset/base/202324
Log:
In 'make delete-old', use 'exec' to redirect an fd persistently.
That is, write 'exec 30' instead of '30'. Due to an sh(1) bug fixed in
r199953, the latter also
arithmetic, so
the dependency seems fairly fundamental.
In the light of this, the size of the binary compared to the GNU one
seems a bit disappointing to me.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
Author: jilles
Date: Thu Jan 28 22:15:29 2010
New Revision: 203133
URL: http://svn.freebsd.org/changeset/base/203133
Log:
MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently
That is, write 'exec 30' instead of '30'. Due to an sh(1) bug fixed in
head in r199953,
Author: jilles
Date: Sat Feb 6 22:57:24 2010
New Revision: 203576
URL: http://svn.freebsd.org/changeset/base/203576
Log:
sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells.
These may be NFS mounted, and we should not touch them unless we are going
to do something useful with
Author: jilles
Date: Mon Feb 8 18:57:18 2010
New Revision: 203677
URL: http://svn.freebsd.org/changeset/base/203677
Log:
sh: Make sure the mail2.0 test can actually fail if $MAIL is not touched.
Modified:
head/tools/regression/bin/sh/parameters/mail2.0
Modified:
Author: jilles
Date: Wed Feb 17 22:22:20 2010
New Revision: 204016
URL: http://svn.freebsd.org/changeset/base/204016
Log:
sh: arith: Test an octal constant as well.
Modified:
head/tools/regression/bin/sh/expansion/arith2.0
Modified: head/tools/regression/bin/sh/expansion/arith2.0
Author: jilles
Date: Wed Feb 17 22:25:22 2010
New Revision: 204017
URL: http://svn.freebsd.org/changeset/base/204017
Log:
sh: arith: Add a test for a bug in the dash arith code,
which I plan to import at some point.
Our current code handles it fine and it should stay that way.
Added:
jake [label=Jake burkholder\nj...@freebsd.org\n2000/05/16]
jamie [label=Jamie gritton\nja...@freebsd.org\n2009/01/28]
jayanth [label=Jayanth vijayaraghavan\njaya...@freebsd.org\n2000/05/08]
+jilles [label=Jilles tjoelker\njil...@freebsd.org\n2009/05/22]
jinmei [label=JINMEI tatuya\njin
Author: jilles
Date: Sun May 24 15:27:25 2009
New Revision: 192687
URL: http://svn.freebsd.org/changeset/base/192687
Log:
Fix chflags -h in various cases: do not use link target's flags as original.
Patch slightly changed to align more with chmod.c.
PR: bin/131999
Author: jilles
Date: Sat May 30 10:36:14 2009
New Revision: 193086
URL: http://svn.freebsd.org/changeset/base/193086
Log:
Preserve file flags on symlinks in cp -Rp.
This reported ENOSYS before.
PR: bin/111226 (part of)
Submitted by: Martin Kammerhofer
Approved by: ed
Author: jilles
Date: Sat May 30 10:42:19 2009
New Revision: 193087
URL: http://svn.freebsd.org/changeset/base/193087
Log:
rm, find -delete: fix removing symlinks with uchg/uappnd set.
Formerly, this tried to clear the flags on the symlink's target
instead of the symlink itself.
As
Author: jilles
Date: Sun May 31 19:37:06 2009
New Revision: 193185
URL: http://svn.freebsd.org/changeset/base/193185
Log:
sh: Make read's timeout (-t) apply to the entire line, not only the first
character.
This avoids using non-standard behaviour of the old (upto FreeBSD 7) TTY
layer:
Author: jilles
Date: Mon Jun 1 21:26:52 2009
New Revision: 193273
URL: http://svn.freebsd.org/changeset/base/193273
Log:
Fix segfault when giving invalid long option to pkg_info.
PR: bin/133473
Submitted by: Rafal Grodzinski
Approved by: ed (mentor)
MFC after:1 week
and give
a type larger than size_t, and %z is wrong. To use %z, the expression
should be written as (size_t)(pathlen + 1).
The promotion is not a problem because it would happen anyway, as it is
an unprototyped parameter. printf and the like know this.
--
Jilles Tjoelker
Author: jilles
Date: Mon Jun 8 22:05:47 2009
New Revision: 193776
URL: http://svn.freebsd.org/changeset/base/193776
Log:
MFC r193273: Fix segfault when giving invalid long option to pkg_info.
PR: bin/133473
Submitted by: Rafal Grodzinski
Approved by: ed (mentor)
Modified:
SHM objects even without this change.
The change will likely help people that link statically to libc (boo!)
or do weird things with the 7.x libc.so.7 file.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman
Author: jilles
Date: Sat Jun 13 21:10:41 2009
New Revision: 194127
URL: http://svn.freebsd.org/changeset/base/194127
Log:
Don't skip forking for an external command if any traps are active.
Example:
sh -c '(trap echo trapped EXIT; sleep 3)'
now correctly prints trapped.
With
Author: jilles
Date: Sat Jun 13 21:17:45 2009
New Revision: 194128
URL: http://svn.freebsd.org/changeset/base/194128
Log:
Avoid leaving unnecessary waiting shells in many forms of sh -c COMMAND.
This change only affects strings passed to -c, when the -s
option is not used.
The
Author: jilles
Date: Sun Jun 14 16:21:51 2009
New Revision: 194196
URL: http://svn.freebsd.org/changeset/base/194196
Log:
Add tests for r194127 and r194128.
Approved by: ed (mentor)
Added:
head/tools/regression/bin/sh/builtins/trap1.0 (contents, props changed)
Author: jilles
Date: Sun Jun 14 17:03:59 2009
New Revision: 194199
URL: http://svn.freebsd.org/changeset/base/194199
Log:
MFC r192687: fix chflags -h
PR: bin/131999
Submitted by: bde
Approved by: ed (mentor)
Modified:
stable/7/bin/chflags/ (props changed)
Author: jilles
Date: Sun Jun 14 17:05:54 2009
New Revision: 194200
URL: http://svn.freebsd.org/changeset/base/194200
Log:
MFC r192688: fix nonsense in ps etime field for swapped out processes
PR: bin/123069
Submitted by: Vladimir Kozbin
Approved by: ed (mentor)
Modified:
Author: jilles
Date: Wed Jun 17 21:58:32 2009
New Revision: 194406
URL: http://svn.freebsd.org/changeset/base/194406
Log:
Properly flush input after an error in backquotes in interactive mode.
For parsing an old-style backquote substitution (`...`),
a string file is used to store the
Author: jilles
Date: Fri Jun 19 22:09:55 2009
New Revision: 194516
URL: http://svn.freebsd.org/changeset/base/194516
Log:
Fix some issues with quoted output and shorten it in some cases.
Output quoted suitable for re-input to the shell occurs in
various cases such as 'set', 'trap'.
Author: jilles
Date: Fri Jun 19 22:15:59 2009
New Revision: 194517
URL: http://svn.freebsd.org/changeset/base/194517
Log:
Add tests for r194406 and r194516.
Approved by: ed (mentor)
Added:
head/tools/regression/bin/sh/builtins/trap2.0 (contents, props changed)
Author: jilles
Date: Sat Feb 27 12:15:59 2010
New Revision: 204410
URL: http://svn.freebsd.org/changeset/base/204410
Log:
Include terminated threads in ps's process cpu time field.
MFC after:2 weeks
Modified:
head/sys/kern/kern_proc.c
Modified: head/sys/kern/kern_proc.c
On Sat, Feb 27, 2010 at 11:54:33AM -0800, Julian Elischer wrote:
Jilles Tjoelker wrote:
Log:
Include terminated threads in ps's process cpu time field.
this patch seems to do a lot less than the comment suggests.
I guess the commit message could have been more verbose.
When a kinfo_proc
, ki_sigmask could be the logical AND of all threads'
td_sigmask when gathering information for the process, instead of the
td_sigmask of the most recently created thread; fill_kinfo_aggregate()
could handle this.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org
On Sun, Feb 28, 2010 at 01:15:08PM +0200, Kostik Belousov wrote:
On Sat, Feb 27, 2010 at 11:08:54PM +0100, Jilles Tjoelker wrote:
On Sat, Feb 27, 2010 at 03:32:49PM +, Konstantin Belousov wrote:
Author: kib
Date: Sat Feb 27 15:32:49 2010
New Revision: 204413
URL: http
Author: jilles
Date: Sat Mar 6 16:57:53 2010
New Revision: 204800
URL: http://svn.freebsd.org/changeset/base/204800
Log:
sh: Improve the command builtin:
* avoid unnecessary fork
* allow executing builtins via command
* executing a special builtin via command removes its special
Author: jilles
Date: Sat Mar 6 17:09:22 2010
New Revision: 204801
URL: http://svn.freebsd.org/changeset/base/204801
Log:
sh: Make sure to popredir() even if a special builtin caused an error.
Added:
head/tools/regression/bin/sh/builtins/command9.0 (contents, props changed)
Modified:
Author: jilles
Date: Sat Mar 6 17:31:09 2010
New Revision: 204802
URL: http://svn.freebsd.org/changeset/base/204802
Log:
sh: Make sure to popredir() even if a function caused an error.
Added:
head/tools/regression/bin/sh/builtins/command10.0 (contents, props changed)
Modified:
Author: jilles
Date: Sun Mar 7 15:08:42 2010
New Revision: 204836
URL: http://svn.freebsd.org/changeset/base/204836
Log:
sh: Add various testcases for here documents.
They are mainly about expansions in here documents but because all the
testcases are in $() command substitution, we
Author: jilles
Date: Sun Mar 7 18:43:29 2010
New Revision: 204842
URL: http://svn.freebsd.org/changeset/base/204842
Log:
sh: Add some testcases for ${v=w}, ${v-w}, ${v+w}.
These expansions, which were already in the Bourne shell, work correctly for
the most part. The testcases are only
Author: jilles
Date: Fri Mar 12 23:23:46 2010
New Revision: 205105
URL: http://svn.freebsd.org/changeset/base/205105
Log:
sh: Add tests for and $ inside `.
Added:
head/tools/regression/bin/sh/expansion/cmdsubst2.0 (contents, props changed)
Added:
Author: jilles
Date: Sat Mar 13 20:43:11 2010
New Revision: 205130
URL: http://svn.freebsd.org/changeset/base/205130
Log:
sh: Fix longjmp clobber warnings in parser.c.
Make parsebackq a function instead of an emulated nested function.
This puts the setjmp usage in a smaller function
101 - 200 of 1758 matches
Mail list logo