mirror of
https://github.com/janet-lang/janet
synced 2026-04-08 07:51:26 +00:00
Compare commits
2 Commits
v1.15.1
...
circleci-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3fa24c1e6 | ||
|
|
f1819c916a |
14
.circleci/config.yml
Normal file
14
.circleci/config.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
# for later
|
||||
windows: circleci/windows@2.2.0
|
||||
|
||||
jobs:
|
||||
build:
|
||||
macos:
|
||||
xcode: 11.3.0
|
||||
steps:
|
||||
- checkout
|
||||
- run: make
|
||||
- run: make test
|
||||
@@ -1,7 +1,7 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 1.15.1 - 2021-02-15
|
||||
## 1.15.2 - 2021-02-15
|
||||
- Fix bug in windows version of `os/spawn` and `os/execute` with setting environment variables.
|
||||
- Fix documentation typos.
|
||||
- Fix peg integer reading combinators when used with capture tags.
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
project('janet', 'c',
|
||||
default_options : ['c_std=c99', 'b_lundef=false', 'default_library=both'],
|
||||
version : '1.15.1')
|
||||
version : '1.15.2')
|
||||
|
||||
# Global settings
|
||||
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
#define JANET_VERSION_MAJOR 1
|
||||
#define JANET_VERSION_MINOR 15
|
||||
#define JANET_VERSION_PATCH 1
|
||||
#define JANET_VERSION_PATCH 2
|
||||
#define JANET_VERSION_EXTRA ""
|
||||
#define JANET_VERSION "1.15.1"
|
||||
#define JANET_VERSION "1.15.2"
|
||||
|
||||
/* #define JANET_BUILD "local" */
|
||||
|
||||
|
||||
@@ -249,13 +249,13 @@ static EnvBlock os_execute_env(int32_t argc, const Janet *argv) {
|
||||
static void os_execute_cleanup(EnvBlock envp, const char **child_argv) {
|
||||
#ifdef JANET_WINDOWS
|
||||
(void) child_argv;
|
||||
janet_sfree(envp);
|
||||
if (NULL != envp) janet_sfree(envp);
|
||||
#else
|
||||
janet_sfree((void *)child_argv);
|
||||
if (NULL != envp) {
|
||||
char **envitem = envp;
|
||||
while (*envitem != NULL) {
|
||||
free(*envitem);
|
||||
janet_sfree(*envitem);
|
||||
envitem++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user