зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
92068ae7e2
Коммит
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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче