Raymond Toy pushed to branch issue-139-set-filename-encoding-to-utf8 at cmucl / cmucl
Commits:
-
1ee83644
by Raymond Toy at 2022-12-21T09:57:10-08:00
3 changed files:
Changes:
... | ... | @@ -49,7 +49,7 @@ trap cleanup EXIT |
49 | 49 | |
50 | 50 | if [ $# -eq 0 ]; then
|
51 | 51 | # No args so run all the tests
|
52 | - $LISP -noinit -nositeinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
|
|
52 | + $LISP -noinit -load tests/run-tests.lisp -eval '(cmucl-test-runner:run-all-tests)'
|
|
53 | 53 | else
|
54 | 54 | # Run selected files. Convert each file name to uppercase and append "-TESTS"
|
55 | 55 | result=""
|
... | ... | @@ -58,6 +58,6 @@ else |
58 | 58 | new=`echo $f | tr '[a-z]' '[A-Z]'`
|
59 | 59 | result="$result "\"$new-TESTS\"
|
60 | 60 | done
|
61 | - $LISP -noinit -nositeinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
|
|
61 | + $LISP -noinit -load tests/run-tests.lisp -eval "(progn (cmucl-test-runner:load-test-files) (cmucl-test-runner:run-test $result))"
|
|
62 | 62 | fi
|
63 | 63 |
... | ... | @@ -371,7 +371,7 @@ |
371 | 371 | |
372 | 372 | (defun load-external-format-aliases ()
|
373 | 373 | ;; Set filename encoding to NIL to bypass any encoding; it's not
|
374 | - ;; needed to open the aliases file.
|
|
374 | + ;; needed to open the aliases file. NIL means the pathname string is passed as is where only the low 8 bits of the
|
|
375 | 375 | (let ((*package* (find-package "KEYWORD"))
|
376 | 376 | (unix::*filename-encoding* nil))
|
377 | 377 | (with-open-file (stm "ext-formats:aliases" :if-does-not-exist nil
|
... | ... | @@ -194,18 +194,18 @@ |
194 | 194 | (stream:string-decode *unidata-path* file-locale))))
|
195 | 195 | |
196 | 196 | (defun save-lisp (core-file-name &key
|
197 | - (purify t)
|
|
198 | - (root-structures ())
|
|
199 | - (environment-name "Auxiliary")
|
|
200 | - (init-function #'%top-level)
|
|
201 | - (load-init-file t)
|
|
202 | - (site-init "library:site-init")
|
|
203 | - (print-herald t)
|
|
204 | - (process-command-line t)
|
|
205 | - #+:executable
|
|
206 | - (executable nil)
|
|
207 | - (batch-mode nil)
|
|
208 | - (quiet nil))
|
|
197 | + (purify t)
|
|
198 | + (root-structures ())
|
|
199 | + (environment-name "Auxiliary")
|
|
200 | + (init-function #'%top-level)
|
|
201 | + (load-init-file t)
|
|
202 | + (site-init "library:site-init")
|
|
203 | + (print-herald t)
|
|
204 | + (process-command-line t)
|
|
205 | + #+:executable
|
|
206 | + (executable nil)
|
|
207 | + (batch-mode nil)
|
|
208 | + (quiet nil))
|
|
209 | 209 | "Saves a CMU Common Lisp core image in the file of the specified name. The
|
210 | 210 | following keywords are defined:
|
211 | 211 |
|
... | ... | @@ -390,7 +390,7 @@ |
390 | 390 | (let ((initial-function (get-lisp-obj-address #'restart-lisp))
|
391 | 391 | (core-name (unix-namestring core-file-name nil)))
|
392 | 392 | (without-gcing
|
393 | - #+:executable
|
|
393 | + #+:executable
|
|
394 | 394 | (if executable
|
395 | 395 | (save-executable core-name initial-function)
|
396 | 396 | (save core-name initial-function #+sse2 1 #-sse2 0))
|