From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5337] Fix more r5087 breakage
Date: Sun, 28 Sep 2008 00:42:16 +0000 [thread overview]
Message-ID: <E1KjkMa-0001vm-3U@cvs.savannah.gnu.org> (raw)
Revision: 5337
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5337
Author: malc
Date: 2008-09-28 00:42:15 +0000 (Sun, 28 Sep 2008)
Log Message:
-----------
Fix more r5087 breakage
Modified Paths:
--------------
trunk/audio/audio.c
Modified: trunk/audio/audio.c
===================================================================
--- trunk/audio/audio.c 2008-09-28 00:42:12 UTC (rev 5336)
+++ trunk/audio/audio.c 2008-09-28 00:42:15 UTC (rev 5337)
@@ -212,7 +212,7 @@
char *u = r + sizeof (qemu_prefix) - 1;
pstrcpy (r, len + sizeof (qemu_prefix), qemu_prefix);
- pstrcat (r, len, s);
+ pstrcat (r, len + sizeof (qemu_prefix), s);
for (i = 0; i < len; ++i) {
u[i] = toupper (u[i]);
@@ -467,16 +467,13 @@
}
pstrcpy (optname, optlen, qemu_prefix);
- optlen -= preflen;
/* copy while upper-casing, including trailing zero */
for (i = 0; i <= preflen; ++i) {
optname[i + sizeof (qemu_prefix) - 1] = toupper (prefix[i]);
}
pstrcat (optname, optlen, "_");
- optlen--;
pstrcat (optname, optlen, opt->name);
- optlen -= len;
def = 1;
switch (opt->tag) {
reply other threads:[~2008-09-28 0:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1KjkMa-0001vm-3U@cvs.savannah.gnu.org \
--to=av1474@comtv.ru \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).