2002-01-13 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 15 Jan 2002 19:58:41 +0000 (19:58 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 15 Jan 2002 19:58:41 +0000 (19:58 +0000)
commite8a59c49e42aa1badda761faa861e7920583c53c
tree9ae8d87f4fd077108d5a69da0211882c751a584c
parentc7ef6928092c6fc793bbcd15b49894522a91511a
2002-01-13  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.c: Various source clean ups, like renaming C to CTX where
appropriate.
(gpgme_new): Clear R_CTX before starting the work.
(my_isdigit): Removed.
(my_isxdigit): Likewise.

* data.c: Various source clean ups.
(gpgme_data_new_from_mem): Check BUFFER after clearing R_DH.
(gpgme_data_new_with_read_cb): Similar for READ_CB.
(gpgme_data_new_from_file): Loop over fread while EINTR.
(gpgme_data_new_from_filepart): Rediddled a bit.  Allow LENGTH to
be zero.  Loop over fread while EINTR.

(my_isdigit): Removed.
(my_isxdigit): Likewise.
trunk/gpgme/ChangeLog
trunk/gpgme/data.c
trunk/gpgme/gpgme.c