• R/O
  • SSH

yash: List of commits

修訂. 時間 作者
r4034 2020-09-14 23:35:04 magicant

More test on pathname expansion in redirection operand

r4033 2020-09-13 17:28:07 magicant

Remove inappropriate tests of quoting in pattern matching

POSIX XCU 2.13.1 says, "The shell special characters always require
quoting." This means we should not assume tests of patterns with
unquoted specials are portable.

r4032 2020-09-13 17:28:07 magicant

Test quotations arising from expansion in case word

r4031 2020-09-13 16:34:30 magicant

Test backslashes in expansions

r4030 2020-09-13 16:18:58 magicant

Remove unnecessary expansion in parsing word

r4029 2020-09-13 15:06:52 magicant

Test of quoting in nested expansion

r4028 2020-09-13 15:06:51 magicant

More test on substitution in parameter expansion

r4027 2020-09-10 14:15:19 magicant

Test brace expansion on result of parameter expansion

r4026 2020-09-10 13:02:09 magicant

More tests on field splitting

r4025 2020-09-08 23:41:49 magicant

Nullify destroyed buffers in debug build

To help debugging "use after free" bugs, destroyed buffers are now
filled with garbage data.

r4024 2020-09-06 01:30:27 magicant

Test result of tilde expansion in parameter expansion

r4023 2020-09-05 00:27:22 magicant

Return plist_T from expand_four_and_remove_quotes

Returning results as the return value is more intuitive than adding to
an output parameter.

r4022 2020-09-04 21:28:48 magicant

Inline expand_and_split_words

The expand_and_split_words function is called only from the
expand_multiple function and there is no good use in keeping them

r4021 2020-09-04 21:28:47 magicant

Construct valuelist & splitlist in expand_four_T

This refactoring slightly reduces pointer dereferences.

r4020 2020-08-27 23:24:50 magicant

Don't insert redundant / in command -v (#40670)

The format string "%s/%s" was the root cause of the issue. We should not
insert any more slash if the parent directory pathname (the first %s)
ends with a slash.

r4019 2020-05-31 11:44:29 magicant

Version 2.50

r4018 2020-05-31 11:33:25 magicant

Update ja.po

r4017 2020-05-31 11:33:24 magicant

Up version to 2.50

r4016 2020-04-17 23:56:07 magicant

More tests on $LINENO

r4015 2020-04-17 23:56:07 magicant

Export correct value of $LINENO (#39279)

r4014 2020-04-17 23:56:05 magicant

Better placement of comment

r4013 2020-01-05 23:10:22 magicant

Test using GitHub Actions

r4012 2019-12-23 23:12:55 magicant

Revert "Remove j_nonotify"

This reverts commit e0400605ac29a42ceeed8bcf86fe628a53d67c56.

Commit e040060 mistakenly assumed that the j_nonotify flag had been used
only to prevent the job from being removed, but in reality also from
being reported when the -b shell option is enabled.

As a result of the commit, the job status was being reported redundantly
when a job exits after resumed by the "fg" built-in.

r4011 2019-12-22 22:56:00 magicant

Fork inside exec_simple_command

Previously the exec_simple_command function required the finally_exit
argument to be true when executed for CT_EXTERNALPROGRAM. I don't think
this implicit precondition very intuitive because it effectively
nullifies the finally_exit parameter.

Starting from this commit we fork inside the exec_simple_command
function to allow the parameter to be false.

r4010 2019-12-22 17:00:13 magicant

Optimize read when stdin is a regular file

POSIX requires that the shell do not read too much from the standard
input. For this reason reading from the standard input is not buffered
by default. Without buffering, the "read" syscall is called for each
byte to be read, which may degrade the performance of the shell.

After this commit, when the standard input is a regular file, the input
is buffered to improve the performance. After reading, the file
descriptor is repositioned so that it works as if there has been no

r4009 2019-12-22 01:00:14 magicant

Optimize process forking with pipefail

When the pipe-fail option is on, the shell needs to await not only the
last command of a pipeline but also other commands. Because of this, the
optimization of not forking an unnecessary process for the last command
was not applied when the option was on.

If there is only one command in the pipeline, however, the pipe-fail
option can be ignored and the optimization is applicable.

r4008 2019-12-22 01:00:13 magicant

completion/set: Describe pipefail option consistently

Previously, the description for yash's pipefail option was different
from that for other shells for no reason.

r4007 2019-12-21 23:30:23 magicant

sample yashrc: Warn on crontab -r

Some users accidentally remove their crontab by typing "crontab -r" when
they intend to edit it by "crontab -e". To prevent unrecoverable loss,
a wrapper function for the crontab command is now installed in the
sample yashrc.

r4006 2019-12-04 23:27:17 magicant

completion/git-rebase: Support Git 2.24.0

r4005 2019-11-11 23:19:28 magicant

Ignore empty key sequence in terminfo (#39741)

If an empty key sequence is in le_keycodes, the read_next function would
loop infinitely. Such a sequence should be ignored even if defined in
the terminfo database.

Patch contributed by hvdijk

Show on old repository browser