mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 07:10:58 +02:00
unposted: zsh/system: Adjust documentation from workers/45708
This commit is contained in:
parent
25c9b61a66
commit
1cac862b0f
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
|||
2020-04-20 dana <dana@dana.is>
|
||||
|
||||
* unposted: Doc/Zsh/mod_system.yo: Adjust documentation from
|
||||
workers/45708
|
||||
|
||||
* Cedric Ware: 45708: Doc/Zsh/mod_system.yo,
|
||||
Src/Modules/system.c, Src/compat.c, Src/utils.c,
|
||||
Test/V14system.ztst: Enable sub-second timeout in zsystem flock
|
||||
|
|
|
@ -203,10 +203,9 @@ if the tt(-i) var(interval) option is given, otherwise once a second.
|
|||
so that the shell waits only until the var(timeout) and not longer.)
|
||||
If the attempt times out, status 2 is returned.
|
||||
|
||||
(Note: var(timeout) must be less than
|
||||
ifzman(2^30-1)ifnzman(2NOTRANS(@sup{30})-1) seconds (about 34 years),
|
||||
and var(interval) must be less than 0.999 * LONG_MAX microseconds
|
||||
(only about 35 minutes on 32-bit systems).)
|
||||
(Note: var(timeout) is limited to 2^30-1 seconds (about 34 years), and
|
||||
var(interval) to 0.999 * LONG_MAX microseconds (only about 35 minutes
|
||||
on 32-bit systems).)
|
||||
|
||||
If the option tt(-e) is given, the file descriptor for the lock is
|
||||
preserved when the shell uses tt(exec) to start a new process;
|
||||
|
|
Loading…
Reference in a new issue