bug: :if-exists :append
Jean Louis <[email protected]>
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I cannot file bug on Sourceforge for some reason, so maybe someone
else may do it. I hope this bug will be corrected at least in the
development version.
When file is chattr-ed +a (append only) on GNU/Linux system, CLISP is
reporting: *** - OS-FILE-ERROR(EPERM): Operation not permitted
and is not appending to the file.
To reproduce, touch my-append-only-file and:
sudo chattr +a my-append-only-file
and try:
(with-open-file
(str "my-append-only-file" :direction :output :if-exists :append :if-does-not-exist :error)
(format str "~a~%" "Hello"))
Jean
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list