Skip to content

Commit

Permalink
Fix small bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
CuppoJava committed Apr 16, 2024
1 parent ce3db90 commit 96e8e43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/params.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public defn compiler-flags () :
to-tuple(COMPILE-FLAGS)

;========= Stanza Configuration ========
public val STANZA-VERSION = [0 18 60]
public val STANZA-VERSION = [0 18 61]
public var STANZA-INSTALL-DIR:String = ""
public var OUTPUT-PLATFORM:Symbol = `platform
public var STANZA-PKG-DIRS:List<String> = List()
Expand Down
3 changes: 2 additions & 1 deletion runtime/process-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ static ChildProcess* get_child_process (pid_t pid){
volatile ChildProcessList * volatile curr = child_processes;
while(curr != NULL && curr->proc->pid != pid)
curr = curr->next;
return curr->proc;
if(curr == NULL) return NULL;
else return curr->proc;
}

// Remove the ChildProcess with the given process id from the
Expand Down

0 comments on commit 96e8e43

Please sign in to comment.