Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-02-04 15:00:19 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-02-04 15:00:19 +0300
commit340e2fa50432585316b7828b4a696162a1920733 (patch)
tree173fc729a3e8538512dbd80341c02043e56bfd99 /winsup/cygwin/smallprint.cc
parentb6cde8aa13e7ead6d3715e962fdff1e5fded2f35 (diff)
* smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
* strfuncs.cc (sys_wcstombs_alloc): Guard use of ccalloc to !__OUTSIDE_CYGWIN__ for use in cygserver. (sys_mbstowcs_alloc): Ditto.
Diffstat (limited to 'winsup/cygwin/smallprint.cc')
-rw-r--r--winsup/cygwin/smallprint.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/smallprint.cc b/winsup/cygwin/smallprint.cc
index 36cf6db88..f792dc084 100644
--- a/winsup/cygwin/smallprint.cc
+++ b/winsup/cygwin/smallprint.cc
@@ -197,7 +197,7 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
{
char *tmp;
- if (!sys_wcstombs_alloc (&tmp, PATH_MAX, us->Buffer,
+ if (!sys_wcstombs_alloc (&tmp, HEAP_NOTHEAP, us->Buffer,
us->Length / sizeof (WCHAR)))
{
s = "invalid UNICODE_STRING";