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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/op_filok.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:
55
55
#include "prerror.h"
56
56
#include <stdio.h>
57
57
 
58
 
#ifdef XP_MAC
59
 
#include "prlog.h"
60
 
#define printf PR_LogPrint
61
 
#else
62
 
#endif
63
 
 
64
58
/*
65
59
 * The name of a file that is guaranteed to exist
66
60
 * on every machine of a particular OS.
67
61
 */
68
 
#ifdef VMS
69
 
#define EXISTING_FILENAME "SYS$LOGIN:LOGIN.COM"
70
 
#elif XP_UNIX
 
62
#if defined(SYMBIAN)
 
63
#define EXISTING_FILENAME "z:\\system\\install\\Series60v3.0.sis"
 
64
#elif defined (XP_UNIX)
71
65
#define EXISTING_FILENAME "/bin/sh"
72
66
#elif defined(WIN32)
73
67
#define EXISTING_FILENAME "c:/autoexec.bat"
83
77
 
84
78
int main(int argc, char **argv)
85
79
{
86
 
 
87
 
#ifdef XP_MAC
88
 
        SetupMacPrintfLog("pr_open_re.log");
89
 
#endif
90
 
        
91
80
    PR_STDIO_INIT();
92
81
 
93
82
        t1 = PR_Open(EXISTING_FILENAME, PR_RDONLY, 0666);