[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: make send()/recv() work on sockets (was Re: [PATCH] ash: clear
From:       Rich Felker <dalias () aerifal ! cx>
Date:       2011-08-21 14:24:39
Message-ID: 20110821142439.GW132 () brightrain ! aerifal ! cx
[Download RAW message or body]

On Sun, Aug 21, 2011 at 09:07:10AM +0200, Bernd Petrovitsch wrote:
> > >  Such code would be very wrong anyway, but theoretically correct, so if,
> > > say, a mainstream piece of software broke if recv() started working on
> > > non-sockets, then there would be a serious case against the change.
> >
> > Hmm, is there an process-specific means to stay
> > POSIX/backwards-compatible?
> 
> Hmm, some special new flag - MSG_WORKONFILES or so - which actually
> activates that behaviour?

This would be a perfect solution, although the name could use some
tweaking. :-)

Rich
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic