<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:legalize@xmission.com" title="Richard <legalize@xmission.com>"> <span class="fn">Richard</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - clang-format Allman brace style joins } with while keyword in do/while loop"
href="https://bugs.llvm.org/show_bug.cgi?id=48256">bug 48256</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>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - clang-format Allman brace style joins } with while keyword in do/while loop"
href="https://bugs.llvm.org/show_bug.cgi?id=48256#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - clang-format Allman brace style joins } with while keyword in do/while loop"
href="https://bugs.llvm.org/show_bug.cgi?id=48256">bug 48256</a>
from <span class="vcard"><a class="email" href="mailto:legalize@xmission.com" title="Richard <legalize@xmission.com>"> <span class="fn">Richard</span></a>
</span></b>
<pre>OK, after more spelunking and with a little help from a vintage computing
discord server community, I found sources for sendmail 4.12 here:
<a href="http://ftp.math.utah.edu/pub/mirrors/minnie.tuhs.org/old/4BSD/Distributions/components/sendmail/">http://ftp.math.utah.edu/pub/mirrors/minnie.tuhs.org/old/4BSD/Distributions/components/sendmail/</a>
Use this gist to convert the compressed tarball to something gzip
can understand: <a href="https://gist.github.com/MikeRalphson/232163">https://gist.github.com/MikeRalphson/232163</a>
Unpacking the 4.12 sources, we find aux/arpa.c with an author comment by
Eric Allman and a date comment of 7/25/83 containing a do/while loop like
this at line 376:
/* output the rest of the header & the body of the letter */
do
{
fputs(buf, sfp);
if (ferror(sfp))
goto spoolerr;
} while (fgets(buf, sizeof buf, stdin) != NULL);
...and several more do/while loops in the 4.12 code base that are formatted
similarly.
So while it doesn't seem consistent to me, it apparently was consistent to
Eric Allman :)
I'm therefore closing this bug as WONTFIX.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>