home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2832 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: comma.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: BUG IN "STATUS" COMMAND FOUND
  5. Message-ID: <ctw2y*eLf@yaps.rhein.de>
  6. Date: Mon, 05 Feb 1996 18:02:52 +0100
  7. References: <4f403j$qpm@jeack.apana.org.au>
  8. Organization: Yet Another Private Site in Meckenheim, Germany
  9. X-Copyright: This article may not be distributed on a CD-ROM
  10.  or in printed form without prior written consent of the author.
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <4f403j$qpm@jeack.apana.org.au>, Brett Eden writes:
  14.  
  15. How about wrapping your lines at a decent (i.e. around 70) length?
  16.  
  17. > 7. System:> Status 2147483647
  18. > Causes the shell from which the command was initiated, to freeze,
  19. > until a ^C is issued.
  20.  
  21. This is indeed strange, but can be reproduced on my system with status
  22. 37.2 and dos.library 40.3 (as included in the A3000 3.1 update kit).
  23.  
  24. > 7. System:> Status 2147483648
  25. > Returns an error "Process -2147483648 does not exist" - which,
  26. > obviously, is true, but where did it get the negative sign from?
  27.  
  28. A signed longword can hold values from -2147483648 to 2147483647.
  29. 2147483648 is too big an causes an overflow which ReadArgs() does not
  30. catch. This is indeed a dos.library bug, and as far as I remember, it
  31. has been there at least since 2.04.
  32.  
  33. -- __
  34. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  35. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  36.