mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-19 16:40:42 +02:00
change expansion for key-value pair compound assignment to associative arrays to split all words before identifying keys and values; controlled by a new shopt option: kvpair_split, enabled by default; new `loadassoc' loadable builtin to load an associative array from a set of key-value arguments
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ getnow(void)
|
||||
# define timerisunset(tvp) ((tvp)->tv_sec == 0 && (tvp)->tv_usec == 0)
|
||||
#endif
|
||||
#if !defined (timerset)
|
||||
# define timerset(tvp, s, u) do { tvp->tv_sec = s; tvp->tv_usec = u; } while (0)
|
||||
# define timerset(tvp, s, u) do { (tvp)->tv_sec = s; (tvp)->tv_usec = u; } while (0)
|
||||
#endif
|
||||
|
||||
#ifndef TIMEVAL_TO_TIMESPEC
|
||||
|
||||
Reference in New Issue
Block a user