am using slackware 3.6

have finally compiled it by commenting line 15
        // extern const char * const sys_errlist[];

and here's what i get:

mail:/usr/local/src# uname -a ; cc taildir.c -o taildir; taildir
Linux mail1 2.2.7 #3 Wed May 5 21:33:01 PHT 1999 i586 unknown
taildir.c: In function `newest':
taildir.c:65: warning: passing arg 3 of `scandir' from incompatible pointer
type
taildir.c:65: warning: passing arg 4 of `scandir' from incompatible pointer
type
Segmentation fault
mail:/usr/local/src# 

seg faults on me :(

-marlon


At 02:26 PM 5/13/99 -0400, Adam D. McKenna wrote:
>It compiled fine for me with no warnings on Debian 2.1.  Maybe your headers
>are outdated.
>
>--Adam
>
>----- Original Message -----
>From: Jeff Hayward <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, May 13, 1999 12:33 PM
>Subject: Re: taildir won't compile...
>
>
>: On Thu, 13 May 1999, Marlon Anthony Abao wrote:
>:
>:    mail:~$ cc taildir.c
>:    taildir.c:15: conflicting types for `sys_errlist'
>:    /usr/include/errno.h:31: previous declaration of `sys_errlist'
>:    taildir.c: In function `newest':
>:    taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
>pointer
>:    type
>:    taildir.c:65: warning: passing arg 4 of `scandir' from incompatible
>pointer
>:    type
>:
>:    am using linux... is there a problem with it?
>:
>: It compiles with 1 warning (which can be ignored) for me.  Which
>: Linux are you using?  I've got RH 6.0
>:
>: % uname -v -s -r -m
>: Linux 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999 i686
>:
>: % cc -o taildir taildir.c
>: taildir.c: In function `newest':
>: taildir.c:65: warning: passing arg 3 of `scandir' from incompatible
>: pointer type
>:
>: % ./taildir . & (sleep 1; echo "Hello, world" >>@0000000002; sleep 3)
>: [2] 1380
>: Hello, world
>:
>:
>: -- Jeff
>:
>:
>:
>
>
>
>

Reply via email to