summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-06-13 20:28:31 +0000
committerwtc%netscape.com <devnull@localhost>2002-06-13 20:28:31 +0000
commite6ba7f438e041bdfd1c91f7b834363147ed5f484 (patch)
treed10f5de660bc0f2e8edf14248fb053c5d37deff3
parentf9d89d4624ddd37e3d69370a4a60e3a3dd280d45 (diff)
downloadnspr-hg-e6ba7f438e041bdfd1c91f7b834363147ed5f484.tar.gz
Bug 97475: the new 'af' field needs to be moved to the end of the
PRFilePrivate structure because the OJI code in Sun Java 2 1.3-1 distribution is reading the 'md.osfd' field of this private structure. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/include/private/primpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/include/private/primpl.h b/pr/include/private/primpl.h
index f359648a..f6a1f63d 100644
--- a/pr/include/private/primpl.h
+++ b/pr/include/private/primpl.h
@@ -1715,6 +1715,7 @@ struct PRFilePrivate {
#if !defined(XP_UNIX) /* BugZilla: 4090 */
PRBool appendMode;
#endif
+ _MDFileDesc md;
#ifdef _PR_STRICT_ADDR_LEN
PRUint16 af; /* If the platform requires passing the exact
* length of the sockaddr structure for the
@@ -1722,7 +1723,6 @@ struct PRFilePrivate {
* functions like accept(), we need to save
* the address family of the socket. */
#endif
- _MDFileDesc md;
};
struct PRDir {