| 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'\\')
|
|
|