Re: [Rpm-maint] [PATCH] Don't lose errno from rpmPackageFilesInstall

2013-08-14 Thread Panu Matilainen
Hi, On 06/27/2013 08:39 PM, Andreas Schwab wrote: There are a lot of ways to lose the value of errno after a failed rpmPackageFilesInstall. Typically, stdio will call isatty which then overwrites errno with ENOTTY. Save and restore errno between the return from rpmPackageFilesInstall and the l

[Rpm-maint] [PATCH] Don't lose errno from rpmPackageFilesInstall

2013-07-09 Thread Andreas Schwab
There are a lot of ways to lose the value of errno after a failed rpmPackageFilesInstall. Typically, stdio will call isatty which then overwrites errno with ENOTTY. Save and restore errno between the return from rpmPackageFilesInstall and the logging of the error. There may be more opportunities