diff options
author | Eric Wong <e@80x24.org> | 2019-06-24 02:52:17 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-24 05:26:26 +0000 |
commit | e8dce524749fccb5b0044a92e221b03282f5024e (patch) | |
tree | 6dbfd202aa25f20c3d7a3c021bf172b52312dcab /lib | |
parent | 7a5794fa02e07507564e8c3d7f2fc646956b66cb (diff) | |
download | public-inbox-e8dce524749fccb5b0044a92e221b03282f5024e.tar.gz |
We don't need to keep information from uname(2) around outside of startup.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Syscall.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Syscall.pm b/lib/PublicInbox/Syscall.pm index 98110eaf..17fd1398 100644 --- a/lib/PublicInbox/Syscall.pm +++ b/lib/PublicInbox/Syscall.pm @@ -59,7 +59,6 @@ sub _load_syscall { return $rv; } -our ($sysname, $nodename, $release, $version, $machine) = POSIX::uname(); our ( $SYS_epoll_create, @@ -71,6 +70,7 @@ our ( our $no_deprecated = 0; if ($^O eq "linux") { + my $machine = (POSIX::uname())[-1]; # whether the machine requires 64-bit numbers to be on 8-byte # boundaries. my $u64_mod_8 = 0; |