From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Sun, 9 Aug 2009 09:29:31 -0400 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] fix // comments Topicbox-Message-UUID: 3edca106-ead5-11e9-9d60-3106f5b1d025 /n/sources/contrib/quanstro/bcmt will turn // comments into style(6)-approved comments. it deals with end-of-line comments, single comments and block comments. it's ment to be used from acme so it is likely unfit for scripting. for example, // Ignore network errors here. If we fail during // synchronization, the next alarm will pick up // the error. gets converted to /* * Ignore network errors here. If we fail during * synchronization, the next alarm will pick up * the error. */ and // Read the header. if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) { to /* Read the header. */ if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) { - erik