Page MenuHomeFreeBSD

D28594.diff
No OneTemporary

D28594.diff

diff --git a/contrib/nvi/catalog/dump.c b/contrib/nvi/catalog/dump.c
--- a/contrib/nvi/catalog/dump.c
+++ b/contrib/nvi/catalog/dump.c
@@ -36,24 +36,24 @@
{
int ch, s1, s2, s3;
-#define TESTD(s) do { \
+#define TESTD(s) { \
if ((s = getc(fp)) == EOF) \
return; \
if (!isdigit(s)) \
continue; \
-} while (0)
-#define TESTP do { \
+}
+#define TESTP { \
if ((ch = getc(fp)) == EOF) \
return; \
if (ch != '|') \
continue; \
-} while (0)
-#define MOVEC(t) do { \
+}
+#define MOVEC(t) { \
do { \
if ((ch = getc(fp)) == EOF) \
return; \
} while (ch != (t)); \
-} while (0)
+}
for (;;) {
MOVEC('"');
TESTD(s1);

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 4:29 PM (21 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14516836
Default Alt Text
D28594.diff (746 B)

Event Timeline