fix: path

This commit is contained in:
kuoi 2023-04-16 19:11:38 +08:00
parent 4cb1529d40
commit 6e65224051
2 changed files with 3 additions and 3 deletions

View file

@ -409,8 +409,8 @@ int fl_make_list()
getcwd(dirname, GBUFSIZ); getcwd(dirname, GBUFSIZ);
sprintf(tmpcmd, "cd %s;ls -aF > /usr/tmp/.svlffil%d", dirname, pid); sprintf(tmpcmd, "cd %s;ls -aF > /tmp/.svlffil%d", dirname, pid);
sprintf(tmpname, "/usr/tmp/.svlffil%d", pid); sprintf(tmpname, "/tmp/.svlffil%d", pid);
system(tmpcmd); system(tmpcmd);
dirp = fopen(tmpname, "r"); dirp = fopen(tmpname, "r");
if (dirp == NULL) /* just a check to make sure */ if (dirp == NULL) /* just a check to make sure */

View file

@ -1,7 +1,7 @@
CC = cc CC = cc
FLAGS = -m32 FLAGS = -m32
OPENWINHOME = ../usr OPENWINHOME = /usr
MFILE = MFILE =
INCDIR = -I/usr/include INCDIR = -I/usr/include
LIBDIR = -L/usr/lib32 LIBDIR = -L/usr/lib32