From 3cf19d6dd0900dd5bbd78594af308ee88b109756 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 17 Nov 2016 10:06:08 +0000 Subject: 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. --- xmalloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xmalloc.h') diff --git a/xmalloc.h b/xmalloc.h index d331ce99..a3ee486f 100644 --- a/xmalloc.h +++ b/xmalloc.h @@ -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))); -- cgit v1.2.3