Revert "Use posix_spawn to run the pager"

This reverts commit d34d2b2bbf.
This commit is contained in:
Eelco Dolstra
2014-12-10 13:48:50 +01:00
parent 2e98703c0c
commit ad332e1718
3 changed files with 10 additions and 39 deletions
-1
View File
@@ -73,7 +73,6 @@ class SysError : public Error
public:
int errNo;
SysError(const FormatOrString & fs);
SysError(int errNo, const FormatOrString & fs);
};
+2 -8
View File
@@ -45,14 +45,8 @@ BaseError & BaseError::addPrefix(const FormatOrString & fs)
SysError::SysError(const FormatOrString & fs)
: SysError(errno, fs)
{
}
SysError::SysError(int errNo, const FormatOrString & fs)
: Error(format("%1%: %2%") % fs.s % strerror(errNo))
, errNo(errNo)
: Error(format("%1%: %2%") % fs.s % strerror(errno))
, errNo(errno)
{
}