Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/code/extensions.lisp
    ... ... @@ -645,10 +645,10 @@
    645 645
     (defmacro with-temporary-file ((filename &key directory (prefix "cmucl-temp-file-"))
    
    646 646
     			       &parse-body (forms decls))
    
    647 647
       _N"Creates a temporary file with a name bound to Filename which a
    
    648
    - namestring.  If Directory is not provided, the temporary file is created
    
    649
    - in a OS-dependent location.  The Prefix is a prefix to the file name
    
    650
    - to be created.  If not provided a default prefix is used.
    
    651
    - On completion, the file is automatically removed."
    
    648
    +  namestring.  If Directory is not provided, the temporary file is created
    
    649
    +  in a OS-dependent location.  The Prefix is a prefix to the file name
    
    650
    +  to be created.  If not provided a default prefix is used.
    
    651
    +  On completion, the file is automatically removed."
    
    652 652
       (let ((fd (gensym "FD-"))
    
    653 653
     	(file-template (gensym "TEMP-PATH-"))
    
    654 654
     	(unique-filename (gensym "UNIQUE-FILENAME-")))
    
    ... ... @@ -701,11 +701,11 @@
    701 701
     (defmacro with-temporary-directory ((dirname &key directory (prefix  "cmucl-temp-dir-"))
    
    702 702
     				    &parse-body (forms decls))
    
    703 703
      _N"Return a namestring to a temporary directory.  If Directory is not
    
    704
    - provided, the directory is created in an OS-dependent location.  The
    
    705
    - Prefix is a string that is used as a prefix for the name of the
    
    706
    - temporary directory.  If Prefix is not given, a default prefix is
    
    707
    - used.  The directory and all its contents are automatically removed
    
    708
    - afterward."
    
    704
    +  provided, the directory is created in an OS-dependent location.  The
    
    705
    +  Prefix is a string that is used as a prefix for the name of the
    
    706
    +  temporary directory.  If Prefix is not given, a default prefix is
    
    707
    +  used.  The directory and all its contents are automatically removed
    
    708
    +  afterward."
    
    709 709
       (let ((err (gensym "ERR-"))
    
    710 710
     	(dir-template (gensym "DIR-TEMPLATE-")))
    
    711 711
         `(let ((,dir-template (create-template ,directory ,prefix))