<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:schuetzm@gmx.net" title="Marc Schütz <schuetzm@gmx.net>"> <span class="fn">Marc Schütz</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - String literals not always properly zero-terminated"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=91">bug 91</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>NEW
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>schuetzm@gmx.net
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - String literals not always properly zero-terminated"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=91#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - String literals not always properly zero-terminated"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=91">bug 91</a>
from <span class="vcard"><a class="email" href="mailto:schuetzm@gmx.net" title="Marc Schütz <schuetzm@gmx.net>"> <span class="fn">Marc Schütz</span></a>
</span></b>
<pre>Yes, see here:
<a href="http://dlang.org/expression#StringLiterals">http://dlang.org/expression#StringLiterals</a>
"String literals have a 0 appended to them, which makes them easy to pass to C
or C++ functions expecting a const char* string."
Specifically, it does _not_ say that the zero is only there when the literal
appears in a `char*` context.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>