mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
* bootstrap.conf (gnulib_modules): Add file-has-acl. (buildreq): Bump autopoint and gettext to 0.19.4. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.19.4. * gl/lib/tempname.c.diff, gl/lib/tempname.h.diff: Merge recent gnulib changes.
24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
diff --git a/lib/tempname.h b/lib/tempname.h
|
|
index e609360..6029b9f 100644
|
|
--- a/lib/tempname.h
|
|
+++ b/lib/tempname.h
|
|
@@ -50,6 +50,8 @@ extern "C" {
|
|
|
|
We use a clever algorithm to get hard-to-predict names. */
|
|
extern int gen_tempname (char *tmpl, int suffixlen, int flags, int kind);
|
|
+extern int gen_tempname_len (char *tmpl, int suffixlen, int flags, int kind,
|
|
+ size_t x_suffix_len);
|
|
|
|
/* Similar to gen_tempname, but TRYFUNC is called for each temporary
|
|
name to try. If TRYFUNC returns a non-negative number, TRY_GEN_TEMPNAME
|
|
@@ -57,6 +59,9 @@ extern int gen_tempname (char *tmpl, int suffixlen, int flags, int kind);
|
|
name is tried, or else TRY_GEN_TEMPNAME returns -1. */
|
|
extern int try_tempname (char *tmpl, int suffixlen, void *args,
|
|
int (*tryfunc) (char *, void *));
|
|
+extern int try_tempname_len (char *tmpl, int suffixlen, void *args,
|
|
+ int (*tryfunc) (char *, void *),
|
|
+ size_t x_suffix_len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|