The following reply was made to PR bin/166660; it has been noted by GNATS. From: John Baldwin <j...@freebsd.org> To: bug-follo...@freebsd.org, jere...@le-hen.org Cc: Subject: Re: bin/166660: [libc] [patch] New util/shlib to change per-fd default stdio buffering mode Date: Mon, 09 Apr 2012 11:30:08 -0400
I think it would be fine to do this in libc directly rather than via LD_PRELOAD. That would let it work for static binaries as well as dynamic libraries. My understanding is that this is how stdbuf works on Linux (glibc honors the relevant magic environment variables). To that end, I think it would be ok to move this into libc directly. One more question, do you use the same environment variable as glibc for this, or do you use a different scheme? -- John Baldwin _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"