This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITTED PATCH] NPTL: Clean up gratuitous Linuxism in libpthread.so entry point.


Oops.  Fixed thusly.

Thanks,
Roland


2014-10-21  Roland McGrath  <roland@hack.frob.com>

	* nptl/version.c (__nptl_main): Call __libc_write, not __write.

--- a/nptl/version.c
+++ b/nptl/version.c
@@ -38,6 +38,6 @@ __attribute__ ((noreturn))
 void
 __nptl_main (void)
 {
-  __write (STDOUT_FILENO, (const char *) banner, sizeof banner - 1);
+  __libc_write (STDOUT_FILENO, banner, sizeof banner - 1);
   _exit (0);
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]