Key running commands for #() by the unexpanded command, and run them

again if the expanded form changes (otherwise at most once per second as
usual). Fixes issues reported by Gregory Pakosz.
This commit is contained in:
nicm
2016-11-17 10:06:08 +00:00
parent ddf7ac5ae4
commit 3cf19d6dd0
3 changed files with 31 additions and 14 deletions

View File

@ -24,6 +24,7 @@ void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
void *xreallocarray(void *, size_t, size_t);
char *xstrdup(const char *);
char *xstrndup(const char *, size_t);
int xasprintf(char **, const char *, ...)
__attribute__((__format__ (printf, 2, 3)))
__attribute__((__nonnull__ (2)));