Replace occurrences of SANE_STATUS_SUCCESS with SANE_STATUS_GOOD.

merge-requests/1/head
Julien BLACHE 2008-05-03 16:57:32 +00:00
rodzic 89b77cef58
commit 4daf488f4a
2 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -3,6 +3,8 @@
Epson_Scanner is allocated and zeroed out in attach(). Otherwise Epson_Scanner is allocated and zeroed out in attach(). Otherwise
the backend sends inquiry data to fd 0, which it obviously the backend sends inquiry data to fd 0, which it obviously
shouldn't do; this breaks scanning over saned. shouldn't do; this breaks scanning over saned.
* doc/net.tex: replace occurrences of SANE_STATUS_SUCCESS with
SANE_STATUS_GOOD, as SANE_STATUS_SUCCESS doesn't exist.
2008-04-28 m. allan noah <kitno455 a t gmail d o t com> 2008-04-28 m. allan noah <kitno455 a t gmail d o t com>
* backend/epjitsu.[ch]: backend v1.0.12, fix double free bug * backend/epjitsu.[ch]: backend v1.0.12, fix double free bug

Wyświetl plik

@ -178,7 +178,7 @@ to the user. E.g., it could be used as the default-user name in
subsequent authentication calls. subsequent authentication calls.
In the reply, \code{status} indicates the completion status. If the In the reply, \code{status} indicates the completion status. If the
value is anything other than \code{SANE\_STA\-TUS\_SUCCESS}, the value is anything other than \code{SANE\_STA\-TUS\_GOOD}, the
remainder of the reply has undefined values.\footnote{The sane network remainder of the reply has undefined values.\footnote{The sane network
daemon should be careful not to leak information in the undefined daemon should be careful not to leak information in the undefined
portion of the reply.} The \code{version\_code} argument returns the portion of the reply.} The \code{version\_code} argument returns the
@ -202,7 +202,7 @@ daemon.
There are no arguments in the request for this call. There are no arguments in the request for this call.
In the reply, \code{status} indicates the completion status. If the In the reply, \code{status} indicates the completion status. If the
value is anything other than \code{SANE\_STA\-TUS\_SUCCESS}, the value is anything other than \code{SANE\_STA\-TUS\_GOOD}, the
remainder of the reply has undefined values. The \code{device\_list} remainder of the reply has undefined values. The \code{device\_list}
argument is a pointer to a \code{NULL}-terminated array of argument is a pointer to a \code{NULL}-terminated array of
\code{SANE\_Device} pointers. \code{SANE\_Device} pointers.
@ -224,7 +224,7 @@ The \code{device\_name} argument specifies the name of the device to
open. open.
In the reply, \code{status} indicates the completion status. If the In the reply, \code{status} indicates the completion status. If the
value is anything other than \code{SANE\_STA\-TUS\_SUCCESS}, the value is anything other than \code{SANE\_STA\-TUS\_GOOD}, the
remainder of the reply has undefined values. The \code{handle} remainder of the reply has undefined values. The \code{handle}
argument specifies the device handle that uniquely identifies the argument specifies the device handle that uniquely identifies the
connection. The \code{resource} argument is used to request connection. The \code{resource} argument is used to request
@ -320,7 +320,7 @@ this value is non-\code{NULL}, all other arguments have undefined
values (see Section~\ref{sec:authorization} for details on how to values (see Section~\ref{sec:authorization} for details on how to
authorize a resource). Argument \code{status} indicates the authorize a resource). Argument \code{status} indicates the
completion status. If the value is anything other than completion status. If the value is anything other than
\code{SANE\_STA\-TUS\_SUCCESS}, the remainder of the reply has undefined \code{SANE\_STA\-TUS\_GOOD}, the remainder of the reply has undefined
values. The \code{info} argument returns the information on how well values. The \code{info} argument returns the information on how well
the backend was able to satisfy the request. For details, see the the backend was able to satisfy the request. For details, see the
description of the corresponding argument in description of the corresponding argument in
@ -377,7 +377,7 @@ this value is non-\code{NULL}, all other arguments have undefined
values (see Section~\ref{sec:authorization} for details on how to values (see Section~\ref{sec:authorization} for details on how to
authorize a resource). Argument, \code{status} indicates the authorize a resource). Argument, \code{status} indicates the
completion status. If the value is anything other than completion status. If the value is anything other than
\code{SANE\_STA\-TUS\_SUCCESS}, the remainder of the reply has \code{SANE\_STA\-TUS\_GOOD}, the remainder of the reply has
undefined values. The argument \code{port} returns the port number undefined values. The argument \code{port} returns the port number
from which the image data will be available. To read the image data, from which the image data will be available. To read the image data,
a network client must connect to the remote host at the indicated port a network client must connect to the remote host at the indicated port