]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Sep 1998 10:42:58 +0000 (10:42 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Sep 1998 10:42:58 +0000 (10:42 +0000)
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>.

ChangeLog
misc/regexp.h

index 20ab2badb15e6bae79c13d12148adc8186ec8544..f8a241f02d20899737770131cffea4765c086a75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * timezone/private.h: Update from tzcode1998g.
index c2633eb8da97c96d558f29051e6d65639c10abd8..54052b7b0f5cbe742693b31edff6697b75d52c49 100644 (file)
@@ -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.
    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)
        {
          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.  */
          if (__new_room + __new_size == __input_buffer)
            {
This page took 0.051456 seconds and 5 git commands to generate.