Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
0.28.1.2
Browse files Browse the repository at this point in the history
Minor bugfixes
  • Loading branch information
PQCraft committed Oct 27, 2021
1 parent 22e2c84 commit 0b1e17b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else
ifeq ($(shell uname -o), Android)
CFLAGS += -s
else
CFLAGS += -g -no-pie
CFLAGS += -s -no-pie
endif
endif

Expand Down
6 changes: 3 additions & 3 deletions clibasic.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

// Base defines

char VER[] = "0.28.1.1";
char VER[] = "0.28.1.2";

#if defined(__linux__)
char OSVER[] = "Linux";
Expand Down Expand Up @@ -1027,7 +1027,7 @@ int main(int argc, char** argv) {
argt = NULL;
arg = NULL;
srand(usTime());
if (!runfile) {
if (!runfile && gethome()) {
char* tmpcwd = getcwd(NULL, 0);
int ret = chdir(homepath);
FILE* tmpfile = fopen(HIST_FILE, "r");
Expand Down Expand Up @@ -1137,7 +1137,7 @@ int main(int argc, char** argv) {
cmdl = 0;
runcmd();
if (cmdint) {inProg = false; unloadAllProg(); cmdint = false; goto brkproccmd;}
if (cp == -1) {err = 0; inProg = false; unloadAllProg(); goto brkproccmd;}
if (cp == -1) {inProg = false; unloadAllProg(); goto brkproccmd;}
if (cp > -1 && progbuf[progindex][cp] == 0) {
unloadProg();
err = 0;
Expand Down

0 comments on commit 0b1e17b

Please sign in to comment.