Hey Miguel,
Somehow I had this wrong idea that GetLastError would retrieve
windows-specific codes (not the ones errno gets).
Thanks,
Carlos.
El lun, 18-02-2008 a las 20:19 -0500, Miguel de Icaza escribió:
> Hello Carlos,
>
> > The attached patch adds a 'serial_errno' variable in
> > mono/suppo
Hello Carlos,
> The attached patch adds a 'serial_errno' variable in
> mono/support/serial.c, to cache the last error related to serial port
> functions.
>
> At first I tried to just create a function directly retrieving errno,
> but it was getting a different value from the original (probably so
2008/2/18 Carlos Alberto Cortez <[EMAIL PROTECTED]>:
> Hey,
>
> The attached patch adds a 'serial_errno' variable in
> mono/support/serial.c, to cache the last error related to serial port
> functions.
>
> At first I tried to just create a function directly retrieving errno,
> but it was getting a
Hey,
The attached patch adds a 'serial_errno' variable in
mono/support/serial.c, to cache the last error related to serial port
functions.
At first I tried to just create a function directly retrieving errno,
but it was getting a different value from the original (probably some
code modified it a