Eliminate fdNew() from the API
authorPanu Matilainen <Panu Matilainen pmatilai@redhat.com>
Thu, 7 Jul 2011 10:55:16 +0000 (13:55 +0300)
committerPanu Matilainen <Panu Matilainen pmatilai@redhat.com>
Thu, 7 Jul 2011 10:55:16 +0000 (13:55 +0300)
commit3688b39cab92af6840d541c60582bd327954ff50
tree68c2efac32d198ef11967dd04b1e369ca0c9b297
parent78c95448a16f0c766e1fdd34db861b8150335484
Eliminate fdNew() from the API

- Nobody should be able to create file descriptors which are not
  attached to a file/descriptor of some kind, the only sane
  fd constructors are Fopen(), Fdopen() and fdDup().
- The same applies to fdFree() but its a bit more complicated,
  punting that till later...
rpmio/rpmio.c
rpmio/rpmio.h