<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：vasprintf 会将空间分配到栈上吗？</title>
	<atom:link href="http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html</link>
	<description>Engineering a better life, programming a great future.</description>
	<lastBuildDate>Thu, 09 Sep 2010 19:02:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>由：sswv</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-1000</link>
		<dc:creator>sswv</dc:creator>
		<pubDate>Tue, 26 May 2009 11:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-1000</guid>
		<description>“DDD”和“调试”两个词出现在一起，还真容易误会。</description>
		<content:encoded><![CDATA[<p>“DDD”和“调试”两个词出现在一起，还真容易误会。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Solrex Yang</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-994</link>
		<dc:creator>Solrex Yang</dc:creator>
		<pubDate>Tue, 26 May 2009 08:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-994</guid>
		<description>&lt;a href=&quot;#comment-993&quot; rel=&quot;nofollow&quot;&gt;@sunliguo &lt;/a&gt; 
我不是用的插件
我是用&lt;a href=&quot;http://fayaa.com/code/&quot; rel=&quot;nofollow&quot;&gt;代码发芽网&lt;/a&gt;渲染出来HTML之后
再用 sed 脚本稍微处理一下得到的 HTML，去掉些冗余的标签</description>
		<content:encoded><![CDATA[<p><a href="#comment-993" rel="nofollow">@sunliguo </a><br />
我不是用的插件<br />
我是用<a href="http://fayaa.com/code/" rel="nofollow">代码发芽网</a>渲染出来HTML之后<br />
再用 sed 脚本稍微处理一下得到的 HTML，去掉些冗余的标签</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：sunliguo</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-993</link>
		<dc:creator>sunliguo</dc:creator>
		<pubDate>Tue, 26 May 2009 07:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-993</guid>
		<description>你好，你的代码部分是用的哪个插件？</description>
		<content:encoded><![CDATA[<p>你好，你的代码部分是用的哪个插件？</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Solrex Yang</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-992</link>
		<dc:creator>Solrex Yang</dc:creator>
		<pubDate>Mon, 25 May 2009 00:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-992</guid>
		<description>&lt;a href=&quot;#comment-981&quot; rel=&quot;nofollow&quot;&gt;@yef &lt;/a&gt; 
谢谢您，我们将查看该 BUG 是否由这个原因引起的。</description>
		<content:encoded><![CDATA[<p><a href="#comment-981" rel="nofollow">@yef </a><br />
谢谢您，我们将查看该 BUG 是否由这个原因引起的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Solrex Yang</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-991</link>
		<dc:creator>Solrex Yang</dc:creator>
		<pubDate>Sun, 24 May 2009 14:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-991</guid>
		<description>&lt;a href=&quot;#comment-984&quot; rel=&quot;nofollow&quot;&gt;@Iron_Feet &lt;/a&gt; 
哈哈，人家不一定看到呢。
（哈哈，我好像测试出来了在回复中添加邮件地址）</description>
		<content:encoded><![CDATA[<p><a href="#comment-984" rel="nofollow">@Iron_Feet </a><br />
哈哈，人家不一定看到呢。<br />
（哈哈，我好像测试出来了在回复中添加邮件地址）</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Iron_Feet</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-984</link>
		<dc:creator>Iron_Feet</dc:creator>
		<pubDate>Sun, 24 May 2009 14:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-984</guid>
		<description>&lt;a href=&quot;#comment-983&quot; rel=&quot;nofollow&quot;&gt;@Solrex Yang &lt;/a&gt; 
哦～我看的时候粗心了，忽略了GUI。向DDD道歉一下，哇哈哈！</description>
		<content:encoded><![CDATA[<p><a href="#comment-983" rel="nofollow">@Solrex Yang </a><br />
哦～我看的时候粗心了，忽略了GUI。向DDD道歉一下，哇哈哈！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Solrex Yang</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-983</link>
		<dc:creator>Solrex Yang</dc:creator>
		<pubDate>Sun, 24 May 2009 14:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-983</guid>
		<description>&lt;a href=&quot;#comment-982&quot; rel=&quot;nofollow&quot;&gt;@Iron_Feet &lt;/a&gt; 
其实不对，因为那个是 GUI 界面的项目，不是核心通信库的项目，那个库只有 DDD 一个人在维护。</description>
		<content:encoded><![CDATA[<p><a href="#comment-982" rel="nofollow">@Iron_Feet </a><br />
其实不对，因为那个是 GUI 界面的项目，不是核心通信库的项目，那个库只有 DDD 一个人在维护。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Iron_Feet</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-982</link>
		<dc:creator>Iron_Feet</dc:creator>
		<pubDate>Sun, 24 May 2009 14:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-982</guid>
		<description>&lt;a href=&quot;#comment-980&quot; rel=&quot;nofollow&quot;&gt;@Solrex Yang &lt;/a&gt; 
既然让你加入了维护团队，还不给你源代码～个人感觉有点不厚道！</description>
		<content:encoded><![CDATA[<p><a href="#comment-980" rel="nofollow">@Solrex Yang </a><br />
既然让你加入了维护团队，还不给你源代码～个人感觉有点不厚道！</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：yef</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-981</link>
		<dc:creator>yef</dc:creator>
		<pubDate>Sun, 24 May 2009 14:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-981</guid>
		<description>我曾经遇到过一个问题，就是如果用同样的va_list参数调用vsprintf函数，x86_64会core dump, 而i386不会。原因是va_list的实现方式，i386是传堆栈指针，是值方式，调用后值不变，而64位的时候是传的一个结构指针，调用后值会变，再用这个结构调用的时候，会栈越界。解决方法是用va_copy拷贝一份。也许你遇到的也是这个问题。</description>
		<content:encoded><![CDATA[<p>我曾经遇到过一个问题，就是如果用同样的va_list参数调用vsprintf函数，x86_64会core dump, 而i386不会。原因是va_list的实现方式，i386是传堆栈指针，是值方式，调用后值不变，而64位的时候是传的一个结构指针，调用后值会变，再用这个结构调用的时候，会栈越界。解决方法是用va_copy拷贝一份。也许你遇到的也是这个问题。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Solrex Yang</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-980</link>
		<dc:creator>Solrex Yang</dc:creator>
		<pubDate>Sun, 24 May 2009 01:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-980</guid>
		<description>&lt;a href=&quot;#comment-978&quot; rel=&quot;nofollow&quot;&gt;@Iron_Feet &lt;/a&gt; 
唉，他要是给我源代码，我还可以耐心地好好跟一跟看看哪里出了问题。
现在没有源代码，跟汇编太累了，尤其是这种比较大的库。</description>
		<content:encoded><![CDATA[<p><a href="#comment-978" rel="nofollow">@Iron_Feet </a><br />
唉，他要是给我源代码，我还可以耐心地好好跟一跟看看哪里出了问题。<br />
现在没有源代码，跟汇编太累了，尤其是这种比较大的库。</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：Iron_Feet</title>
		<link>http://blog.solrex.org/articles/does-vasprintf-allocate-space-on-stack.html#comment-978</link>
		<dc:creator>Iron_Feet</dc:creator>
		<pubDate>Sat, 23 May 2009 16:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.solrex.cn/?p=638419#comment-978</guid>
		<description>记得Libfetion刚刚发布的时候，源代码是公开的～
但是后来DDD又不再公开。
还引起了我诸多猜测-_-!</description>
		<content:encoded><![CDATA[<p>记得Libfetion刚刚发布的时候，源代码是公开的～<br />
但是后来DDD又不再公开。<br />
还引起了我诸多猜测-_-!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
