qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5518) server_test.c fails to compile : ignoring the return value of write()
Date Mon, 27 Jan 2014 22:11:38 GMT

    [ https://issues.apache.org/jira/browse/QPID-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883421#comment-13883421
] 

ASF subversion and git services commented on QPID-5518:
-------------------------------------------------------

Commit 1561878 from [~mcpierce] in branch 'dispatch/trunk'
[ https://svn.apache.org/r1561878 ]

QPID-5518: Abort server test on error while writing data.

Previously, the return code was ignored. But if an error occurs then the
test will now abort.

> server_test.c fails to compile : ignoring the return value of write()
> ---------------------------------------------------------------------
>
>                 Key: QPID-5518
>                 URL: https://issues.apache.org/jira/browse/QPID-5518
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Dispatch
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>
> When building with warnings as errors, the following occurs:
> /home/mcpierce/Packaging/qpid-dispatch/qpid-dispatch-0.1/tests/server_test.c: In function
'ufd_handler':
> /home/mcpierce/Packaging/qpid-dispatch/qpid-dispatch-0.1/tests/server_test.c:99:18: error:
ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
>              write(fd[1], "X", 1);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message