scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 744cc7ee28c5b559051e6f3d721f850a5bc9ca09
parent 9d2db0a3e18ba554613c2531d18f93cc5c54086c
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon, 30 May 2016 11:43:50 +0200

[driver] use PATH_MAX instead of FILENAME_MAX

This is a file path there, so use the correct constant.

Diffstat:
Mdriver/posix/scc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -24,7 +24,7 @@ enum { }; static struct { - char cmd[FILENAME_MAX]; + char cmd[PATH_MAX]; char *args[NARGS]; char bin[16]; char name[8];