inspect: Add function to read the first line of a file, with safety checks.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 16 Nov 2010 12:35:39 +0000 (12:35 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 18 Nov 2010 11:58:28 +0000 (11:58 +0000)
commit22313e0ffda9ebaada68e8fd46adf1529aa10cfa
tree5d30ec354f0019cdeccdbd1a0564bf0ba9a97086
parenta1d86d7160b404fbe8b9549b6360d2e7f86ea6b5
inspect: Add function to read the first line of a file, with safety checks.
(cherry picked from commit a4448956e9a815aff59cac3d98caf80f620fc4c4)
src/inspect.c