NetBSD Problem Report #3542
Received: (qmail-queue invoked from smtpd); 26 Apr 1997 00:34:10 -0000
Message-Id: <199704260033.RAA23619@adagio.fugue.com>
Date: Fri, 25 Apr 1997 17:33:38 -0700 (PDT)
From: Ted Lemon <mellon@adagio.fugue.com>
Reply-To: mellon@adagio.fugue.com
To: gnats-bugs@gnats.netbsd.org
Subject: Patch-o in ultrix_misc.c breaks compiles if SYSV_SHM defined
X-Send-Pr-Version: 3.95
>Number: 3542
>Category: port-pmax
>Synopsis: Patch-o in ultrix_misc.c breaks compiles if SYSV_SHM defined
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 26 00:35:01 +0000 1997
>Closed-Date: Sun Apr 27 00:55:01 +0000 1997
>Last-Modified: Wed Aug 07 22:55:30 +0000 2002
>Originator: Ted Lemon
>Release: 4/25/97
>Organization:
Barefoot Consulting
>Environment:
System: NetBSD adagio.fugue.com 1.2D NetBSD 1.2D (ADAGIO) #8: Sun Apr 20 21:51:46 PDT 1997 mellon@toccata.fugue.com:/NetBSD/current/current/sys/arch/pmax/compile/ADAGIO pmax
>Description:
ultrix_misc.c compiles if SYSV_SHM is not defined, but fails if
it is.
>How-To-Repeat:
Build a pmax kernel with SYSV_SHM.
>Fix:
Apply this patch:
Index: ultrix_misc.c
===================================================================
RCS file: /cvsroot/src/sys/compat/ultrix/ultrix_misc.c,v
retrieving revision 1.30
diff -c -2 -r1.30 ultrix_misc.c
*** ultrix_misc.c 1997/04/06 23:26:53 1.30
--- ultrix_misc.c 1997/04/26 00:30:09
***************
*** 648,654 ****
return (EINVAL);
}
! }
! #endif /* SYSVSHM */
!
return (EOPNOTSUPP);
}
--- 648,653 ----
return (EINVAL);
}
! #else
return (EOPNOTSUPP);
+ #endif /* SYSVSHM */
}
>Release-Note:
>Audit-Trail:
From: Jonathan Stone <jonathan@netbsd1.cygnus.com>
To: GNATS administrator <gnats-admin@NetBSD.ORG>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-pmax/3542: Patch-o in ultrix_misc.c breaks compiles if SYSV_SHM defined
Date: 27 Apr 1997 00:55:38 -0000
`Jonathan Stone' made changes to this PR.
--- /tmp/gnats009667 Sat Apr 26 17:54:47 1997
+++ /tmp/gnatsa09667 Sat Apr 26 17:55:01 1997
@@ -19,7 +19,7 @@
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
->State: open
+>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 25 17:35:01 1997
Fix from Ted Lemon applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.