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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/sem.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:
74
74
 
75
75
#define SBSIZE 1024
76
76
 
77
 
#ifdef XP_MAC
78
 
#include "prlog.h"
79
 
#include "prsem.h"
80
 
#define printf PR_LogPrint
81
 
extern void SetupMacPrintfLog(char *logFile);
82
 
#else
83
77
#include "obsolete/prsem.h"
84
 
#endif
85
78
 
86
79
static char stdinBuf[SBSIZE];
87
80
static char stdoutBuf[SBSIZE];
214
207
 
215
208
 /* main test */
216
209
 
217
 
#ifdef XP_MAC
218
 
        SetupMacPrintfLog("sem.log");
219
 
        debug_mode = 1;
220
 
#endif
221
 
 
222
210
    emptyBufs = PR_NewSem(2);   /* two empty buffers */
223
211
 
224
212
    fullBufs = PR_NewSem(0);    /* zero full buffers */