Date: Sun, 27 Apr 2008 20:46:45 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh arith.h arith.y shell.h Message-ID: <200804272046.m3RKkjnu002682@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2008-04-27 20:46:45 UTC FreeBSD src repository Modified files: bin/sh arith.h arith.y shell.h Log: - Fix bugs where the value of arithmetic expansion$((...)) was trucated to type int. - Change the type used for arithmetic expansion to intmax_t (ie. 64 bit on all currently supported FreeBSD architectures). SUSv3 requires at least type long but allows for larger types. Other shells (eg. bash, zsh, NetBSD's sh) do that too. PR: 122659 Submitted by: Jaakko Heinonen (minor modifications by me) Revision Changes Path 1.12 +5 -1 src/bin/sh/arith.h 1.22 +13 -9 src/bin/sh/arith.y 1.18 +11 -4 src/bin/sh/shell.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804272046.m3RKkjnu002682>