summaryrefslogtreecommitdiff
path: root/net/tacacs-shrubbery/patches/patch-ah
blob: 6278c4a92423b60d2457fdd18baf5922575a7bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ah,v 1.3 2012/05/10 19:01:09 schwarz Exp $

Handle IRIX the same way as Solaris

--- do_acct.c.orig	2012-05-06 23:28:47.000000000 +0200
+++ do_acct.c	2012-05-06 23:31:37.000000000 +0200
@@ -230,7 +230,7 @@
     else
 	memcpy(entry.ut_name, name, sizeof(entry.ut_name));
 
-#ifndef SOLARIS
+#if !defined(SOLARIS) && !defined(__sgi)
     if (strlen(host) < sizeof entry.ut_host)
 	strcpy(entry.ut_host, host);
     else