Raymond Toy pushed to branch issue-373-handle-temp-files at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/lisp/os-common.c
    ... ... @@ -945,7 +945,7 @@ os_get_user_homedir(const char* name, int *status)
    945 945
      * returned, such a location could not be found or some other error
    
    946 946
      * happened.
    
    947 947
      *
    
    948
    - * Caller must call free(0 on the string returned.
    
    948
    + * Caller must call free() on the string returned.
    
    949 949
      */
    
    950 950
     char *
    
    951 951
     os_temp_path()
    

  • tests/trac.lisp
    ... ... @@ -127,9 +127,8 @@
    127 127
     (define-test trac.36
    
    128 128
       (:tag :trac)
    
    129 129
       (flet ((bug (&optional (format :utf16))
    
    130
    -	   (ext::with-temporary-stream (s :direction :io :external-format format)
    
    130
    +	   (ext:with-temporary-stream (s :direction :io :external-format format)
    
    131 131
     	     (format s "Hello~%")
    
    132
    -	     (format t "posn = ~A~%" (file-position s))
    
    133 132
     	     (file-position s 0)
    
    134 133
     	     (let ((ch (read-char s)))
    
    135 134
     	       (values ch (file-position s))))))