Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: mozilla/nsprpub/pr/src/io/prfile.c

Issue 12089033: Update to NSPR 4.9.5 Beta 2, part 2: actual changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mozilla/nsprpub/pr/include/prtypes.h ('k') | mozilla/nsprpub/pr/src/io/prlayer.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mozilla/nsprpub/pr/src/io/prfile.c
===================================================================
--- mozilla/nsprpub/pr/src/io/prfile.c (revision 179237)
+++ mozilla/nsprpub/pr/src/io/prfile.c (working copy)
@@ -365,7 +365,7 @@
PR_IMPLEMENT(PRInt32) PR_GetSysfdTableMax(void)
{
-#if defined(XP_UNIX) && !defined(AIX) && !defined(NEXTSTEP) && !defined(QNX)
+#if defined(XP_UNIX) && !defined(AIX) && !defined(QNX)
struct rlimit rlim;
if ( getrlimit(RLIMIT_NOFILE, &rlim) < 0) {
@@ -374,7 +374,7 @@
}
return rlim.rlim_max;
-#elif defined(AIX) || defined(NEXTSTEP) || defined(QNX)
+#elif defined(AIX) || defined(QNX)
return sysconf(_SC_OPEN_MAX);
#elif defined(WIN32)
/*
@@ -398,7 +398,7 @@
PR_IMPLEMENT(PRInt32) PR_SetSysfdTableSize(int table_size)
{
-#if defined(XP_UNIX) && !defined(AIX) && !defined(NEXTSTEP) && !defined(QNX)
+#if defined(XP_UNIX) && !defined(AIX) && !defined(QNX)
struct rlimit rlim;
PRInt32 tableMax = PR_GetSysfdTableMax();
@@ -433,7 +433,7 @@
return -1;
}
return tableMax;
-#elif defined(AIX) || defined(NEXTSTEP) || defined(QNX) \
+#elif defined(AIX) || defined(QNX) \
|| defined(WIN32) || defined(WIN16) || defined(XP_BEOS)
PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
return -1;
« no previous file with comments | « mozilla/nsprpub/pr/include/prtypes.h ('k') | mozilla/nsprpub/pr/src/io/prlayer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698