Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-22 | Stop merging the per-thread and per-process flags when reporting | Philip Guenther | |
them via sysctl(KERN_PROC). In struct kinfo_proc the per-process flags move to p_psflags, leaving the per-thread flags in p_flags. Flag descriptions in ps(1) updated to be less obtuse. discussed with matthew@ some time ago; ok jca@, manpage bits ok jmc@ | |||
2013-09-14 | Back out revision 1.38. Commands executed via `foo` or $( bar ) | Todd C. Miller | |
actually should inherit "set -e" status according to POSIX. OK jca@ | |||
2013-09-04 | Add a proper suspend builtin that saves/restores the tty and pgrp | Todd C. Miller | |
as needed instead of an alias that just sends SIGSTOP. Login shells may be suspended if they are not running in an orphan process group. OK guenther@ jmc@ | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-16 | where "-" represents stdin, just use Sq, not Fl, since it's not a flag; | Jason McIntyre | |
from Jan Stary | |||
2013-07-15 | use .Mt for email address; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-07-13 | Remove no longer needed vax CFLAGS workarounds. | Miod Vallat | |
2013-07-03 | cpio and ustar formats store times in octal fields that are 11 characters | Philip Guenther | |
wide, so they support up to 33bits. Take advantage of the extra bits by no longer forcing them into 32bit ints before the time_t conversion. This gets us another 204 years of range once time_t changes type ok deraadt@ tedu@ | |||
2013-07-01 | Make $(< /nonexistent) have the same behaviour as $(cat /nonexistent) | Jeremie Courreges-Anglas | |
wrt. errors (do not unwind and do not treat this as fatal if set -e is used). This matches what bash does. Tweak regress tests while here. ok millert@, jasper@ agrees | |||
2013-06-19 | Add test for syn.c revision 1.29 | Todd C. Miller | |
2013-06-19 | Commands executed via `foo` or $( bar ) should not inherit "set -e" | Todd C. Miller | |
status. We can't use XERROK for this (since the command might set -e itself) so just save & restore the value of FERREXIT for the comsub() call to execute(). OK jca@ | |||
2013-06-17 | Handle time_t values as long long's when formatting them and when | Philip Guenther | |
parsing them from remote servers. Improve error checking in parsing of 'T' lines. ok dtucker@ deraadt@ | |||
2013-06-16 | set -e should not affect command substitution, e.g. `foo` or | Todd C. Miller | |
$( foo ). However, if set -e is specified as part of the command it needs to be honored. | |||
2013-06-15 | Add test for trapping both ERR and EXIT, fixed by revision 1.48 | Todd C. Miller | |
of exec.c | |||
2013-06-15 | Run any pending traps before calling the EXIT or ERR traps when -e | Todd C. Miller | |
is set. Fixes a bug where we would not run the signal trap if, for example, ^C was pressed and -e was set. OK espie@ | |||
2013-06-14 | Add -T option to set the temp dir. | Todd C. Miller | |
2013-06-14 | Use mkstemp/mkdtemp not $$ for temp files. | Todd C. Miller | |
2013-06-14 | Exit with non-zero status if a test unexpectedly failed. | Todd C. Miller | |
2013-06-14 | Adapt OpenBSD ksh regress tests to the pdksh test harness. | Todd C. Miller | |
2013-06-13 | Document correct interaction of -e flag with && and ||. OK jmc@ | Todd C. Miller | |
2013-06-10 | POSIX specifies that for an AND/OR list, only the last command's | Todd C. Miller | |
exit status matters for "set -e". Revert the part of revision 1.49 that always sets xerrok for AND/OR. This makes sh/ksh pass the updated regress tests. OK espie@ jca@ | |||
2013-06-03 | for var in; do ... shouldn't be interpreted as for var; do ... | Jeremie Courreges-Anglas | |
Fix by returning an empty token list instead of NULL to consumers. Brings base ksh more in line with POSIX. | |||
2013-06-03 | add : to special chars. | Ted Unangst | |
identical diffs from plhk sdf.org and leva ecentrum.hu. ok deraadt. | |||
2013-06-01 | Replace S_IWRITE, which isn't standardized, with S_IWUSR, which is. Patch | Darren Tucker | |
from Nathan Osman via bz#2085. ok deraadt. | |||
2013-06-01 | fiddle with the NO_CONV code to allow notrunc and noerror to still work. | Ted Unangst | |
ok halex | |||
2013-06-01 | consolidate ifdef blocks by moving a variable | Ted Unangst | |
2013-05-30 | Fix column padding of inode numbers and block counts >2^32, as well as | Philip Guenther | |
display of directory block totals >2^32 ok tedu@ | |||
2013-05-25 | Fix typo. From Caspar Schutijser via tech@. | lum | |
2013-04-29 | use FD_CLOEXEC instead of 1; from David Hill | Okan Demirmen | |
ok otto | |||
2013-04-23 | handle large ino_t | Theo de Raadt | |
2013-04-23 | handle large ino_t; ok millert | Theo de Raadt | |
2013-04-19 | handle long long time_t | Theo de Raadt | |
ok millert tedu | |||
2013-04-19 | Add support for printing long long (%lld). OK deraadt@ | Todd C. Miller | |
2013-04-16 | handle larger tv_sec types | Theo de Raadt | |
2013-04-16 | handle larger time_t types | Theo de Raadt | |
2013-04-16 | remove unneccessary time_t * cast | Theo de Raadt | |
2013-04-16 | Use utimensat() and futimens() instead of utimes() and futimes(). | Todd C. Miller | |
This lets us use UTIME_OMIT instead of having to lstat() the file when we want to preserve one of the times. Remove casts to long for tv_sec to prepare for upcoming time_t changes. OK deraadt@ | |||
2013-04-15 | SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a | Todd C. Miller | |
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@ | |||
2013-04-11 | The tweaks I suggested to the previous diff resulted in the typeflag | Philip Guenther | |
being checked after it was overwritten by the next block read in. Eliminate the argument aliasing that led to this being overlooked by passing rd_xheader() the size and typeflag directly. problem discovery and ok fgsch@ | |||
2013-04-09 | Add extended header support for ustar. Currently only path and linkpath are | Federico G. Schwindt | |
handled. input from zhuk and guenther. tested by zhuk and sthen on a bulk. ok guenther. | |||
2013-04-05 | SECONDS is, in a highly theoretical way, not y2k38 safe. comment it. | Ted Unangst | |
2013-04-03 | LFS option is long gone | Philip Guenther | |
2013-04-02 | Revert rev 1.21 to fix a race condition where multiple mkdir -p's trying | Christian Weisgerber | |
to create overlapping paths in parallel could error out. ok millert@ | |||
2013-03-30 | Return an exit code of 1 if the file cannot be opened (e.g. file does | Lawrence Teo | |
not exist), or if there is an error reading the file stream. From Patrik Lundin, thanks! ok deraadt | |||
2013-03-28 | Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN / | Nicholas Marriott | |
-1 == INT_MIN and % -1 == 0. ok matthew deraadt | |||
2013-03-28 | Don't die with SIGFPE on LONG_MIN / -1 or % -1. Instead make LONG_MIN / | Nicholas Marriott | |
-1 == LONG_MIN and % -1 == 0. ok matthew deraadt | |||
2013-03-27 | Enable support for write_opt=nodir for ustar archives which helps to fix | Vadim Zhukov | |
issues with some crappy tar archive readers out there that rely on the fact that directory entries ends up with "/" when created by GNU Tar, and now I'm finishing this commit message by mentioning people who gave input and okays: deraadt@ millert@ jmc@ | |||
2013-03-23 | wchan is no longer exposed, just check if wmesg is not empty. | Ted Unangst | |
(wmesg hasn't itself been a pointer since conversion to kinfo_proc.) noticed by sthen. ok deraadt jsing millert sthen | |||
2013-03-20 | Remove bogus #if 0'd code. As the comment says, POSIX doesn't need this. | Todd C. Miller | |
OK martynas@ |