mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
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.
This commit is contained in:
parent
92068ae7e2
commit
c0b8191d16
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user