[nas] cc/gcc issues with imake on Solaris 8
rhfreeman at micron.com
rhfreeman at micron.com
Wed May 19 01:23:49 MDT 2004
> > Wow, we got there in the end I think. :) Thanks for your help!!
> >
>
> Good to hear! Though this brings up another question... What
> should we do for nas on Solaris? Should I just remove this call
> altogether? Anyone using NAS on Solaris have any suggestions?
AUDIO_DRAIN is used a lot, so I'm just going to clarify which one I did
comment out!
It is in dda/sun/ausuni.c at line 948 (1.6c codebase):
/* callback */
static void
disableProcessFlow()
{
#ifdef DEBUGLOG
fprintf(stderr, "disableProcessFlow()\n");
fflush(stderr);
#endif
signalEnabled = AuFalse;
ioctl(devAudioCtl, I_SETSIG, 0); /* disable signal */
// ioctl(devAudio, AUDIO_DRAIN, 0); /* drain everything out
*/
if (relinquish_device)
closeDevice();
}
This actually dropped the binary size of nasd a lot for one line:
28516853 380 -rwxrwxr-x 1 richf ukit 383504 May 18 11:00
./server/nasd
28768386 420 -rwxrwxr-x 1 richf ukit 424608 Apr 26 10:14
./server/nasd.bak
I suppose the sensible thing to do would be for some other Solaris users
to test it out?
I've been using it a lot, and it has been working great. I can't get it
to hang at all, I can even play stuff from Linux ok!
Rich
More information about the Nas
mailing list