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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/tests/timetest.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:
53
53
#include <stdlib.h>
54
54
#include <string.h>
55
55
 
56
 
#ifdef XP_MAC
57
 
#include "prlog.h"
58
 
#include "macstdlibextras.h"
59
 
extern void SetupMacPrintfLog(char *logFile);
60
 
#endif
61
 
 
62
56
int failed_already=0;
63
57
PRBool debug_mode = PR_FALSE;
64
58
 
206
200
        
207
201
    PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
208
202
 
209
 
#ifdef XP_MAC
210
 
        /* Set up the console */
211
 
        InitializeSIOUX(true);
212
 
        debug_mode = PR_TRUE;
213
 
#endif
214
203
    /* Testing zero PRTime (the epoch) */
215
204
    {
216
205
        PRTime t;
776
765
        }
777
766
    }
778
767
 
779
 
#ifdef XP_MAC
780
 
        if (1)
781
 
        {
782
 
                char dummyChar;
783
 
                
784
 
                printf("Press return to exit\n\n");
785
 
                scanf("%c", &dummyChar);
786
 
        }
787
 
#endif
788
 
 
789
768
        if (failed_already) return 1;
790
769
        else return 0;
791
770