On Tuesday, 23 January 2007 20:59, Tim Dijkstra wrote:
> On Tue, 23 Jan 2007 13:00:08 +0100
> "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> 
> > On Tuesday, 23 January 2007 10:51, Pavel Machek wrote:
> > > Hi!
> > > 
> > > > Split the opening of resume_dev and retrieval of the header from
> > > > read_image into a new function. That way we can do something else if
> > > > everything is OK, but there just isn't an image.
> > > > The new function return ENOMEDIUM in case of no image, better
> > > > suggestions welcome.
> > 
> > I think EINVAL is also acceptable here.
> 
> Well in theory read() could also return a EINVAL, so I can't
> distinguish anymore between a failed read and 'no image'.

Ah, I see the point.  Okay, then.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
                - Stephen King

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to