1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 23:11:11 +02:00
Commit graph

27 commits

Author SHA1 Message Date
dana
a2f390701a 53588: zsystem flock: handle optargs in the same word
with small tweak to test, just in case
2025-05-13 22:14:09 -05:00
Bart Schaefer
61f35bb626 50355: documentation and return status consistency in zsh/system module 2022-06-11 15:02:46 -07:00
Bart Schaefer
007c7df74a 50101: sysread -o with param adjusted to match documentation 2022-04-28 17:08:10 -07:00
Matthew Martin
95749e9e65 49933: Add nonblock to sysopen 2022-03-31 17:40:41 -05:00
Cedric Ware
4d7aa71d8e 46152: zsh/system: Re-allow '0' timeout in zsystem flock 2020-07-11 00:14:58 -05:00
Cedric Ware
25c9b61a66 45708: zsh/system: Enable sub-second timeout in zsystem flock 2020-04-20 12:10:01 -05:00
Roman Perepelitsa
754fdc6580 zsh/system: Fix infinite loop in sysread 2020-02-06 13:42:32 -06:00
Peter Stephenson
3bdf4d6641 44480: Don't automatically close externally visible file descroptors.
These are descriptors marked FDT_EXTERNAL.

Make all sysopen'ed file descriptors FDT_EXTERNAL.

Make =(...) call closem() consistent with other substitutions.

Document file descriptors are left open.
2019-07-02 13:42:53 +01:00
Peter Stephenson
9408c4825b users/23472: Add $sysparams[procsubstpid] to zsh/system 2018-06-15 15:02:36 +01:00
Sebastian Gniazdowski
1e46f73b8e 42188: Close flock descriptor in failure cases 2018-01-04 17:06:22 +00:00
Stephane Chazelas
99fff8f15c 41142: Ensure close-on-exec is passed to moved file descriptor 2017-05-23 17:03:31 +01:00
Barton E. Schaefer
26b4508ee3 39268: "zsystem flock -t 0 ..." tries only once to flock and immediately returns success or failure 2016-09-11 17:22:02 -07:00
Jun-ichi Takimoto
ca3bc0d95d 37838: use UNUSED() consistently 2016-01-30 00:26:23 +09:00
Oliver Kiddle
3d9a8073c2 35963: simplify condition found by coverity to include tautology 2015-07-31 15:01:30 +02:00
Oliver Kiddle
0f02b27ab0 35864: add sysopen, sysseek and systell to system module 2015-07-24 12:36:35 +02:00
Peter Stephenson
07b6256d8e 27756: add OS file locking to calendar
add errflag test to loop over fcntl()
2010-02-26 12:09:20 +00:00
Peter Stephenson
a3b971a27e 27755: add "zsystem supports" to zsh/system 2010-02-25 11:15:26 +00:00
Peter Stephenson
bec3de98df 27754 plus NEWS change: add "zsystem flock" 2010-02-24 21:37:24 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
8346a5e8d2 22483: add $sysparams to zsh/system 2006-06-05 13:21:56 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
947a321baf 19096: crash unloading zsh/system 2003-09-17 10:57:41 +00:00
Peter Stephenson
c9c5f9da93 18980: new zsh/system module 2003-08-30 19:06:06 +00:00