tg
1971bb2ad4
indeed, GNU bash (at least bash2 from MirPorts which I have at hand)
...
fails this test I found debugging https://bugs.gentoo.org/500942
2014-10-10 22:10:19 +00:00
tg
f491c25cab
add a warning about not using tainted user input in arithmetics;
...
Stéphane Chazelas may write something more detailed we can then link to
2014-10-07 15:30:12 +00:00
tg
0cf0658a0d
fix severe regression in field splitting (LP#1378208)
2014-10-07 15:22:17 +00:00
tg
40954ce437
fix null pointer deref on empty nameref assignment (no ‘=’)
...
found by Goodbox on IRC
2014-10-04 11:47:19 +00:00
tg
968dc7a764
overhaul IFS handling, fix bugs reported by Stephane Chazelas and mikeserv
...
now we’re at: 486 passed testsuite items, 0 failed
ifs.sh still: # tests 6856 passed 6856 failed 0
2014-10-03 17:32:12 +00:00
tg
de53d2df1c
SECURITY: do not permit += from environment either
...
this makes our environment filter/sanitisation complete
2014-10-03 17:20:03 +00:00
tg
e239a8358a
use issetugid(2) as additional aid in determining if we are FPRIVILEGED
2014-10-03 17:19:27 +00:00
tg
478a2af837
wording
2014-10-03 12:35:38 +00:00
tg
78580b4eef
use symmetric #ifdef checks for same-feature (Debian #763842 )
2014-10-03 12:32:48 +00:00
tg
48ba7b850c
small gem ;)
2014-10-02 19:34:06 +00:00
tg
37de6e2d62
restore C99 compatibility: do not use “restricted” as an identifier
2014-10-02 13:55:16 +00:00
tg
52461d70cc
cease exporting $RANDOM (Debian #760857 )
2014-10-02 13:53:54 +00:00
tg
8f172270f9
fix link; found by zacts
2014-09-29 18:57:00 +00:00
tg
dbedf50316
document HISTSIZE limit
2014-09-24 10:47:11 +00:00
tg
0a87a59b47
keeping up with the jones; RCS ID sync only:
...
we already fixed the list of builtins ages ago,
and don’t use weird unportable ioctl(2)s
2014-09-12 20:23:33 +00:00
tg
b764054000
more rare signals
2014-09-04 23:06:51 +00:00
tg
4c6e9269b9
mksh R50b
2014-09-03 19:55:51 +00:00
tg
26f15bd938
permit $1, $!, etc. to be nameref’d again ($_ was); spotted by Jb_boin, 10x!
2014-09-03 19:22:51 +00:00
tg
609a89968f
better output in the face of both expected-fail:yes and need-pass:no tests
2014-08-19 07:43:32 +00:00
tg
d7984ff699
add testcase for today’s mailing list bug report
2014-07-29 17:56:31 +00:00
tg
80b8966367
fix lies introduced in mksh R17, as part of the undergoing IFS investigation
2014-07-29 17:26:24 +00:00
tg
065b42c86f
make the comments match the actual code; bad jaredy@obsd for failing us so
2014-07-29 16:29:11 +00:00
tg
097ed42c83
https://android-review.googlesource.com/102253
...
• permit interrupts during a write(2) loop in the cat builtin, too,
not just in the read(2) loop – fixes inability to kill a clogged
output cat
• kill the cat when smores finish
TODO: revisit this ⓐ in more depth, ⓑ for other functions, such as
“hd”, and ⓒ test on AOSP as well
2014-07-28 21:45:45 +00:00
tg
6c31e7e631
document symmetric remainder is used by % and how to get mathematic modulus
...
researched during trying to figure out wtf LP#1348614 item 3 i̲s̲
2014-07-25 21:38:51 +00:00
tg
679240fd97
make it clearer when a shell is interactive
...
spotted, and help with sentence structuring, by Andreas Buschka
2014-07-21 08:06:16 +00:00
tg
0eb5044ac6
fix rare infinite loop when invalid UTF-8 is in the edit buffer
...
From: Ivan “Colona” Delalande <colona@ycc.fr>
2014-07-13 11:34:29 +00:00
tg
9b1d8d9f04
eglibc is merged back into glibc; adjust comment
2014-07-04 11:03:52 +00:00
tg
9d80a50837
fix manpage; From: Ypnose <ypnx@mailoo.org>
2014-07-03 20:47:56 +00:00
tg
7d19d66bce
note Mirkev wants to use ULEB128 for numbers
2014-06-29 11:48:05 +00:00
tg
e4c01375aa
fix access-after-free crash spotted by Enjolras via IRC, thanks!
2014-06-29 11:28:28 +00:00
tg
a375a7b2b6
use -fstack-protector-strong in favour of -fstack-protector-all if we can
2014-06-29 10:56:08 +00:00
tg
c75ed28019
shut up valgrind in the RAND_add() code… sounds familiar…
...
I’m committing this from a Debian system… but fear not…
I know what I am doing…
2014-06-26 20:36:02 +00:00
tg
d2ef1d5d2c
bump
2014-06-24 20:47:47 +00:00
tg
9eed448a96
Unicode 7.0.0
2014-06-24 19:53:19 +00:00
tg
edc80f317c
remove old/unused stuff
2014-06-24 18:51:37 +00:00
tg
c7774ae861
Detect (potentially mismatched) ELF files; suggested by enh@google.com
2014-06-24 18:38:31 +00:00
tg
73edeaa8ec
fix “set -o pipefail” w/o PIPESTATUS, and PIPESTATUS inside COMSUBs and other sequences
2014-06-10 22:17:10 +00:00
tg
7330970bfa
fix some of the signal stuff (still didn’t get rid of awk(1) and printf(1)
...
calls in Build.sh, we need HOSTCC for that… which we should do, using BER
or something encoded for integers, and pregenerated hashtables as planned)
also, bump to R50 beta, due to today’s language changes
2014-06-09 13:25:53 +00:00
tg
129ba5c584
fix the “set ±p” issue for good
...
cf. http://blog.cmpxchg8b.com/2013/08/security-debianisms.html
2014-06-09 12:28:19 +00:00
tg
7734e07d12
oksh sync
2014-06-09 11:22:50 +00:00
tg
b7c41f240c
LANGUAGE CHANGE: $((…)) results are now IFS-split, as per POSIX 201x
2014-06-09 11:16:07 +00:00
tg
2f620132af
SYNTAX CHANGE: remove x=([2]=foo [5]=bar) due to regressions
2014-06-09 11:13:19 +00:00
tg
30bbb90f75
next attempt at fixing IFS-subst-2
2014-06-09 10:41:03 +00:00
tg
ccf991486f
doc issue (because no regression… even if it works in ksh93):
...
19:09 < nDuff> I'm reading the following behavior as contrary to the documentation. Could someone clarify?
19:09 < nDuff> $ words_pat='*@(cat|mice)*'; [[ 'there is a {cat}' = $words_pat ]]; echo $?
19:09 < nDuff> 1
19:09 < nDuff> $ [[ 'there is a {cat}' = *@(cat|mice)* ]]; echo $?
19:09 < nDuff> 0
2014-06-06 23:50:22 +00:00
tg
224bea2d87
bugreport about x=([y]=z) from ormaaj and jilles, via #ksh on IRC
2014-05-29 21:30:45 +00:00
tg
495b798893
improved OE reporting for newer Darwin/OSX, by Ryan Schmidt <ryandesign@macports.org>
2014-05-27 13:41:53 +00:00
tg
033e1f4b9e
fix LP#1277691 (“nameref RHS not syntax checked”) and the inability to
...
use errorf() while nameref states were being changed (by almost completely
eliminating the global variable) and the readonly first array variable
bypass (typo/refactoro); also, whitespace, one int → bool, and add a
comment wrt. the parser rewrite talked about with igli during a fever ;)
2014-05-27 13:22:46 +00:00
tg
d8461d400f
fix ${!foo} for when foo is unset
2014-05-27 13:00:31 +00:00
tg
0c3c44a6a7
POSIX clarification leads to ugly new “bug” (expected-fail, for now)
...
thanks ormaaj for noticing and forwarding to me
2014-04-29 07:43:38 +00:00
tg
8b88eb3c9b
avoid UB in LFS test (Debian #742780 )
2014-03-28 12:08:25 +00:00