~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/op_nofil.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:
56
56
#include <stdio.h>
57
57
#include "plgetopt.h"
58
58
 
59
 
#ifdef XP_MAC
60
 
#include "prlog.h"
61
 
#define printf PR_LogPrint
62
 
#else
63
 
#endif
64
 
 
65
59
/*
66
60
 * A file name that cannot exist
67
61
 */
71
65
 
72
66
int main(int argc, char **argv)
73
67
{
74
 
 
75
 
#ifdef XP_MAC
76
 
        SetupMacPrintfLog("pr_open_re.log");
77
 
#endif
78
 
        
79
68
    PR_STDIO_INIT();
80
69
        t1 = PR_Open(NO_SUCH_FILE,  PR_RDONLY, 0666);
81
70
        if (t1 == NULL) {