~ubuntu-branches/ubuntu/gutsy/firefox/gutsy

« back to all changes in this revision

Viewing changes to nsprpub/pr/src/io/prfdcach.c

  • Committer: Bazaar Package Importer
  • Author(s): Ian Jackson
  • Date: 2006-10-10 18:49:32 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20061010184932-da75izt7y0e59afq
Tags: 1.99+2.0rc2+dfsg-0ubuntu1
* New upstream version 2.0rc2.
* Fix/workaround for epiphany GtkSocket lifetype crash:
  apply patch id=241087 from Mozilla Bugzilla #241535 to fix LP #63814.
* Change application name to `Firefox', as requested by mdz.
  Files changed:
    - browser/locales/en-US/chrome/branding/brand.dtd
    - browser/locales/en-US/chrome/branding/brand.properties;
  New values:
    - brandShortName and brandFullName: `Bon Echo' => `Firefox'
    - vendorShortName: `Mozilla' => `Ubuntu'
* Make preferences dialogue fit again (bah!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
    if (NULL != low) _pr_fd_cache.limit_low = atoi(low);
278
278
    if (NULL != high) _pr_fd_cache.limit_high = atoi(high);
279
279
 
 
280
    if (_pr_fd_cache.limit_low < 0)
 
281
        _pr_fd_cache.limit_low = 0;
 
282
    if (_pr_fd_cache.limit_low > FD_SETSIZE)
 
283
        _pr_fd_cache.limit_low = FD_SETSIZE;
 
284
 
 
285
    if (_pr_fd_cache.limit_high > FD_SETSIZE)
 
286
        _pr_fd_cache.limit_high = FD_SETSIZE;
 
287
 
280
288
    if (_pr_fd_cache.limit_high < _pr_fd_cache.limit_low)
281
289
        _pr_fd_cache.limit_high = _pr_fd_cache.limit_low;
282
290