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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to