Ed Schouten
a7b5ad271c
Make input parsing in Farhenheit actually work.
...
Don't clobber *p with '\0' when testing whether it has the value of 'F'.
Just use the semantics of strtof() properly. If it returns p, we know
that it parsed the string until it reached 'C' or 'F'.
The code has not changed since it has been imported (r161951, Sep 3,
2006).
Submitted by: Alexandre Perrin <kaworu@kaworu.ch>
MFC after: 1 week
2009-10-21 18:31:54 +00:00
..
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2008-12-24 11:12:21 +00:00
2009-03-08 18:02:30 +00:00
2008-06-27 09:09:50 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-06-17 06:41:10 +00:00
2009-03-19 12:31:59 +00:00
2008-01-29 00:20:00 +00:00
2009-01-30 18:33:05 +00:00
2009-06-03 09:23:31 +00:00
2009-06-10 19:02:54 +00:00
2006-10-31 22:07:29 +00:00
2007-04-06 11:16:11 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-12 21:11:50 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-09-18 14:17:00 +00:00
2009-10-19 16:00:24 +00:00
2005-11-07 19:22:20 +00:00
2009-06-23 23:56:56 +00:00
2008-12-22 19:52:21 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2006-09-30 11:12:36 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2007-06-14 03:16:16 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-09-17 19:08:15 +00:00
2009-01-20 02:08:21 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2006-09-13 04:50:44 +00:00
2006-07-17 20:53:25 +00:00
2009-10-19 16:00:24 +00:00
2008-09-06 17:26:52 +00:00
2009-04-29 10:02:50 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-04-23 09:11:37 +00:00
2009-01-11 22:36:45 +00:00
2008-08-27 15:01:23 +00:00
2008-07-02 15:51:59 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-05-22 15:56:43 +00:00
2009-09-04 18:52:26 +00:00
2009-10-19 16:00:24 +00:00
2006-07-27 18:28:14 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2008-09-29 05:31:27 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-19 16:00:24 +00:00
2009-10-21 18:31:54 +00:00
2009-10-21 10:15:26 +00:00
2009-08-17 07:38:47 +00:00
2009-05-22 12:35:12 +00:00
2009-10-19 16:00:24 +00:00