Commit ID: 1005EF4B8347D0700FB
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/06/25 14:48:40 UTC
Modified files:
bin/mksh : funcs.c
Log message:
what with the weird Apple hacks (Mac OSX is apparently called “macOS” now?)
According to joyent, Mac OSX up to 10.3 used to have ulimit -m only, but
10.4 and up have -v only; Apple, supported by the stock shell, introduced
a compatibility define, so 10.4 and later have -m as alias of -v, and
software expects it. More importantly, portable software needs -m, since
older versions do not have -v… case in point: pkgsrc®’s platform specs.
Just pretend if __APPLE__ they’re distinct.
Thanks to bsiegert@ for informing me of these Joyent patches,
and Jonathan Perkin for getting pkgsrc® out of the pdksh stone age ☻
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.374 -r1.375 src/bin/mksh/funcs.c