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:
wtc%netscape.com 2002-06-13 20:30:13 +00:00
Родитель 92068ae7e2
Коммит c0b8191d16
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 {