Subject: bin/16840: [dM] sunlabel won't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 05/16/2002 03:35:54
>Number: 16840
>Category: bin
>Synopsis: [dM] sunlabel won't compile
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 16 00:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: der Mouse
>Release: 2002-05-16 -current
>Organization:
Dis-
>Environment:
Any (brought to my attention in email; verified present in
-current, sunlabel.c version 1.4).
>Description:
basesrc/usr.sbin/sunlabel/sunlabel.c has an unmatched #endif.
>How-To-Repeat:
Try to build sunlabel. Get a complaint
"sunlabel.c", line 61: unbalanced `#endif'
Read the source. Realize that whoever massaged my code into
what's in there now must not have test-compiled it, because
there really is an extra #endif kicking around.
>Fix:
Remove the stray #endif, of course:
--- sunlabel.c- Thu May 16 03:28:01 2002
+++ sunlabel.c Thu May 16 03:32:57 2002
@@ -58,7 +58,6 @@
#define S_COMMAND
#include <util.h>
#endif
-#endif
/*
* NPART is the total number of partitions. This must be <= 43, given the
This gets it to the point of compiling; the link then fails,
but I'm on 1.4T, not -current, so that's not surprising.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
>Release-Note:
>Audit-Trail:
>Unformatted: