Commit [f849f4]  Maximize  Restore  History fix an actual random bug in mkstemp test

On some platforms (including Solaris, FWIW), the character "." is one of
the characters mkstemp can use when filling in an "XXXXXX" template. When
this (randomly) occurs during the running of this test, PATHNAME-NAME, of
course breaks on the last such random "." character, and the test fails in
a way which will not repeat until the next time such a character is
randomly chosen.

Since readdir actually returns a string, break the string on the first "."
explicitly, instead of making a path from the string and calling

This will need to be revisited if we add mkstemp support on win32 in the

jimwise jimwise 2011-03-03

changed contrib/sb-posix/posix-tests.lisp
changed version.lisp-expr
contrib/sb-posix/posix-tests.lisp Diff Switch to side-by-side view
version.lisp-expr Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks