ulimit' can't parse localized messages of "unlimited"; force ulimit -H

...' to print out the C-locale message.  Problem reported by Hiroyuki
Nakaji.
This commit is contained in:
uebayasi 2004-10-12 08:38:19 +00:00
parent 5e16de2027
commit 37f4171f37

View file

@ -1,4 +1,4 @@
# $NetBSD: SunOS.mk,v 1.2 2004/10/07 02:01:39 jlam Exp $ # $NetBSD: SunOS.mk,v 1.3 2004/10/12 08:38:19 uebayasi Exp $
# #
# Variable definitions for the SunOS/Solaris operating system. # Variable definitions for the SunOS/Solaris operating system.
@ -101,9 +101,9 @@ ROOT_CMD?= ${SU} - root -c
ROOT_GROUP?= root ROOT_GROUP?= root
ROOT_USER?= root ROOT_USER?= root
SERIAL_DEVICES?= /dev/null SERIAL_DEVICES?= /dev/null
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_datasize?= ulimit -d `${SETENV} LC_MESSAGES=C ulimit -H -d`
ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_stacksize?= ulimit -s `${SETENV} LC_MESSAGES=C ulimit -H -s`
ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` ULIMIT_CMD_memorysize?= ulimit -v `${SETENV} LC_MESSAGES=C ulimit -H -v`
USERADD?= /usr/sbin/useradd USERADD?= /usr/sbin/useradd
# imake installs manpages in weird places # imake installs manpages in weird places