~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/misc/prdtoa.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 *
36
36
 * ***** END LICENSE BLOCK ***** */
37
37
 
 
38
/*
 
39
 * This file is based on the third-party code dtoa.c.  We minimize our
 
40
 * modifications to third-party code to make it easy to merge new versions.
 
41
 * The author of dtoa.c was not willing to add the parentheses suggested by
 
42
 * GCC, so we suppress these warnings.
 
43
 */
 
44
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
 
45
#pragma GCC diagnostic ignored "-Wparentheses"
 
46
#endif
 
47
 
38
48
#include "primpl.h"
39
49
 
40
50
#define MULTIPLE_THREADS
3351
3361
                ++*s++;
3352
3362
                }
3353
3363
        else {
 
3364
#ifdef Honor_FLT_ROUNDS
3354
3365
 trimzeros:
 
3366
#endif
3355
3367
                while(*--s == '0');
3356
3368
                s++;
3357
3369
                }