From f2ba47b7ef017a01a4b6c13982ff43a67cc6abd5 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 11 Mar 2022 15:14:39 -0700 Subject: drop SYSTEM and add simpler code in a FLET where it's needed Signed-off-by: Sean Whitton --- src/util.lisp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/util.lisp') diff --git a/src/util.lisp b/src/util.lisp index a0110ef..3238b79 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -350,18 +350,6 @@ expansion as a starting point for your own DEFPACKAGE form for your consfig." else do (princ #\: s) (loop-finish))))))))) -(defun system (&rest args) - "Simple wrapper around system(3)." - (foreign-funcall - "system" :string (if (cdr args) - (escape-sh-command - (loop for arg in args - if (pathnamep arg) - collect (unix-namestring arg) - else collect arg)) - (car args)) - :int)) - (eval-when (:compile-toplevel :load-toplevel :execute) (define-constant +alphanum+ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" -- cgit v1.2.3