From 6e65224051d92547cd2460532480a6c3970475e0 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Sun, 16 Apr 2023 19:11:38 +0800 Subject: [PATCH] fix: path --- HGL_SRC/MAP_ChooseFile.c | 4 ++-- HGL_SRC/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HGL_SRC/MAP_ChooseFile.c b/HGL_SRC/MAP_ChooseFile.c index debfef9..8a965c3 100755 --- a/HGL_SRC/MAP_ChooseFile.c +++ b/HGL_SRC/MAP_ChooseFile.c @@ -409,8 +409,8 @@ int fl_make_list() getcwd(dirname, GBUFSIZ); - sprintf(tmpcmd, "cd %s;ls -aF > /usr/tmp/.svlffil%d", dirname, pid); - sprintf(tmpname, "/usr/tmp/.svlffil%d", pid); + sprintf(tmpcmd, "cd %s;ls -aF > /tmp/.svlffil%d", dirname, pid); + sprintf(tmpname, "/tmp/.svlffil%d", pid); system(tmpcmd); dirp = fopen(tmpname, "r"); if (dirp == NULL) /* just a check to make sure */ diff --git a/HGL_SRC/Makefile b/HGL_SRC/Makefile index 58c44c8..14cdcbf 100755 --- a/HGL_SRC/Makefile +++ b/HGL_SRC/Makefile @@ -1,7 +1,7 @@ CC = cc FLAGS = -m32 -OPENWINHOME = ../usr +OPENWINHOME = /usr MFILE = INCDIR = -I/usr/include LIBDIR = -L/usr/lib32