Date: Wed, 6 May 2015 09:38:45 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r282523 - stable/10/libexec/getty Message-ID: <201505060938.t469cjpq083159@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed May 6 09:38:44 2015 New Revision: 282523 URL: https://svnweb.freebsd.org/changeset/base/282523 Log: MFC r282245: Remove the #ifdef DEBUG code, which is not compilable on 64bit architectures. PR: 199767 Modified: stable/10/libexec/getty/subr.c Directory Properties: stable/10/ (props changed) Modified: stable/10/libexec/getty/subr.c ============================================================================== --- stable/10/libexec/getty/subr.c Wed May 6 08:07:11 2015 (r282522) +++ stable/10/libexec/getty/subr.c Wed May 6 09:38:44 2015 (r282523) @@ -38,9 +38,6 @@ static const char rcsid[] = /* * Melbourne getty. */ -#ifdef DEBUG -#include <stdio.h> -#endif #include <stdlib.h> #include <string.h> #include <termios.h> @@ -160,17 +157,6 @@ gettable(const char *name, char *buf) fp->value = 1 ^ fp->invrt; } } - -#ifdef DEBUG - printf("name=\"%s\", buf=\"%s\"\r\n", name, buf); - for (sp = gettystrs; sp->field; sp++) - printf("cgetstr: %s=%s\r\n", sp->field, sp->value); - for (np = gettynums; np->field; np++) - printf("cgetnum: %s=%d\r\n", np->field, np->value); - for (fp = gettyflags; fp->field; fp++) - printf("cgetflags: %s='%c' set='%c'\r\n", fp->field, - fp->value + '0', fp->set + '0'); -#endif /* DEBUG */ } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505060938.t469cjpq083159>