[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gss/lib
From: |
gss-commit |
Subject: |
CVS gss/lib |
Date: |
Fri, 17 Sep 2004 00:56:18 +0200 |
Update of /home/cvs/gss/lib
In directory dopio:/tmp/cvs-serv17566
Modified Files:
ext.c
Log Message:
(xalloc_die): Don't use strerror, for thread safety.
--- /home/cvs/gss/lib/ext.c 2004/08/09 08:50:06 1.10
+++ /home/cvs/gss/lib/ext.c 2004/09/16 22:56:17 1.11
@@ -22,7 +22,6 @@
#include "internal.h"
#include <stdio.h>
-#include <errno.h>
/* If non-NULL, call this function when memory is exhausted. */
void (*gss_alloc_fail_function) (void) = 0;
@@ -33,7 +32,7 @@
if (gss_alloc_fail_function)
(*gss_alloc_fail_function) ();
fflush (stdout);
- fprintf (stderr, "%s: %s\n", PACKAGE, strerror (ENOMEM));
+ fprintf (stderr, _("%s: Memory allocation failed\n"), PACKAGE);
abort ();
}
- CVS gss/lib,
gss-commit <=