aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-21 21:03:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-21 21:03:37 +0000
commit443339fa69ced5de0a6b202fc590e6a3ffbcdeab (patch)
tree9a79b665fea80d82df17f46404700e1dbc5b8aef
parent5eebff4026a0a5146d5866e372c9f5c002aa31c9 (diff)
downloadpaludis-443339fa69ced5de0a6b202fc590e6a3ffbcdeab.tar.gz
paludis-443339fa69ced5de0a6b202fc590e6a3ffbcdeab.tar.xz
stat less
-rw-r--r--paludis/environments/paludis/paludis_config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index c2b9c43..01aa5bc 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -505,10 +505,10 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
}
FSPath tty_0("/dev/pts/0");
+ FSStat tty_0_stat(tty_0);
bool tty_ok(true);
- if (tty_0.stat().exists())
+ if (tty_0_stat.exists())
{
- FSStat tty_0_stat(tty_0);
::gid_t gids[100];
int g(100);