mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Revert "Use posix_spawn to run the pager"
This reverts commit d34d2b2bbf
.
This commit is contained in:
parent
2e98703c0c
commit
ad332e1718
3 changed files with 10 additions and 39 deletions
|
@ -73,7 +73,6 @@ class SysError : public Error
|
|||
public:
|
||||
int errNo;
|
||||
SysError(const FormatOrString & fs);
|
||||
SysError(int errNo, const FormatOrString & fs);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue