[chuck-dev] small patch

Ricardo Fabbri rfabbri at gmail.com
Wed Oct 19 15:18:41 EDT 2011


Hi, all,

I would like to propose a small patch to chuck,
which is just better error handling for write() system calls in
util_hid.cpp.

I tried to use the EM_log functions instead of fprintf(stder,....). I
hope to have used them correctly.

I hope to be producing more significant contributions in the near
future. Meanwhile, I thought I shouldn't let these little patches
accumulate.

The attached patch is agains the latest SVN as of this date, and I
tested it with gcc 4.6.1 from Ubuntu 11.10

Best regards,
Fabbri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handle_write_errors.patch
Type: text/x-patch
Size: 3522 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20111019/7acde732/attachment.bin>


More information about the chuck-dev mailing list