----- Original Message ----- From: "Bil Kleb" <William.L.Kleb / NASA.Gov> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Friday, March 28, 2003 2:09 PM Subject: scanf failing(?) for floats read from a file > I'm beginning to use scanf (thanks David, Hal, Noland, and Jason!) to > read some floats. > > However, I am getting some bad data from it when using it to read > data from a file. [snip] > This is for scanf 1.1.1 and ruby 1.7.2 (2002-05-29) and 1.6.8 (2003-03-26) > on i686-linux. <sigh> Sorry for the problem, Bil. I think 1.1.1 is buggy. We discovered it only after deploying it a two days ago. Did you try running the test cases that come with it? David told me this would happen. :) He asked if we could roll back to 1.1.0, and I said it was a lot of trouble to do that, as I hadn't saved my old files. I argued that he could just refrain from announcing it, and the chances of anyone downloading 1.1.1 in the next day or two were minimal. So congratulations, Bil! You win a prize for exposing our carelessness. No promises on when this can be fixed... but I can at least dig up the old .tgz file and make it available also on the site (v 1.0.0). Expect that soon. Cheers, Hal