| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-05-26 | fix typos | Jakub Wilk | |
| 2017-05-26 | When running rc on the following script, rc crashes. | Drazen Borkovic | |
| fn f1 { v=x { }} fn f2 { f1 1; f1 2 } f2 whatis Valgrind stack: ==10068== Invalid read of size 8 ==10068== at 0x40EFB1: varlookup (var.c:84) ==10068== by 0x407B04: whatare_all_vars (hash.c:311) ==10068== by 0x401E60: b_whatis (builtins.c:323) ==10068== by 0x402E32: exec (exec.c:92) ==10068== by 0x40F997: walk (walk.c:39) The reason is that vp[h].p is freed in delete_var(), but the pointer is kept. Later the pointer is found to be non-null and dereferenced causing the crash. | |||
| 2017-05-25 | remove trailing space | Toby Goodwin | |
| 2017-05-25 | Man page explanation of the -e option include the test in the while() statement. | Drazen Borkovic | |
| 2017-05-25 | Fix: "rc -e" exits if condition in while statement returns false the second time | Drazen Borkovic | |
| 2017-05-25 | tidy up bootstrap: INSTALL is an artifact | Toby Goodwin | |
| 2017-04-17 | document readline tilde expansion | Toby Goodwin | |
| 2017-04-17 | add some tests for unquoted equals | Toby Goodwin | |
| 2017-04-17 | update parse.[ch] | Toby Goodwin | |
| 2017-04-17 | Parse equals sign as keyword | Bert Münnich | |
| The parser treats unexpected keyword tokens (eg. if, while, ~) as literals and not as syntax errors. It does not do this for the equals sign, but it could, as it only has a special meaning at the beginning of a command, much like the keywords. Doing this allows one to write commands like this: dd if'='/dev/zero of'='data bs'='1024 count'='1 without the quotes around the equals signs. All shells from the Bourne family do this. For this to work, the lexer must not automatically terminate words at equals signs, instead it has to generate a free caret around it like for the twiddle and other such special characters. In the parser's grammar we need to get rid of the left recursion in the rules for 'simple' to turn the reduce/reduce conflict at 'first' on '=' (empty -> 'optcaret' or 'first' -> 'simple') into a shift/reduce conflict, which then can be solved with precedence/associativity so that the reduction of the empty 'optcaret' wins over shifting '='. | |||
| 2017-04-17 | improve lshift function in man page | Toby Goodwin | |
| 2017-04-17 | add "rc: " prefix to "cannot shift" error | Toby Goodwin | |
| 2016-08-27 | replace problematic reldate with git describe (thanks @RamKromberg) | Toby Goodwin | |
| 2016-08-27 | git ignore aclocal.m4 | Toby Goodwin | |
| 2016-08-27 | mention that ~ $foo () cannot be combined with other patterns | Toby Goodwin | |
| 2016-08-25 | do not return random value if sigaction fails (thanks @borkovic) | Toby Goodwin | |
| 2016-08-25 | Merge pull request #14 from muennich/edit-sigh | Toby Goodwin | |
| Restore signal handlers when catching signals in edit_alloc() | |||
| 2015-11-28 | Restore signal handlers when catching signals in edit_alloc() | Bert Münnich | |
| edit_catcher() performs a longjmp via rc_raise() to the matching setjmp in doit(). The latter does the same as before, so that edit_alloc() gets called again, but this time the installation of the signal handlers trashes the old handlers saved in the last call. Once readline() returns normally to edit_alloc() the wrong signal handlers get restored. The simplified call hierarchy looks like this: doit(); sigsetjmp(); edit_alloc(); oldint = sys_signal(SIGINT, edit_catcher); readline(); SIGINT -> edit_catcher(); siglongjmp(); sys_signal(SIGINT, oldint); Restoring the old signal handlers in edit_catcher() solves this. | |||
| 2015-10-23 | remove chldign.c and (binary!) chldign | Toby Goodwin | |
| 2015-10-23 | Merge branch 'master' into develop | Toby Goodwin | |
| 2015-09-03 | Merge pull request #8 from Pyrohh/example | Toby Goodwin | |
| Fix man page example | |||
| 2015-09-02 | Fix man page example | Michael Reed | |
| A closing brace was missing. | |||
| 2015-07-15 | Merge pull request #7 from jwilk/spelling | Toby Goodwin | |
| fix a typo | |||
| 2015-07-15 | fix a typo | Jakub Wilk | |
| 2015-06-24 | Merge pull request #4 from rlonstein/feature/fix-gnuism | Toby Goodwin | |
| use POSIX style date format in configure, not GNU date option | |||
| 2015-06-23 | use POSIX style date format in configure, not GNU date option | Ross Lonstein | |
| 2015-05-17 | tidy up READMEs | Toby Goodwin | |
| 2015-05-17 | create a README.md for github | Toby Goodwin | |
| 2015-05-17 | Revert "rename README to README.md" | Toby Goodwin | |
| This reverts commit 7d9b971e1a11080af402d65613ec870c0203dedb. | |||
| 2015-05-16 | rename README to README.md | Toby Goodwin | |
| 2015-05-16 | remove some old / odd files | Toby Goodwin | |
| 2015-05-16 | remove automake artifacts | Toby Goodwin | |
| 2015-05-16 | release: rc-1.7.4 | Toby Goodwin | |
| 2015-05-16 | make mktemp more bsd friendly | Toby Goodwin | |
| 2015-05-16 | update to plain zlib license | Toby Goodwin | |
| 2015-05-16 | Release: rc-1.7.3. | Toby Goodwin | |
| 2015-05-16 | rename edit shims | Toby Goodwin | |
| 2015-05-16 | update release time files | Toby Goodwin | |
| 2015-05-16 | update licence to "ZlibWithAcknowledgement" (change approved by Byron) | Toby Goodwin | |
| 2015-05-16 | remove RELDATE from ReleaseTime too | Toby Goodwin | |
| 2015-05-16 | Revert "readline completion: now mainly working" (moved to branch) | Toby Goodwin | |
| This reverts commit 90de423084757db66041175b43a59b5ff630cb50. | |||
| 2015-05-16 | remove obsolete RELDATE | Toby Goodwin | |
| 2015-05-16 | add rc-1.7.2 release date | Toby Goodwin | |
| 2015-05-16 | in initinput() ungetcount was used uninitialized | Toby Goodwin | |
| 2015-05-16 | configure.ac: AM_CONFIG_HEADER and AM_PROG_CC_STDC are obsolete | Toby Goodwin | |
| 2015-05-16 | readline completion: now mainly working | Toby Goodwin | |
| 2015-05-16 | tgetent can be in -ltinfo | Toby Goodwin | |
| 2015-05-16 | edit shims: rename and tidy in configure script | Toby Goodwin | |
| 2015-05-16 | remove a couple of autoconfiscation products | Toby Goodwin | |
| 2015-05-16 | edit shims: better naming, editline and vrl added | Toby Goodwin | |