1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-22 18:29:36 +01:00

Rename an identifier of ours called stdout

This is a reserved identifier on NetBSD --- it is replaced by a macro on
that platform --- and so we cannot use it.
This commit is contained in:
John Ericson 2023-08-30 23:44:23 -04:00
parent 0db251e4ad
commit 7f76d7f038
2 changed files with 7 additions and 6 deletions

View file

@ -85,8 +85,9 @@ struct LegacyArgs : public MixCommonArgs
void showManPage(const std::string & name);
/**
* The constructor of this class starts a pager if stdout is a
* terminal and $PAGER is set. Stdout is redirected to the pager.
* The constructor of this class starts a pager if standard output is a
* terminal and $PAGER is set. Standard output is redirected to the
* pager.
*/
class RunPager
{
@ -96,7 +97,7 @@ public:
private:
Pid pid;
int stdout;
int std_out;
};
extern volatile ::sig_atomic_t blockInt;