From: Peter Mamonov <pmamonov@gmail.com>
To: andrew.smirnov@gmail.com, barebox@lists.infradead.org
Subject: memcmp command is broken
Date: Thu, 4 Jul 2019 19:56:17 +0300 [thread overview]
Message-ID: <20190704165617.cvdb34k5mi35jtwa@localhost.localdomain> (raw)
Hi, Andrey,
Current `memcmp` command implementation is broken and fails with the error
message "read: Bad file number" when calls `read_full(destfd, ...)`. Guess this
is because `memcpy_parse_options()` opens `destfd` with `O_WRONLY` flag. Anyway
reverting "ddf4cca339 commands: Introduce memcpy_parse_options()" fixes the
problem.
Regards,
Peter
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2019-07-04 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-04 16:56 Peter Mamonov [this message]
2019-07-09 5:15 ` Andrey Smirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190704165617.cvdb34k5mi35jtwa@localhost.localdomain \
--to=pmamonov@gmail.com \
--cc=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox