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

Unified Diff: nss/mozilla/nsprpub/pr/src/md/windows/w95io.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 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
Index: nss/mozilla/nsprpub/pr/src/md/windows/w95io.c
===================================================================
--- nss/mozilla/nsprpub/pr/src/md/windows/w95io.c (revision 55475)
+++ nss/mozilla/nsprpub/pr/src/md/windows/w95io.c (working copy)
@@ -673,20 +673,20 @@
**
*/
-PRStatus
+PRInt32
_PR_MD_CLOSE_DIR(_MDDir *d)
{
if ( d ) {
if (FindClose(d->d_hdl)) {
d->magic = (PRUint32)-1;
- return PR_SUCCESS;
+ return 0;
} else {
_PR_MD_MAP_CLOSEDIR_ERROR(GetLastError());
- return PR_FAILURE;
+ return -1;
}
}
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
- return PR_FAILURE;
+ return -1;
}
@@ -1578,20 +1578,20 @@
return NULL;
}
-PRStatus
+PRInt32
_PR_MD_CLOSE_DIR_UTF16(_MDDirUTF16 *d)
{
if ( d ) {
if (FindClose(d->d_hdl)) {
d->magic = (PRUint32)-1;
- return PR_SUCCESS;
+ return 0;
} else {
_PR_MD_MAP_CLOSEDIR_ERROR(GetLastError());
- return PR_FAILURE;
+ return -1;
}
}
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
- return PR_FAILURE;
+ return -1;
}
#define _PR_IS_W_SLASH(ch) ((ch) == L'/' || (ch) == L'\\')

Powered by Google App Engine
This is Rietveld 408576698