mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-07 21:00:39 -08:00
Fixed type coercion in system()
This commit is contained in:
parent
dab6a693b4
commit
51d0dcaaa3
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
(let* ((command (format nil "~S~{ ~S~}" program args))
|
||||
(base-string-command (si:copy-to-simple-base-string command))
|
||||
(code (ffi:c-inline (base-string-command) (:object) :int
|
||||
"system(#0->base_string.self)":one-liner t)))
|
||||
"system((const char*)(#0->base_string.self))":one-liner t)))
|
||||
(values nil code nil)))
|
||||
|
||||
(defun safe-run-program (program args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue