Index: nspr/pr/src/io/priometh.c |
diff --git a/nspr/pr/src/io/priometh.c b/nspr/pr/src/io/priometh.c |
index f254328e987f08bd75d453280e03467ba295c985..4208767d54530cf5f3a0aeb33e3afc0455f7f5d9 100644 |
--- a/nspr/pr/src/io/priometh.c |
+++ b/nspr/pr/src/io/priometh.c |
@@ -51,14 +51,14 @@ PRIOMethods _pr_faulty_methods = { |
PRIntn _PR_InvalidInt(void) |
{ |
- PR_ASSERT(!"I/O method is invalid"); |
+ PR_NOT_REACHED("I/O method is invalid"); |
PR_SetError(PR_INVALID_METHOD_ERROR, 0); |
return -1; |
} /* _PR_InvalidInt */ |
PRInt16 _PR_InvalidInt16(void) |
{ |
- PR_ASSERT(!"I/O method is invalid"); |
+ PR_NOT_REACHED("I/O method is invalid"); |
PR_SetError(PR_INVALID_METHOD_ERROR, 0); |
return -1; |
} /* _PR_InvalidInt */ |
@@ -67,7 +67,7 @@ PRInt64 _PR_InvalidInt64(void) |
{ |
PRInt64 rv; |
LL_I2L(rv, -1); |
- PR_ASSERT(!"I/O method is invalid"); |
+ PR_NOT_REACHED("I/O method is invalid"); |
PR_SetError(PR_INVALID_METHOD_ERROR, 0); |
return rv; |
} /* _PR_InvalidInt */ |
@@ -78,7 +78,7 @@ PRInt64 _PR_InvalidInt64(void) |
PRStatus _PR_InvalidStatus(void) |
{ |
- PR_ASSERT(!"I/O method is invalid"); |
+ PR_NOT_REACHED("I/O method is invalid"); |
PR_SetError(PR_INVALID_METHOD_ERROR, 0); |
return PR_FAILURE; |
} /* _PR_InvalidDesc */ |
@@ -89,7 +89,7 @@ PRStatus _PR_InvalidStatus(void) |
PRFileDesc *_PR_InvalidDesc(void) |
{ |
- PR_ASSERT(!"I/O method is invalid"); |
+ PR_NOT_REACHED("I/O method is invalid"); |
PR_SetError(PR_INVALID_METHOD_ERROR, 0); |
return NULL; |
} /* _PR_InvalidDesc */ |