Subject: ldd patch
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Tim Chase <tim@introl.introl.com>
List: current-users
Date: 12/15/1993 23:22:30
Hello,

I see there's an exit (rather than _exit in ld.so now).  The following
patch to ldd makes the output of "ldd * > xyz" more useful.  I've been
doing that a lot lately to weed out (relink) programs that are still
using old versions of shared libs.


*** OLDldd.c	Wed Dec  8 05:07:46 1993
--- ldd.c	Wed Dec 15 23:15:31 1993
***************
*** 107,112 ****
--- 107,113 ----
  		(void)close(fd);
  
  		printf("%s:\n", *argv);
+ 		fflush(stdout);
  
  		switch (fork()) {
  		case -1:


						- Tim Chase
						  tim@introl.com

------------------------------------------------------------------------------