This repository has been archived on 2022-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
libraw1394/tools
Stefan Richter ba8d2119ba tools: Fix startup of dumpiso and sendiso on juju
Quoting the errno manual:

"[errno] is set by system calls and some library functions in the
event of an error to indicate  what went wrong.  Its value is
significant only when the return value of the call indicated an
error (i.e., -1 from most system calls; -1 or NULL from most library
functions); a function that succeeds is allowed to change errno.
Valid error numbers are all nonzero; errno is never set to zero by
any system call or library function."

Dumpiso and sendiso checked for raw1394_set_port() failure by
looking at errno rather than by looking at the function's return
code.  This happened to work on top of raw1394 by lucky incident but
no longer works on top of firewire-core.

Reported-by: Vladimir Romanov <blueboar2@gmail.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2013-08-24 11:51:11 +02:00
..
Makefile.am First cut at integrating juju 2008-04-23 17:44:36 -07:00
dumpiso.c tools: Fix startup of dumpiso and sendiso on juju 2013-08-24 11:51:11 +02:00
sendiso.c tools: Fix startup of dumpiso and sendiso on juju 2013-08-24 11:51:11 +02:00
testlibraw.c testlibraw: Fix printing of card name 2012-06-30 19:13:35 +02:00