[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] realpath(x, NULL) doesn't work with tcc(1)
From: |
Steffen Nurpmeso |
Subject: |
[Tinycc-devel] realpath(x, NULL) doesn't work with tcc(1) |
Date: |
Thu, 02 Jun 2016 20:53:26 +0200 |
User-agent: |
s-nail v14.8.8-246-g97c4a50 |
Hi!
Well, have i yet asked this? I think no...
It's like that for a long time, ever since i use tcc(1) (autumn
last year):
address@hidden tmp]$ cat t.c
#include <stdlib.h>
int main(void){
char *x = realpath(".", NULL);
return (x != NULL) ? 0 : 1;
}
address@hidden tmp]$ for i in clang gcc tcc; do \
$i -o zt t.c && ./zt; echo $i: $?;\
done
clang: 0
gcc: 0
tcc: 1
tcc(1) only gets realpath(3) with buffer argument right, i wonder
what that can be?
Ciao!
--steffen
- [Tinycc-devel] realpath(x, NULL) doesn't work with tcc(1),
Steffen Nurpmeso <=