mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
xmalloc.c (xmalloc): Fix spelling error.
* xmalloc.c (xmalloc): Fix spelling error. (xcalloc, xrealloc): Likewise. From-SVN: r29779
This commit is contained in:
parent
3b1b9f12b4
commit
fc232f7a62
@ -1,3 +1,8 @@
|
||||
1999-10-02 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* xmalloc.c (xmalloc): Fix spelling error.
|
||||
(xcalloc, xrealloc): Likewise.
|
||||
|
||||
1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* cplus-dem.c (fancy_abort, demangle_integral_value,
|
||||
|
@ -81,12 +81,12 @@ xmalloc (size)
|
||||
else
|
||||
allocated = (char *) sbrk (0) - (char *) &environ;
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not allocate %lu bytes after allocating %lu bytes\n",
|
||||
"\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) size, (unsigned long) allocated);
|
||||
#else /* HAVE_SBRK */
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not allocate %lu bytes\n",
|
||||
"\n%s%sCannot allocate %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) size);
|
||||
#endif /* HAVE_SBRK */
|
||||
@ -116,12 +116,12 @@ xcalloc (nelem, elsize)
|
||||
else
|
||||
allocated = (char *) sbrk (0) - (char *) &environ;
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not allocate %lu bytes after allocating %lu bytes\n",
|
||||
"\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) (nelem * elsize), (unsigned long) allocated);
|
||||
#else /* HAVE_SBRK */
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not allocate %lu bytes\n",
|
||||
"\n%s%sCannot allocate %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) (nelem * elsize));
|
||||
#endif /* HAVE_SBRK */
|
||||
@ -154,12 +154,12 @@ xrealloc (oldmem, size)
|
||||
else
|
||||
allocated = (char *) sbrk (0) - (char *) &environ;
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not reallocate %lu bytes after allocating %lu bytes\n",
|
||||
"\n%s%sCannot reallocate %lu bytes after allocating %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) size, (unsigned long) allocated);
|
||||
#else /* HAVE_SBRK */
|
||||
fprintf (stderr,
|
||||
"\n%s%sCan not reallocate %lu bytes\n",
|
||||
"\n%s%sCannot reallocate %lu bytes\n",
|
||||
name, *name ? ": " : "",
|
||||
(unsigned long) size);
|
||||
#endif /* HAVE_SBRK */
|
||||
|
Loading…
Reference in New Issue
Block a user