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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/fileio.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:
66
66
 
67
67
#include <stdio.h>
68
68
 
69
 
#ifdef XP_MAC
70
 
#include "prsem.h"
71
 
#include "prlog.h"
72
 
#define printf PR_LogPrint
73
 
extern void SetupMacPrintfLog(char *logFile);
74
 
#else
75
69
#include "obsolete/prsem.h"
76
 
#endif
77
70
 
78
71
 
79
72
#define TBSIZE 1024
195
188
        PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
196
189
    PR_STDIO_INIT();
197
190
 
198
 
#ifdef XP_MAC
199
 
        SetupMacPrintfLog("fileio.log");
200
 
        debug_mode = 1;
201
 
#endif
202
 
 
203
191
    emptyBufs = PR_NewSem(2);   /* two empty buffers */
204
192
 
205
193
    fullBufs = PR_NewSem(0);    /* zero full buffers */