Re: Service logs only when exiting

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Jurjen Oskam <[email protected]> wrote:
>         ./compile ptyget.c
> "hasptmx.h", line 1: 1506-229 (W) File is empty.
> "ptyget.c", line 97.3: 1506-045 (S) Undeclared identifier s.
> make: 1254-004 The error code from the last command is 1.

Try this patch:
--- ptyget-0.50/ptyget.c~       1996-09-10 23:30:46.000000000 -0400
+++ ptyget-0.50/ptyget.c        2003-08-28 12:32:14.000000000 -0400
@@ -88,6 +88,7 @@
 {
   struct stat st;
   int fd;
+  char *s;
 
   fd = open("/dev/ptc",O_RDWR | O_NDELAY);
   if (fd == -1) return 0;

> Linux 2.4.18 (glibc 2.2.5) with gcc 2.95.3:

<URL:http://multivac.cwru.edu./ptyget/>


paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.