Re: New Patches for SCO OpenServer 5.0.X and UnixWare 7.1.X and

Boyd Lynn Gerber <[email protected]>
Newsgroups gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
On Fri, 9 May 2003, Boyd Lynn Gerber wrote:
> On Fri, 9 May 2003, Boyd Lynn Gerber wrote:
> > On Fri, 9 May 2003, Larry Jones wrote:
> > > Derek Robert Price writes:
> > > > Can you determine why this is happening?  I'm looking at the code and I
> > > > can't imagine why struct_buffer wouldn't compile complete on any given
> > > > platform, much less why your compiler is munging the `shutdown' element
> > > > into `_shutdown'.
> > >
> > > My guess is that it's not compiling *because* shutdown got munged into
> > > shutdown.  I have a feeling that "shutdown" is a magic word on that
> > > platform; we should probably rename our structure member.
> >
> > You hit it right on the head.  That is it.  I found it in doing all the
> > diffs.

This is the one I think causes all the problems

/usr/include/sys/socket.h:#define shutdown _shutdown


For the shutdown listed in /usr/include/*/*

/usr/include/sys/engine.h:#define       E_SHUTDOWN      0x04            /*
shutdown has been requested */
/usr/include/sys/errno.h:#define        ESHUTDOWN       143             /*
Can't send after socket shutdown */
/usr/include/sys/psm.h:void             ms_shutdown(int);
/usr/include/sys/psm.h:extern unsigned int      os_shutdown_caps;       /*
supported shutdown capabilities */
/usr/include/sys/socket.h:extern int _xshutdown(int, int, int);
/usr/include/sys/socket.h:#define shutdown(__a1, __a2)
_xshutdown(__NETLIB_VERSION__, __a1, __a2)
/usr/include/sys/socket.h:#pragma weak _xshutdown
/usr/include/sys/socket.h:#pragma weak shutdown
/usr/include/sys/socket.h:extern int shutdown(int, int);
/usr/include/sys/socket.h:static int _shutdown(int __a1, int __a2)
/usr/include/sys/socket.h:      return
(__NETLIB_LIBSOCKET_ALL_VERSIONED__() ? _xshutdown(__NETLIB_VERSION__, __a1, __a2) : shutdown(__a1, __a2));
/usr/include/sys/socket.h:#define shutdown _shutdown
/usr/include/sys/socksys.h:extern int                   ss_shutdown(struct
ss_socket *, int, int);
/usr/include/sys/syscall.h:#define SYS_xshutdown                246
/usr/include/sys/systm.h:extern boolean_t in_shutdown;  /* non-zero when
system being shut down */
/usr/include/sys/systm.h:extern void shutdown_drv(void);
/usr/include/sys/uadmin.h: * Request types for drv_shutdown().
/usr/include/sys/uadmin.h:      SD_SOFT,        /* soft ("clean") shutdown
*/
/usr/include/sys/uadmin.h:      SD_HARD,        /* hard (immediate)
shutdown */
/usr/include/sys/uadmin.h:} shutdown_request_t;
/usr/include/sys/uadmin.h:extern void drv_shutdown(shutdown_request_t
sd_rqt, int fcn);
/usr/include/sys/uadmin.h:extern void drv_shutdown();
/usr/include/sys/vollocal.h: * shutdown will not be delayed.
/usr/include/vxvm/vollocal.h: * shutdown will not be delayed.

Thanks,

--
Boyd Gerber <[email protected]>
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.