2003-01-13 23:53:13 +08:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
|
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
|
|
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
|
|
|
|
|
|
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
|
|
|
|
|
|
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
|
|
|
<title>Bugs</title>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<body bgcolor="#ffffff" text="#000000">
|
|
|
|
|
|
|
|
|
|
<table border="1" bgcolor="#007f7f" cellpadding="2">
|
|
|
|
|
|
|
|
|
|
<tbody><tr>
|
|
|
|
|
<td bgcolor="#ffffff">
|
2004-10-05 23:23:19 +08:00
|
|
|
|
<img src="../boost.png" alt="boost.png (6897 bytes)" width="277" height="86"></td>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<td><a href="../index.htm"><font face="Arial" color="#ffffff"><big>Home</big></font></a></td>
|
|
|
|
|
<td><a href="../libs/libraries.htm"><font face="Arial" color="#ffffff"><big>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
Libraries</big></font></a></td>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<td><a href="../people/people.htm"><font face="Arial" color="#ffffff"><big>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
People</big></font></a></td>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<td><a href="faq.htm"><font face="Arial" color="#ffffff"><big>FAQ</big></font></a></td>
|
|
|
|
|
<td><a href="index.htm"><font face="Arial" color="#ffffff"><big>More</big></font></a></td>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
</tr>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
</tbody>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
</table>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<h1>What to do about Boost bugs</h1>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<ol>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<li>Make sure the bug isn't already fixed in the latest sources. The most
|
|
|
|
|
recent version of everything on the Boost web site is available from
|
2005-02-19 21:16:00 +08:00
|
|
|
|
the <a href="http://www.boost.org/more/getting_started.html#CVS">boost public
|
|
|
|
|
CVS repository</a>.<br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
</li>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<li>If you are a Boost user, or a Boost developer that doesn't have a CVS
|
|
|
|
|
write access: <br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
<ol>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<li>Submit a bug report to either
|
|
|
|
|
<a href="http://www.boost.org/more/mailing_lists.htm#users">boost-users list</a>,
|
|
|
|
|
<a href="http://www.boost.org/more/mailing_lists.htm#main">boost mailing
|
|
|
|
|
list</a>, or our <a href="http://sourceforge.net/tracker/?group_id=7586">bug
|
|
|
|
|
tracking facility</a> at SourceForge; submitting it to either of the mailing
|
|
|
|
|
lists is a preferred way - because many of the Boost developers read the
|
|
|
|
|
lists on a daily basis, this way you are likely to get a quicker response,
|
|
|
|
|
and the discussions that often arise there from (possible) bug reports are
|
|
|
|
|
quite interesting and educational as well;<br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
</li>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<li>If you have a proposed patch to the code, post it along with your bug
|
2005-12-08 11:23:02 +08:00
|
|
|
|
report, preferably in the <em>unified diffs</em> format (<code>cvs diff -du</code>);
|
2003-01-13 23:53:13 +08:00
|
|
|
|
if you can, send a patch relative to the current CVS state. A canonical
|
|
|
|
|
example of creating a patch file follows (let's assume that you've found
|
|
|
|
|
a bug in the file <code>intentional_bug.hpp</code>:<br>
|
|
|
|
|
<br>
|
|
|
|
|
<ol>
|
|
|
|
|
<li>Download the latest version of <code>intentional_bug.hpp</code> from CVS.</li>
|
|
|
|
|
<li>Make sure that the bug is still present in the code.</li>
|
|
|
|
|
<li>Copy the file <code>intentional_bug.hpp</code> to a file called <code>intentional_bug.hpp.orig</code>.</li>
|
|
|
|
|
<li>Apply your changes to <code>intentional_bug.hpp</code>.</li>
|
2006-12-11 13:16:00 +08:00
|
|
|
|
<li>Run "<code>diff -du intentional_bug.hpp.orig intentional_bug.hpp > intentional_bug.hpp.patch</code>" from the command prompt.</li>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<li>Submit the patch file together with an explanation of the bug
|
|
|
|
|
and the proposed fix; and don't forget to include the word <b>patch</b> or <b>bug</b>
|
|
|
|
|
in the subject if you're submitting to the <a href="http://www.boost.org/more/mailing_lists.htm#main">boost mailing list</a>.<br>
|
|
|
|
|
<br>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
2002-01-19 00:38:31 +08:00
|
|
|
|
</ol>
|
|
|
|
|
</li>
|
|
|
|
|
<li>If you are a Boost developer, and you have a CVS write access: <br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
<ol>
|
|
|
|
|
<li>If the bug is trivial (e.g. misspelled name, missed <code>typename</code>,
|
2002-01-19 00:38:31 +08:00
|
|
|
|
etc.), and you are willing to make a fix, either make your changes locally
|
|
|
|
|
and contact the library author(s)/maintainer(s) about it, or go ahead and
|
|
|
|
|
check the fix into CVS, but post a notification about it to the
|
|
|
|
|
<a href="http://www.boost.org/more/mailing_lists.htm#main">boost mailing
|
|
|
|
|
list</a> (if the author is not very active on the list, you also might want
|
|
|
|
|
to consider <code>cc</code>'ing him as well); <br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
</li>
|
|
|
|
|
<li>If the bug is non-trivial, and/or you don't have the time and resources to fix it,
|
2002-01-19 00:38:31 +08:00
|
|
|
|
submit a bug report (see p. 2 above); chances are that the maintainer(s)
|
|
|
|
|
will respond promptly and take care of the problem; <br>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
</li>
|
|
|
|
|
<li>Otherwise, create a temporary branch in CVS, make your changes there, and
|
2002-01-19 00:38:31 +08:00
|
|
|
|
ask the library author(s)/maintainer(s) to review them; if they are ok with
|
|
|
|
|
the new code, either you or they can integrate the fixes into the main
|
|
|
|
|
trunk. </li>
|
|
|
|
|
</ol>
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
2003-01-13 23:53:13 +08:00
|
|
|
|
|
2002-01-19 00:38:31 +08:00
|
|
|
|
<hr>
|
|
|
|
|
<p>Revised <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->18 January, 2002<!--webbot bot="Timestamp" i-checksum="38453" endspan -->
|
|
|
|
|
</p>
|
|
|
|
|
|
2004-11-28 12:44:21 +08:00
|
|
|
|
<p><EFBFBD> Copyright <a href="../people/aleksey_gurtovoy.htm">Aleksey Gurtovoy</a>
|
|
|
|
|
2002</p>
|
|
|
|
|
<p> Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
(See accompanying file <a href="../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
|
|
|
|
|
copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)
|
|
|
|
|
</p>
|
2002-01-19 00:38:31 +08:00
|
|
|
|
|
2003-01-13 23:53:13 +08:00
|
|
|
|
<br>
|
|
|
|
|
|
2005-02-19 21:28:22 +08:00
|
|
|
|
</body></html>
|
|
|
|
|
|