~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/lib/libc/src/strlen.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:
53
53
     * we don't have ultra long strings that overflow an int32
54
54
     */ 
55
55
    if( sizeof(PRUint32) < sizeof(size_t) )
56
 
    {
57
 
        if( l > PR_INT32_MAX )
58
 
            PR_Assert("l <= PR_INT32_MAX", __FILE__, __LINE__);
59
 
    }
 
56
        PR_ASSERT(l <= PR_INT32_MAX);
60
57
 
61
58
    return (PRUint32)l;
62
59
}