<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 2015年03月04日 23:06, Roy Yang wrote:<br>
</div>
<blockquote cite="mid:COL130-W490A8491C3A224D6DB49DBD61E0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Thanks Hitoshi,<br>
<br>
It is a GNU C extension, and implicitly add strerror (errno) .<br>
<br>
Since errno is used for system errors, should we modify it or<br>
we can solve the issue by just adjusting the order of sd_err and
err_to_stderr?<br>
Just some thoughts, <br>
<br>
Roy <br>
</div>
</blockquote>
<br>
Reorder seems can not fix all the cases, reading
function utils.c:preallocate(), find that<br>
it calls sd_err(), the preallocate() is used by
plain_store.c:default_create_and_write(),<br>
and the possibly mucked errno is picked up and passed to
err_to_sderr().<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>