Clean up spec %files -f <manifest> processing
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 28 May 2011 14:30:16 +0000 (17:30 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Sat, 28 May 2011 14:38:01 +0000 (17:38 +0300)
commite9d966a868f5dedf96a3086e0566c83a6a3446f6
tree5c86d183ec70fc16cee6d2eed5cc121e0a45804b
parentfb4995197074939403328418736130d5df377ea3
Clean up spec %files -f <manifest> processing
- Split the manifest reading into a helper function
- Fix filename memleak when the file couldn't be opened and
  also check for ferror() on return from the fgets() loop - fgets()
  returns NULL on both EOF and error, previously an error would've
  gone silently unnoticed.o
build/files.c