Author: jilles
Date: Sun Jun 21 15:36:10 2009
New Revision: 194587
URL: http://svn.freebsd.org/changeset/base/194587
Log:
MFC r193086: Preserve file flags on symlinks in cp -Rp.
This reported ENOSYS before.
PR: bin/111226 (part of)
Submitted by: Martin Kammerhofer
Approved
Author: jilles
Date: Tue Jun 23 20:45:12 2009
New Revision: 194765
URL: http://svn.freebsd.org/changeset/base/194765
Log:
sh: Improve handling of setjmp/longjmp volatile:
- remove ineffective and unnecessary (void) var; [1]
- remove some unnecessary volatile keywords
- add a necessary
Author: jilles
Date: Tue Jun 23 21:50:06 2009
New Revision: 194774
URL: http://svn.freebsd.org/changeset/base/194774
Log:
Do not fork for a subshell if it is the last thing this shell is doing
(EV_EXIT). The fork is still done as normal if any traps are active.
In many cases, the fork
Author: jilles
Date: Tue Jun 23 22:03:56 2009
New Revision: 194775
URL: http://svn.freebsd.org/changeset/base/194775
Log:
Add tests for r194774.
Approved by: ed (mentor) (implicit)
Added:
head/tools/regression/bin/sh/execution/fork2.0 (contents, props changed)
Added:
Author: jilles
Date: Tue Jun 23 22:53:34 2009
New Revision: 194786
URL: http://svn.freebsd.org/changeset/base/194786
Log:
Quote -x tracing output so it is unambiguous.
It is usually but not always suitable for re-input to the shell.
Approved by: ed (mentor) (implicit)
Modified:
Author: jilles
Date: Wed Jun 24 22:04:04 2009
New Revision: 194922
URL: http://svn.freebsd.org/changeset/base/194922
Log:
Designate special builtins as such in command -V and type.
Also document various properties of special builtins that we implement.
Approved by: ed (mentor)
Author: jilles
Date: Thu Jun 25 17:10:51 2009
New Revision: 194975
URL: http://svn.freebsd.org/changeset/base/194975
Log:
Improve IFS expansion using code from NetBSD.
We now pass the ifs.sh testsuite.
PR: standards/79067
Approved by: ed (mentor) (implicit)
Obtained
Author: jilles
Date: Thu Jun 25 17:36:08 2009
New Revision: 194981
URL: http://svn.freebsd.org/changeset/base/194981
Log:
Add some tests for r194975 and r194977.
Approved by: ed (mentor) (implicit)
Added:
head/tools/regression/bin/sh/expansion/
On Wed, Jul 01, 2009 at 03:52:19PM +, Edward Tomasz Napierala wrote:
+ ret = pathconf(ent-fts_accpath, _PC_ACL_NFS4);
There doesn't seem to be anything like lpathconf() or
fpathconfat(AT_SYMLINK_NOFOLLOW), so this may not work properly for
symlinks (chmod -h).
--
Jilles
with AT_SYMLINK_NOFOLLOW option
would be useful here.
* link()
* symlink()
linkat() and symlinkat() exist.
In addition to providing the at functionality, linkat() allows
creating hard links to symlinks.
--
Jilles Tjoelker
___
svn-src-all@freebsd.org
Author: jilles
Date: Sun Jul 19 16:48:25 2009
New Revision: 195763
URL: http://svn.freebsd.org/changeset/base/195763
Log:
Correct AT_SYMLINK_FOLLOW flag name in linkat(2) man page.
Approved by: re (kib), ed (mentor)
Modified:
head/lib/libc/sys/link.2
Modified: head/lib/libc/sys/link.2
Author: jilles
Date: Sun Jul 19 17:35:23 2009
New Revision: 195768
URL: http://svn.freebsd.org/changeset/base/195768
Log:
Allow creating hard links to symlinks using ln(1).
This implements the POSIX.1-2008 -L and -P flags.
The default remains to create hard links to the target of
Author: jilles
Date: Sun Aug 23 21:09:46 2009
New Revision: 196483
URL: http://svn.freebsd.org/changeset/base/196483
Log:
sh: Fix crash when undefining or redefining a currently executing function.
Add a reference count to function definitions.
Memory may leak if multiple SIGINTs arrive
by our distinction between new and old
readers.
tools/regression/poll does not test shutdown(2) interaction, so it does
not find this problem.
--
Jilles Tjoelker
Index: sys/kern/uipc_socket.c
===
--- sys/kern/uipc_socket.c (revision
Author: jilles
Date: Tue Aug 25 20:33:37 2009
New Revision: 196554
URL: http://svn.freebsd.org/changeset/base/196554
Log:
Add some tests for poll(2)/shutdown(2) interaction.
Added:
head/tools/regression/poll/sockpoll.c (contents, props changed)
Modified:
On Tue, Aug 25, 2009 at 04:07:11AM +1000, Bruce Evans wrote:
On Sun, 23 Aug 2009, Jilles Tjoelker wrote:
I think poll on fifos should instead be fixed by closing the
half-connection corresponding to writing from fi_readsock to
fi_writesock. I have tried this out, see attached patch
Author: jilles
Date: Tue Aug 25 21:44:14 2009
New Revision: 196556
URL: http://svn.freebsd.org/changeset/base/196556
Log:
Fix poll() on half-closed sockets, while retaining POLLHUP for fifos.
This reverts part of r196460, so that sockets only return POLLHUP if both
directions are
On Wed, Aug 26, 2009 at 05:08:57PM +1000, Bruce Evans wrote:
On Tue, 25 Aug 2009, Jilles Tjoelker wrote:
On Tue, Aug 25, 2009 at 04:07:11AM +1000, Bruce Evans wrote:
On Sun, 23 Aug 2009, Jilles Tjoelker wrote:
% Index: sys/fs/fifofs/fifo_vnops.c
Author: jilles
Date: Fri Aug 28 22:41:25 2009
New Revision: 196634
URL: http://svn.freebsd.org/changeset/base/196634
Log:
sh: Fix crash with empty functions (f() { }) introduced in r196483
Empty pairs of braces are represented by a NULL node pointer, just like
empty lines at the top
Author: jilles
Date: Tue Sep 1 20:58:41 2009
New Revision: 196741
URL: http://svn.freebsd.org/changeset/base/196741
Log:
MFC r196460
Fix the conformance of poll(2) for sockets after r195423 by
returning POLLHUP instead of POLLIN for several cases. Now, the
tools/regression/poll
Author: jilles
Date: Sun Sep 20 16:47:56 2009
New Revision: 197363
URL: http://svn.freebsd.org/changeset/base/197363
Log:
Update find(1) man page for -L/-delete interaction.
It is a bit unfortunate that the example to delete broken symlinks now uses
rm(1), but allowing this with -delete
Author: jilles
Date: Sun Sep 20 21:42:38 2009
New Revision: 197371
URL: http://svn.freebsd.org/changeset/base/197371
Log:
Mention that NUL characters are not allowed in sh(1) input.
I do not consider this a bug because POSIX permits it and argument strings
and environment variables
Author: jilles
Date: Tue Sep 29 21:28:32 2009
New Revision: 197625
URL: http://svn.freebsd.org/changeset/base/197625
Log:
Fix using lp(1) without the new -t option after r194171.
PR: standards/129554
Tested by:Steve Kargl
MFC after:1 week
Modified:
Author: jilles
Date: Thu Oct 1 21:40:08 2009
New Revision: 197691
URL: http://svn.freebsd.org/changeset/base/197691
Log:
sh: Disallow mismatched quotes in backticks (`...`).
Due to the amount of code removed by this, it seems that allowing unmatched
quotes was a deliberate imitation of
Author: jilles
Date: Sun Oct 4 17:16:11 2009
New Revision: 197748
URL: http://svn.freebsd.org/changeset/base/197748
Log:
MFC r197371: Mention that NUL characters are not allowed in sh(1) input.
I do not consider this a bug because POSIX permits it and argument strings
and environment
Author: jilles
Date: Sun Oct 4 17:22:51 2009
New Revision: 197749
URL: http://svn.freebsd.org/changeset/base/197749
Log:
MFC r197363: Update find(1) man page for -L/-delete interaction.
It is a bit unfortunate that the example to delete broken symlinks now uses
rm(1), but allowing this
Author: jilles
Date: Tue Oct 6 21:23:49 2009
New Revision: 197815
URL: http://svn.freebsd.org/changeset/base/197815
Log:
MFC r197625: Fix using lp(1) without the new -t option after r194171.
Approved by: re (kib)
Modified:
stable/8/usr.sbin/lpr/ (props changed)
Author: jilles
Date: Tue Oct 6 21:49:13 2009
New Revision: 197819
URL: http://svn.freebsd.org/changeset/base/197819
Log:
MFC r197625: Fix using lp(1) without the new -t option after r195349.
Modified:
stable/7/usr.sbin/lpr/ (props changed)
stable/7/usr.sbin/lpr/lp/lp.sh
Modified:
Author: jilles
Date: Tue Oct 6 22:00:14 2009
New Revision: 197820
URL: http://svn.freebsd.org/changeset/base/197820
Log:
sh: Send the xyz: not found message to redirected fd 2.
This also fixes that trying to execute a non-regular file with a command
name without '/' returns 127 instead of
Author: jilles
Date: Wed Oct 7 22:21:53 2009
New Revision: 197848
URL: http://svn.freebsd.org/changeset/base/197848
Log:
Clarify quoting of word in ${v=word} in sh(1).
Modified:
head/bin/sh/sh.1
Modified: head/bin/sh/sh.1
Author: jilles
Date: Sun Oct 11 16:35:12 2009
New Revision: 197959
URL: http://svn.freebsd.org/changeset/base/197959
Log:
MFC r196483,r196634:
sh: Fix crash when undefining or redefining a currently executing function
Add a reference count to function definitions.
Memory may leak if a
Author: jilles
Date: Sun Oct 11 20:19:45 2009
New Revision: 197968
URL: http://svn.freebsd.org/changeset/base/197968
Log:
Make openat(2) a cancellation point.
This is required by POSIX and matches open(2).
Reviewed by: kib, jhb
MFC after:1 month
Modified:
Author: jilles
Date: Tue Oct 13 20:58:22 2009
New Revision: 198053
URL: http://svn.freebsd.org/changeset/base/198053
Log:
Make getcwd(3) faster, simpler and more compliant using *at syscalls.
It is no longer necessary to construct long paths consisting of repeated
../ which may be slow
Author: jilles
Date: Tue Oct 13 21:51:50 2009
New Revision: 198056
URL: http://svn.freebsd.org/changeset/base/198056
Log:
ls: Make -p not inhibit following symlinks.
According to the man page, when neither -H/-L nor -F/-d/-l are given, -H is
implied. This agrees with POSIX, GNU ls and
Author: jilles
Date: Fri Oct 16 16:17:57 2009
New Revision: 198173
URL: http://svn.freebsd.org/changeset/base/198173
Log:
sh: Show more information about syntax errors in command substitution:
the line number where the command substitution started.
This applies to both the $() and `` forms
Author: jilles
Date: Fri Oct 23 14:50:11 2009
New Revision: 198406
URL: http://svn.freebsd.org/changeset/base/198406
Log:
wordexp(3): fix some bugs with signals and long outputs
* retry various system calls on EINTR
* retry the rest after a short read (common if there is more than about 1K
Author: jilles
Date: Sat Oct 24 20:57:11 2009
New Revision: 198453
URL: http://svn.freebsd.org/changeset/base/198453
Log:
Add some tests for ${var?} and set -u.
Added:
head/tools/regression/bin/sh/expansion/question1.0 (contents, props changed)
Author: jilles
Date: Sat Oct 24 21:20:04 2009
New Revision: 198454
URL: http://svn.freebsd.org/changeset/base/198454
Log:
sh: Exempt $@ and $* from set -u
This seems more useful and will likely be in the next POSIX standard.
Also document more precisely in the man page what set -u
Author: jilles
Date: Thu Oct 29 21:13:57 2009
New Revision: 198624
URL: http://svn.freebsd.org/changeset/base/198624
Log:
MFC r197371: Mention that NUL characters are not allowed in sh(1) input.
I do not consider this a bug because POSIX permits it and argument strings
and environment
Author: jilles
Date: Thu Oct 29 21:25:16 2009
New Revision: 198628
URL: http://svn.freebsd.org/changeset/base/198628
Log:
MFC r197363: Update find(1) man page for -L/-delete interaction.
It is a bit unfortunate that the example to delete broken symlinks now uses
rm(1), but allowing this
Author: jilles
Date: Thu Nov 5 20:44:39 2009
New Revision: 198963
URL: http://svn.freebsd.org/changeset/base/198963
Log:
sh: Fix memory leak when using a variable in arithmetic like $((x)).
MFC after:3 weeks
Modified:
head/bin/sh/arith_lex.l
Modified: head/bin/sh/arith_lex.l
Author: jilles
Date: Wed Nov 11 23:13:24 2009
New Revision: 199205
URL: http://svn.freebsd.org/changeset/base/199205
Log:
sh: Use sigaction instead of signal/siginterrupt combination.
Modified:
head/bin/sh/trap.c
Modified: head/bin/sh/trap.c
Author: jilles
Date: Sat Nov 14 22:08:32 2009
New Revision: 199282
URL: http://svn.freebsd.org/changeset/base/199282
Log:
sh: Allow a newline before in in a for command, as required by POSIX.
Added:
head/tools/regression/bin/sh/parser/for1.0 (contents, props changed)
Modified:
to) becoming visible.
--
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
1970 (empty, because file is newly added)
+++ head/bin/pwait/pwait.1 Tue Nov 17 22:47:20 2009(r199458)
@@ -0,0 +1,78 @@
+.\
+.\ Copyright (c) 2004-2009, Jilles Tjoelker
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with
+.\ or without modification
Author: jilles
Date: Sun Apr 11 12:24:47 2010
New Revision: 206473
URL: http://svn.freebsd.org/changeset/base/206473
Log:
sh: Partially revert r206146, allowing double-quotes in arithmetic.
These do pretty much nothing (except that parentheses are ignored), but
people seem to use them
Author: jilles
Date: Sun Apr 11 20:21:34 2010
New Revision: 206491
URL: http://svn.freebsd.org/changeset/base/206491
Log:
sh: Test that bogus values of PWD are not imported from the environment.
Current versions pass this test trivially by never importing PWD, but I plan
to change sh to
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/regression/lib/libc/gen/test-fnmatch.c Fri Apr 16 22:15:26
2010(r206710)
@@ -0,0 +1,335 @@
+/*-
+ * Copyright (c) 2010 Jilles Tjoelker
+ * All
Author: jilles
Date: Fri Apr 16 22:29:24 2010
New Revision: 206711
URL: http://svn.freebsd.org/changeset/base/206711
Log:
fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen.
Example: fnmatch(a*b/*, abbb/.x, FNM_PATHNAME | FNM_PERIOD)
PR: 116074
MFC after:
Author: jilles
Date: Sat Apr 17 14:35:46 2010
New Revision: 206759
URL: http://svn.freebsd.org/changeset/base/206759
Log:
sh: On startup of the shell, use PWD from the environment if it is valid.
Unset PWD if it is incorrect and no value for it can be determined.
This preserves the logical
Author: jilles
Date: Sat Apr 17 15:52:50 2010
New Revision: 206760
URL: http://svn.freebsd.org/changeset/base/206760
Log:
getcwd(3): Clarify that EACCES may or may not be checked.
POSIX permits but does not require checking access on the current and parent
directories.
Because
Author: jilles
Date: Sat Apr 17 22:39:53 2010
New Revision: 206773
URL: http://svn.freebsd.org/changeset/base/206773
Log:
ln: Refuse deleting a directory entry by hardlinking it to itself.
Two pathnames refer to the same directory entry iff the directories match
and the final components'
Author: jilles
Date: Sun Apr 18 22:13:45 2010
New Revision: 206817
URL: http://svn.freebsd.org/changeset/base/206817
Log:
sh: Add testcases for double-quotes within quoted ${var+-...} (non-POSIX).
POSIX leaves things like ${var+word} undefined.
We follow traditional ash behaviour here.
Author: jilles
Date: Tue Apr 20 22:20:31 2010
New Revision: 206942
URL: http://svn.freebsd.org/changeset/base/206942
Log:
MFC r199282: sh: Allow a newline before in in a for command,
as required by POSIX.
Added:
stable/8/tools/regression/bin/sh/parser/for1.0
- copied unchanged from
Author: jilles
Date: Tue Apr 20 22:32:34 2010
New Revision: 206944
URL: http://svn.freebsd.org/changeset/base/206944
Log:
MFC r200943: sh: Remove setting variables from dotcmd/exportcmd.
It is already done by evalcommand(), unless special-ness has been removed,
in which case variable
Author: jilles
Date: Tue Apr 20 22:52:28 2010
New Revision: 206950
URL: http://svn.freebsd.org/changeset/base/206950
Log:
MFC r203576,r203677: sh: Don't stat() $MAIL/$MAILPATH if not interactive.
These may be NFS mounted, and we should not touch them unless we are going
to do something
Author: jilles
Date: Wed Apr 21 21:57:03 2010
New Revision: 207021
URL: http://svn.freebsd.org/changeset/base/207021
Log:
ln: Allow a trailing slash when creating a link to a directory.
In the 'ln source... directory' synopsis, the basename of each source
determines the name of the
Author: jilles
Date: Fri Apr 23 17:26:49 2010
New Revision: 207127
URL: http://svn.freebsd.org/changeset/base/207127
Log:
sh: Add some more tests for ${v#...} and ${v%...}.
These pass on stable/8 as well.
Added:
head/tools/regression/bin/sh/expansion/trim3.0 (contents, props changed)
00:00:00 1970 (empty, because file is newly added)
+++ stable/8/tools/regression/lib/libc/gen/test-fnmatch.c Fri Apr 23
17:52:36 2010(r207128, copy of r206710,
head/tools/regression/lib/libc/gen/test-fnmatch.c)
@@ -0,0 +1,335 @@
+/*-
+ * Copyright (c) 2010 Jilles Tjoelker
Author: jilles
Date: Fri Apr 23 18:01:19 2010
New Revision: 207129
URL: http://svn.freebsd.org/changeset/base/207129
Log:
MFC r206711: fnmatch: Fix bad FNM_PERIOD disabling
if an asterisk has been seen.
Example: fnmatch(a*b/*, abbb/.x, FNM_PATHNAME | FNM_PERIOD)
PR: 116074
Author: jilles
Date: Fri Apr 23 19:26:03 2010
New Revision: 207132
URL: http://svn.freebsd.org/changeset/base/207132
Log:
MFC r197848: Clarify quoting of word in ${v=word} in sh(1).
Modified:
stable/8/bin/sh/sh.1
Directory Properties:
stable/8/bin/sh/ (props changed)
Modified:
Author: jilles
Date: Sat Apr 24 13:53:12 2010
New Revision: 207153
URL: http://svn.freebsd.org/changeset/base/207153
Log:
stat: Allow -f %Sf to display the file flags symbolically.
I have changed the patch slightly to show '-' if there are no flags just
like ls -ldo does.
PR:
Author: jilles
Date: Sat Apr 24 22:16:01 2010
New Revision: 207166
URL: http://svn.freebsd.org/changeset/base/207166
Log:
builtin(1): Mention [ sh builtin.
MFC after:1 week
Modified:
head/share/man/man1/builtin.1
Modified: head/share/man/man1/builtin.1
Author: jilles
Date: Sat Apr 24 22:24:26 2010
New Revision: 207168
URL: http://svn.freebsd.org/changeset/base/207168
Log:
builtin(1): Add missing escaping for !, . and : in the table.
This caused these commands to look differently (not bold) from the other
commands in the table (bold).
Author: jilles
Date: Sun Apr 25 12:35:39 2010
New Revision: 207186
URL: http://svn.freebsd.org/changeset/base/207186
Log:
sysctl(3): Update description of various kern.* variables.
Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3)
(which is a more convenient way to
Author: jilles
Date: Sun Apr 25 12:50:30 2010
New Revision: 207187
URL: http://svn.freebsd.org/changeset/base/207187
Log:
kvm(3): Mention that some of the functions use sysctl(3) instead of kmem.
Additionally, because of sysctl(3) use (which is generally good), behaviour
for crash dumps
Author: jilles
Date: Sun Apr 25 13:13:23 2010
New Revision: 207188
URL: http://svn.freebsd.org/changeset/base/207188
Log:
symlink(7): The ownership of symlinks is used by the system,
in at least three ways, so do not say it is ignored:
* who may delete/rename a symlink in a sticky directory
Author: jilles
Date: Sun Apr 25 13:29:59 2010
New Revision: 207189
URL: http://svn.freebsd.org/changeset/base/207189
Log:
symlink(7): Add lpathconf(2) and *at system calls.
MFC after:1 week
Modified:
head/bin/ln/symlink.7
Modified: head/bin/ln/symlink.7
Author: jilles
Date: Sun Apr 25 13:55:52 2010
New Revision: 207190
URL: http://svn.freebsd.org/changeset/base/207190
Log:
unlinkat(2): unlinkat(AT_REMOVEDIR) fails with ENOTEMPTY like rmdir()
for non-empty directories.
POSIX permits both ENOTEMPTY and EEXIST, but we use the clearer
Author: jilles
Date: Sun Apr 25 17:38:53 2010
New Revision: 207196
URL: http://svn.freebsd.org/changeset/base/207196
Log:
Make hash, type and ulimit available via execve().
These are specified by POSIX but are not special builtins, and therefore
need to be available via execve() and
Author: jilles
Date: Sun Apr 25 20:43:19 2010
New Revision: 207206
URL: http://svn.freebsd.org/changeset/base/207206
Log:
sh: Use stalloc for arith variable names.
This is simpler than the custom memory tracker I added earlier, and is also
needed by the dash arith code I plan to import.
On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote:
On Sun, Apr 25, 2010 at 08:43:19PM +, Jilles Tjoelker wrote:
Author: jilles
Date: Sun Apr 25 20:43:19 2010
New Revision: 207206
URL: http://svn.freebsd.org/changeset/base/207206
Log:
sh: Use stalloc for arith
Author: jilles
Date: Fri Apr 30 19:52:35 2010
New Revision: 207449
URL: http://svn.freebsd.org/changeset/base/207449
Log:
telnet: Fix infinite loop if local output generates SIGPIPE.
Instead of catching SIGPIPE and jumping out of the signal handler with
longjmp, ignore it and handle
Author: jilles
Date: Sat May 1 14:33:26 2010
New Revision: 207465
URL: http://svn.freebsd.org/changeset/base/207465
Log:
MFC r207021: ln: Allow a trailing slash when creating a link to a directory.
In the 'ln source... directory' synopsis, the basename of each source
determines the name
Author: jilles
Date: Sat May 1 14:36:04 2010
New Revision: 207466
URL: http://svn.freebsd.org/changeset/base/207466
Log:
MFC r207153: stat: Allow -f %Sf to display the file flags symbolically.
PR: 124349
Modified:
stable/8/usr.bin/stat/stat.1
stable/8/usr.bin/stat/stat.c
Author: jilles
Date: Sat May 1 14:41:37 2010
New Revision: 207467
URL: http://svn.freebsd.org/changeset/base/207467
Log:
MFC r207166: builtin(1): Mention [ sh builtin.
Modified:
stable/8/share/man/man1/builtin.1
Directory Properties:
stable/8/share/man/man1/ (props changed)
Modified:
Author: jilles
Date: Sat May 1 14:49:20 2010
New Revision: 207469
URL: http://svn.freebsd.org/changeset/base/207469
Log:
MFC r207168: builtin(1): Add missing escaping for !, . and : in the table.
This caused these commands to look differently (not bold) from the other
commands in the
Author: jilles
Date: Sat May 1 14:57:35 2010
New Revision: 207470
URL: http://svn.freebsd.org/changeset/base/207470
Log:
MFC r207166: builtin(1): Mention [ sh builtin.
Modified:
stable/7/share/man/man1/builtin.1
Directory Properties:
stable/7/share/man/man1/ (props changed)
Modified:
Author: jilles
Date: Sat May 1 15:00:00 2010
New Revision: 207471
URL: http://svn.freebsd.org/changeset/base/207471
Log:
MFC r207168: builtin(1): Add missing escaping for !, . and : in the table.
This caused these commands to look differently (not bold) from the other
commands in the
Author: jilles
Date: Sat May 1 22:00:28 2010
New Revision: 207483
URL: http://svn.freebsd.org/changeset/base/207483
Log:
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, which remains
Author: jilles
Date: Sat May 1 22:10:45 2010
New Revision: 207485
URL: http://svn.freebsd.org/changeset/base/207485
Log:
pathchk(1): Fix the example so it allows arbitrary pathnames.
Spaces and various other characters in pathnames are not passed through
literally by xargs in its
Author: jilles
Date: Sun May 2 12:38:59 2010
New Revision: 207501
URL: http://svn.freebsd.org/changeset/base/207501
Log:
MFC r207187: kvm(3): Mention that some of the functions use sysctl(3)
instead of kmem.
Additionally, because of sysctl(3) use (which is generally good), behaviour
Author: jilles
Date: Sun May 2 12:43:18 2010
New Revision: 207504
URL: http://svn.freebsd.org/changeset/base/207504
Log:
MFC r207188: symlink(7): The ownership of symlinks is used by the system,
in at least three ways, so do not say it is ignored:
* who may delete/rename a symlink in a
Author: jilles
Date: Sun May 2 13:36:23 2010
New Revision: 207508
URL: http://svn.freebsd.org/changeset/base/207508
Log:
MFC r207189: symlink(7): Add lpathconf(2) and *at system calls.
Modified:
stable/8/bin/ln/symlink.7
Directory Properties:
stable/8/bin/ln/ (props changed)
Modified:
Author: jilles
Date: Sun May 2 13:38:08 2010
New Revision: 207509
URL: http://svn.freebsd.org/changeset/base/207509
Log:
MFC r207188: symlink(7): The ownership of symlinks is used by the system,
in at least three ways, so do not say it is ignored:
* who may delete/rename a symlink in a
Author: jilles
Date: Sun May 2 13:53:08 2010
New Revision: 207510
URL: http://svn.freebsd.org/changeset/base/207510
Log:
MFC r207187: kvm(3): Mention that some of the functions use sysctl(3)
instead of kmem.
Additionally, because of sysctl(3) use (which is generally good), behaviour
Author: jilles
Date: Sun May 2 20:12:20 2010
New Revision: 207538
URL: http://svn.freebsd.org/changeset/base/207538
Log:
MFC r205398: Do not create *.gmon files for PIE executables on i386.
Scrt1_c.o was accidentally compiled with -DGCRT (profiling), like gcrt1_c.o.
This problem is
Author: jilles
Date: Tue May 4 21:56:16 2010
New Revision: 207636
URL: http://svn.freebsd.org/changeset/base/207636
Log:
MFC r207153: stat: Allow -f %Sf to display the file flags symbolically.
PR: 124349
Modified:
stable/7/usr.bin/stat/stat.1
stable/7/usr.bin/stat/stat.c
Author: jilles
Date: Wed May 5 21:48:40 2010
New Revision: 207678
URL: http://svn.freebsd.org/changeset/base/207678
Log:
sh: Apply locale vars on builtins, recognize LC_MESSAGES as a locale var.
This allows doing things like LC_ALL=C some_builtin to run a builtin under a
different
Author: jilles
Date: Wed May 5 22:00:57 2010
New Revision: 207679
URL: http://svn.freebsd.org/changeset/base/207679
Log:
MFC r207186: sysctl(3): Update description of various kern.* variables.
Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3)
(which is a more
Author: jilles
Date: Wed May 5 22:07:28 2010
New Revision: 207681
URL: http://svn.freebsd.org/changeset/base/207681
Log:
MFC r207186: sysctl(3): Update description of various kern.* variables.
Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3)
(which is a more
Author: jilles
Date: Wed May 5 22:12:56 2010
New Revision: 207682
URL: http://svn.freebsd.org/changeset/base/207682
Log:
MFC r207190: unlinkat(2): unlinkat(AT_REMOVEDIR) fails with ENOTEMPTY
like rmdir() for non-empty directories.
POSIX permits both ENOTEMPTY and EEXIST, but we use the
Author: jilles
Date: Wed May 5 22:17:17 2010
New Revision: 207684
URL: http://svn.freebsd.org/changeset/base/207684
Log:
MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked.
POSIX permits but does not require checking access on the current and parent
directories.
Author: jilles
Date: Wed May 5 22:23:29 2010
New Revision: 207686
URL: http://svn.freebsd.org/changeset/base/207686
Log:
MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked.
POSIX permits but does not require checking access on the current and parent
directories.
Author: jilles
Date: Thu May 6 22:06:14 2010
New Revision: 207734
URL: http://svn.freebsd.org/changeset/base/207734
Log:
sigaltstack(2): document some modernizations:
* un-document 'struct sigaltstack' tag for stack_t as this is BSD-specific;
this doesn't seem useful enough to document
Author: jilles
Date: Thu May 6 22:49:54 2010
New Revision: 207735
URL: http://svn.freebsd.org/changeset/base/207735
Log:
Update xrefs from 4.3BSD to modern signal functions in various man pages.
sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and
sigblock(2) to
Author: jilles
Date: Fri May 7 17:20:15 2010
New Revision: 207749
URL: http://svn.freebsd.org/changeset/base/207749
Log:
raise(3): Note that this sends a signal to the current thread, not process.
This is how it works (with threading libraries loaded) and what POSIX
requires.
MFC
Author: jilles
Date: Fri May 7 20:46:22 2010
New Revision: 207757
URL: http://svn.freebsd.org/changeset/base/207757
Log:
sigprocmask(2): pthread_sigmask(3) must be used in threaded processes.
Although libthr's pthread_sigmask() just calls sigprocmask() and this is
unlikely to change,
Author: jilles
Date: Fri May 7 20:58:50 2010
New Revision: 207758
URL: http://svn.freebsd.org/changeset/base/207758
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: Sat May 8 14:00:01 2010
New Revision: 207783
URL: http://svn.freebsd.org/changeset/base/207783
Log:
sh: Have only one copy of _PATH_STDPATH in the binary.
Modified:
head/bin/sh/eval.c
Modified: head/bin/sh/eval.c
1 - 100 of 1758 matches
Mail list logo