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

« back to all changes in this revision

Viewing changes to nsprpub/pr/src/io/prlog.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:
255
255
        }
256
256
        PR_SetLogBuffering(isSync ? bufSize : 0);
257
257
 
 
258
#ifdef XP_UNIX
 
259
        if (getuid() != geteuid()) {
 
260
            return;
 
261
    }
 
262
#endif /* XP_UNIX */
 
263
 
258
264
        ev = PR_GetEnv("NSPR_LOG_FILE");
259
265
        if (ev && ev[0]) {
260
266
            if (!PR_SetLogFile(ev)) {
293
299
#endif
294
300
        ) {
295
301
        fclose(logFile);
 
302
        logFile = NULL;
296
303
    }
297
304
#else
298
305
    if (logFile && logFile != _pr_stdout && logFile != _pr_stderr) {
299
306
        PR_Close(logFile);
 
307
        logFile = NULL;
300
308
    }
301
309
#endif
302
310