~ubuntu-branches/ubuntu/jaunty/nspr/jaunty-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/joinuu.c

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-05-10 18:40:10 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100510184010-boghfzlm551mtoag
Tags: 4.8-0ubuntu0.9.04.1
* New upstream release: 4.8
  - Support updating NSS to 3.12.6 and fix CVE-2009-3555 aka 
    US-CERT VU#120541
* adjust patches to changed upstream codebase
  - update debian/patches/30_config_64bits.patch
  - 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:
65
65
#include <stdlib.h>
66
66
#include <string.h>
67
67
 
68
 
#ifdef XP_MAC
69
 
#include "prlog.h"
70
 
#define printf PR_LogPrint
71
 
#endif
72
68
PRIntn failed_already=0;
73
69
PRIntn debug_mode;
74
70
 
163
159
    PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
164
160
    PR_STDIO_INIT();
165
161
 
166
 
#ifdef XP_MAC
167
 
        SetupMacPrintfLog("joinuu.log");
168
 
#endif
169
 
 
170
 
        
171
 
        
172
162
 /* main test */
173
163
    if (debug_mode) printf("User-User test\n");
174
164
    runTest(PR_LOCAL_THREAD, PR_LOCAL_THREAD);
187
177
}
188
178
 
189
179
 
190
 
PRIntn main(PRIntn argc, char **argv)
 
180
int main(int argc, char **argv)
191
181
{
192
182
    PRIntn rv;
193
183