Date: Sat, 27 Oct 2001 12:28:49 -0700 (PDT) From: Alan Batie <alan@agora.rdrop.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/31536: Debug code fails to compile Message-ID: <200110271928.f9RJSnB89664@agora.rdrop.com>
next in thread | raw e-mail | index | archive | help
>Number: 31536
>Category: bin
>Synopsis: Debug code fails to compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 27 12:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Alan Batie
>Release: FreeBSD 4.3-STABLE i386
>Organization:
RainDrop Laboratories
>Environment:
System: FreeBSD agora.rdrop.com 4.3-STABLE FreeBSD 4.3-STABLE #3: Wed Sep 5 13:36:38 PDT 2001 root@aggie.rdrop.com:/usr/src/freebsd/sys/compile/AGORA i386
>Description:
When I compiled with DEBUG to try to debug why calendar isn't
reporting some entries, the compile failed. Apparently, the "len"
variable used to exist but no longer does.
>How-To-Repeat:
make CFLAGS+=-DDEBUG
>Fix:
*** day.c.org Sat Oct 27 12:22:23 2001
--- day.c Sat Oct 27 12:27:59 2001
***************
*** 194,200 ****
}
#ifdef DEBUG
! fprintf(stderr, "Mktime: %d %d %d %s\n", (int)mktime(&tm), (int)t, len,
asctime(&tm));
#endif
return(mktime(&tm));
--- 194,200 ----
}
#ifdef DEBUG
! fprintf(stderr, "Mktime: %d %d %s\n", (int)mktime(&tm), (int)t,
asctime(&tm));
#endif
return(mktime(&tm));
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110271928.f9RJSnB89664>
