[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] scratch_buffer: add scratch_buffer_dupfree macro
From: |
Paul Eggert |
Subject: |
[PATCH] scratch_buffer: add scratch_buffer_dupfree macro |
Date: |
Fri, 8 Jan 2021 12:02:24 -0800 |
* lib/scratch_buffer.h (__libc_scratch_buffer_dupfree):
New macro, needed to support recent changes in this module.
---
ChangeLog | 4 ++++
lib/scratch_buffer.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index aff3584e4..540f15a3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2021-01-08 Paul Eggert <eggert@cs.ucla.edu>
+ scratch_buffer: add scratch_buffer_dupfree macro
+ * lib/scratch_buffer.h (__libc_scratch_buffer_dupfree):
+ New macro, needed to support recent changes in this module.
+
regex: remove alloca usage on regex set_regs
Derived from this patch by Adhemerval Zanella:
https://sourceware.org/pipermail/libc-alpha/2021-January/121372.html
diff --git a/lib/scratch_buffer.h b/lib/scratch_buffer.h
index 3e2b5ef27..603b0d65d 100644
--- a/lib/scratch_buffer.h
+++ b/lib/scratch_buffer.h
@@ -21,6 +21,7 @@
#include <libc-config.h>
+#define __libc_scratch_buffer_dupfree gl_scratch_buffer_dupfree
#define __libc_scratch_buffer_grow gl_scratch_buffer_grow
#define __libc_scratch_buffer_grow_preserve gl_scratch_buffer_grow_preserve
#define __libc_scratch_buffer_set_array_size gl_scratch_buffer_set_array_size
--
2.27.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] scratch_buffer: add scratch_buffer_dupfree macro,
Paul Eggert <=