cvs commit: src/usr.bin/ldd ldd.c

From: Edwin Groothuis <edwin_at_FreeBSD.org>
Date: Thu, 3 Jul 2008 22:30:18 +0000 (UTC)
edwin       2008-07-03 22:30:18 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/ldd          ldd.c 
  Log:
  SVN rev 180235 on 2008-07-03 22:30:18Z by edwin
  
  Extract the determination of the kind of (dynamic) executable from
  the main-loop into a seperate function.
  Instead of using hardcoded environment variables, define them in a
  lookup table.
  For the rest, no functionality changes.
  
  Approved by:    bde (mentor)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.35      +121 -82   src/usr.bin/ldd/ldd.c
Received on Thu Jul 03 2008 - 22:30:22 UTC