Loading...
stdio/xprintf_comp.c Libc-1725.40.4 Libc-1583.60.2
--- Libc/Libc-1725.40.4/stdio/xprintf_comp.c
+++ Libc/Libc-1583.60.2/stdio/xprintf_comp.c
@@ -37,7 +37,7 @@
 free_printf_comp(printf_comp_t pc)
 {
     if(!pc) return;
-    xlocale_release(pc->loc);
+    XL_RELEASE(pc->loc);
 #ifdef XPRINTF_PERF
     arrayfree(pc->pa);
     free(pc->pa);
@@ -71,7 +71,7 @@
     pc->fmt = (const char *)(pc + 1);
     strcpy((char *)pc->fmt, fmt);
     DEFAULT_CURRENT_LOCALE(loc);
-    xlocale_retain(loc);
+    XL_RETAIN(loc);
     pc->loc = loc;
     xprintf_domain_init();
     pthread_rwlock_rdlock(&domain->rwlock);
@@ -79,7 +79,7 @@
     saverrno = errno;
     pthread_rwlock_unlock(&domain->rwlock);
     if(ret < 0) {
-	xlocale_release(loc);
+	XL_RELEASE(loc);
 	pthread_mutex_destroy(&pc->mutex);
 	free(pc);
 	errno = saverrno;