home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7149 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.2 KB  |  24 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!charon
  3. From: charon@opal.cs.tu-berlin.de (Sebastian Florian Mix)
  4. Subject: Re: printf g format still broken under NeXTSTEP 3.0 
  5. Message-ID: <1992Nov11.162104.1538@cs.tu-berlin.de>
  6. Sender: news@cs.tu-berlin.de
  7. Organization: Techn. University of Berlin, Germany
  8. References: <1992Nov11.012228.23372@access.usask.ca> <1992Nov11.095957.22979@cs.brown.edu>
  9. Date: Wed, 11 Nov 1992 16:21:04 GMT
  10. Lines: 12
  11.  
  12. Well, I suspect NeXT to be wrong in this case, since there is at least one
  13. similar thing in fscanf().
  14. Lets have a file with contents "a is:1.0\n" and try to read it with
  15. fscanf(file,"a is:%lg\n",&d) into the double d: you'll get a return
  16. value of 0 from fscanf and it stops at the '.', and I don't think it
  17. is supposed to do so, or is it ? 
  18.  
  19. --
  20. --------------------------------------------------------------------------------
  21. Sebastian Mix, Eichhornstr.5-6 Apt.222, D-1000 Berlin 30, T: (030) 262 1811 /(a\
  22. charon@cs.tu-berlin.de <-no NeXTmail yo-> charabib@w271zrz.zrz.tu-berlin.de \p)/
  23. --------------------------------------------------------------------------------
  24.