From: Michael Shigorin <mike@osdn.org.ua> To: devel@lists.altlinux.org Subject: Re: [devel] mtools-4.0.10-alt1: Sisyphus/i586 test rebuild failed Date: Mon, 20 Jul 2009 15:14:20 +0300 Message-ID: <20090720121420.GF28185@osdn.org.ua> (raw) In-Reply-To: <20090720114211.GA16786@newmaster.mivlgu.local> On Mon, Jul 20, 2009 at 03:42:11PM +0400, Sergey Vlasov wrote: > > struct dos_name_t { > > - char base[8]; > > - char ext[3]; > > + char base[9]; > > + char ext[4]; > Такой "костыль" всё сломает - эта структура должна соответствовать > формату хранения имени файла в файловой системе FAT. Вот и мне показалось, что сейчас всё сломаю, но не удосужился поискать тестовый образ дискетки. :-/ Спасибо! > > - strcpy(ans->base," "); > > + strcpy(ans->base," "); > > + strcpy(ans->ext," "); > Завершающий \0 всё равно не лезет в буфер. > Можно попробовать так (для memcpy проверки не выполняются): [...] > Или более понятным образом: Взял второй вариант, сборка отправлена в incoming, иду общать апстрим; спасибо. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
prev parent reply other threads:[~2009-07-20 12:14 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-20 10:05 ` Michael Shigorin 2009-07-20 10:58 ` Michael Shigorin 2009-07-20 11:42 ` Sergey Vlasov 2009-07-20 12:14 ` Michael Shigorin [this message]
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=20090720121420.GF28185@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=devel@lists.altlinux.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
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git