You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/03/05 19:47:32 UTC
[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8728: Hotfix of local_ioctl for fcntl with O_NONBLOCK to work
pkarashchenko commented on code in PR #8728:
URL: https://github.com/apache/nuttx/pull/8728#discussion_r1125723004
##########
net/local/local_sockif.c:
##########
@@ -833,7 +833,7 @@ static int local_close(FAR struct socket *psock)
static int local_ioctl(FAR struct socket *psock, int cmd, unsigned long arg)
{
FAR struct local_conn_s *conn;
- int ret = OK;
+ int ret = -ENOTTY;
Review Comment:
@xiaoxiang781216 @anchao could you please take a look? I recall some changes around `FIONBIO` made some time ago related to default behavior.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org