packages/net/appweb/patches/100-compile_fix.patch

18 lines
461 B
Diff
Raw Normal View History

--- a/src/ejs/ejsLib.c
+++ b/src/ejs/ejsLib.c
@@ -21544,11 +21544,13 @@ EjsVar *ejsThrowInternalError(Ejs *ejs,
EjsVar *ejsThrowMemoryError(Ejs *ejs)
{
+ va_list fmtArgs;
+
/*
* Don't do double exceptions for memory errors
*/
if (ejs->exception == 0) {
- return ejsCreateException(ejs, ES_MemoryError, 0, 0);
+ return ejsCreateException(ejs, ES_MemoryError, NULL, fmtArgs);
}
return ejs->exception;
}