mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
1998-09-24 Ulrich Drepper <drepper@cygnus.com> * misc/regexp.h (compile): Use alloca instead of __alloca. It won't pollute the namespace since the compiler will resolve it inline. Reported by Florian La Roche <florian@suse.de>.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
1998-09-24 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* misc/regexp.h (compile): Use alloca instead of __alloca. It won't
|
||||||
|
pollute the namespace since the compiler will resolve it inline.
|
||||||
|
Reported by Florian La Roche <florian@suse.de>.
|
||||||
|
|
||||||
1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
|
1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* timezone/private.h: Update from tzcode1998g.
|
* timezone/private.h: Update from tzcode1998g.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ compile (char *instring, char *expbuf, __const char *endbuf, int eof)
|
|||||||
if (__current_size + 1 >= __input_size)
|
if (__current_size + 1 >= __input_size)
|
||||||
{
|
{
|
||||||
size_t __new_size = __input_size ? 2 * __input_size : 128;
|
size_t __new_size = __input_size ? 2 * __input_size : 128;
|
||||||
char *__new_room = __alloca (__new_size);
|
char *__new_room = alloca (__new_size);
|
||||||
/* See whether we can use the old buffer. */
|
/* See whether we can use the old buffer. */
|
||||||
if (__new_room + __new_size == __input_buffer)
|
if (__new_room + __new_size == __input_buffer)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user