Raymond Toy pushed to branch issue-140-stream-element-type-two-way-stream at cmucl / cmucl

Commits:

5 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -167,7 +167,8 @@ osx:ansi-test:
    167 167
       script:
    
    168 168
         - cd ansi-test
    
    169 169
         - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
    
    170
    -    - grep 'No unexpected \(successes\|failures\)' test.out 
    
    170
    +    # There should be no unexpected successes or failures; check these separately.
    
    171
    +    - grep -a 'No unexpected successes' test.out && grep -a 'No unexpected failures' test.out
    
    171 172
       
    
    172 173
     osx:benchmark:
    
    173 174
       stage: benchmark
    

  • src/code/filesys.lisp
    ... ... @@ -1478,4 +1478,4 @@ optionally keeping some of the most recent old versions."
    1478 1478
     			 (retry () :report "Try to create the directory again"
    
    1479 1479
     				(go retry))))))
    
    1480 1480
     	 ;; Only the first path in a search-list is considered.
    
    1481
    -	 (return (values pathname created-p))))))
    1481
    +	 (return (values pathspec created-p))))))

  • src/code/rand-xoroshiro.lisp
    ... ... @@ -491,8 +491,8 @@
    491 491
         (t
    
    492 492
          (error 'simple-type-error
    
    493 493
     	    :expected-type '(or (integer 1) (float (0.0))) :datum arg
    
    494
    -	    :format-control _"Argument is not a positive integer or a positive float: ~S")
    
    495
    -	    :format-arguments (list arg))))
    
    494
    +	    :format-control _"Argument is not a positive integer or a positive float: ~S"
    
    495
    +	    :format-arguments (list arg)))))
    
    496 496
     
    
    497 497
     ;; Jump function for the generator.  See the jump function in
    
    498 498
     ;; http://xoroshiro.di.unimi.it/xoroshiro128plus.c
    

  • src/general-info/release-21e.md
    ... ... @@ -50,9 +50,14 @@ public domain.
    50 50
         * ~~#113~~ REQUIRE on contribs can pull in the wrong things via ASDF.
    
    51 51
         * ~~#121~~ Wrong column index in FILL-POINTER-OUTPUT-STREAM
    
    52 52
         * ~~#122~~ gcc 11 can't build cmucl
    
    53
    +    * ~~#125~~ Linux `unix-stat` returning incorrect values
    
    53 54
         * ~~#127~~ Linux unix-getpwuid segfaults when given non-existent uid.
    
    54 55
         * ~~#128~~ `QUIT` accepts an exit code
    
    56
    +    * ~~#132~~ Ansi test `RENAME-FILE.1` no fails
    
    57
    +    * ~~#134~~ Handle the case of `(expt complex complex-rational)`
    
    58
    +    * ~~#136~~ `ensure-directories-exist` should return the given pathspec
    
    55 59
         * ~~#140~~ External format of `two-way-stream` returns the common format of the input and output streams if possible; otherwise, return `:default`.
    
    60
    +    * ~~#142~~ `(random 0)` signals incorrect error
    
    56 61
       * Other changes:
    
    57 62
       * Improvements to the PCL implementation of CLOS:
    
    58 63
       * Changes to building procedure:
    

  • tests/filesys.lisp
    ... ... @@ -10,7 +10,7 @@
    10 10
     
    
    11 11
     (define-test unix-namestring.1.exists
    
    12 12
       ;; Make sure the desired directories exist.
    
    13
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    13
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    14 14
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    15 15
       (dolist (path '("/tmp/hello.txt"
    
    16 16
     		  "/tmp/foo/"
    
    ... ... @@ -27,7 +27,7 @@
    27 27
     
    
    28 28
     (define-test unix-namestring.1.non-existent
    
    29 29
       ;; Make sure the desired directories exist.
    
    30
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    30
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    31 31
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    32 32
       ;; These paths contain directories that don't exist.
    
    33 33
       (dolist (path '("/tmp/oops/"
    
    ... ... @@ -42,7 +42,7 @@
    42 42
     
    
    43 43
     (define-test unix-namestring.2
    
    44 44
       ;; Make sure the desired directories exist.
    
    45
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    45
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    46 46
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    47 47
       (unwind-protect
    
    48 48
            (progn