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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-05-18 12:29:43 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20100518122943-y1nr2oy8jrw1fg04
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        output, "    creation: %s,\n    modify: %s\n", ctime, mtime);
130
130
}  /* PrintInfo */
131
131
 
132
 
PRIntn main(PRIntn argc, char **argv)
 
132
int main(int argc, char **argv)
133
133
{
134
134
    PRStatus rv;
135
135
    char *buffer;
183
183
    if (0 == filesize) filesize = DEFAULT_FILESIZE;
184
184
    if (NULL == filename)
185
185
    {
 
186
#ifdef SYMBIAN
 
187
#define FILE_NAME "c:\\data\\bigfile.dat"
 
188
#else
 
189
#define FILE_NAME "bigfile.dat"
 
190
#endif
186
191
        if (DEFAULT_FILESIZE != filesize) return Usage();
187
 
        else filename = "bigfile.dat";
 
192
        else filename = FILE_NAME;
188
193
    }
189
194
 
190
195
    if (PR_FAILURE == DeleteIfFound(filename)) return 1;