Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102024466
D28594.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
D28594.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D28594: Fix nvi catalog generation
Attached
Detach File
Event Timeline
Log In to Comment