FreeBSD Bugzilla – Attachment 156088 Details for
Bug 199767
getty compile error with DEBUG flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove DEBUG code.
1.patch (text/plain), 852 bytes, created by
Konstantin Belousov
on 2015-04-29 08:43:33 UTC
(
hide
)
Description:
Remove DEBUG code.
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2015-04-29 08:43:33 UTC
Size:
852 bytes
patch
obsolete
>diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c >index 26d2173..992280a 100644 >--- a/libexec/getty/subr.c >+++ b/libexec/getty/subr.c >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199767
: 156088