bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit-mach: device_write


From: Daniel Wagner
Subject: Re: oskit-mach: device_write
Date: Wed, 6 Mar 2002 00:40:17 +0100
User-agent: Mutt/1.3.24i

> Please try the ds_routines.c change I just committed and tell me if it
> helps or harms.

Your patch helps. 

Just one thing: The last argument should return the number of written 
bytes. When an error has occured, the return values does not match the
bytes_written variable in ds_device_write. 

I've called device_write with packet size 4, bytes_written was 61 and
the return value was 18677512. Obvious, the semantic is right (packet size
!= written bytes), but I'm not sure if this is ok. 

wagi

-- 
Daniel Wagner                       "Don't drink and derive."        
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]