"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/global.c" between
libgcrypt-1.9.1.tar.bz2 and libgcrypt-1.9.2.tar.bz2

About: Libgcrypt is a general purpose library of cryptographic building blocks (originally based on GnuPG code).

global.c  (libgcrypt-1.9.1.tar.bz2):global.c  (libgcrypt-1.9.2.tar.bz2)
skipping to change at line 421 skipping to change at line 421
{ {
gpg_err_set_errno (EINVAL); gpg_err_set_errno (EINVAL);
return NULL; return NULL;
} }
fp = gpgrt_fopenmem (0, "w+b,samethread"); fp = gpgrt_fopenmem (0, "w+b,samethread");
if (!fp) if (!fp)
return NULL; return NULL;
print_config (what, fp); print_config (what, fp);
if (!what)
{
/* Null-terminate bulk output. */
gpgrt_fwrite ("\0", 1, 1, fp);
}
if (gpgrt_ferror (fp)) if (gpgrt_ferror (fp))
{ {
save_errno = errno; save_errno = errno;
gpgrt_fclose (fp); gpgrt_fclose (fp);
gpg_err_set_errno (save_errno); gpg_err_set_errno (save_errno);
return NULL; return NULL;
} }
gpgrt_rewind (fp); gpgrt_rewind (fp);
if (gpgrt_fclose_snatch (fp, &data, NULL)) if (gpgrt_fclose_snatch (fp, &data, NULL))
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)