freebsd-ports/sysutils/apcupsd/files/patch-ad
Kris Kennaway 8859a77027 Doing this is lame and causes the -current build to fail:
int true = 1;
       while (true) {
2002-08-23 22:10:38 +00:00

13 lines
246 B
Text

--- powerflute.c.orig Fri Aug 23 14:58:34 2002
+++ powerflute.c Fri Aug 23 14:58:09 2002
@@ -576,9 +576,8 @@
int do_horiz_menu(void) {
int pos = 0;
int oldpos = 0;
- int true = 1;
- while (true) {
+ while (1) {
display_h_menu(pos);