I've divided and improved the patch.
Issue 4374 / 1: Fix platform identification On Cygwin environment, Guile's uname returns the strings of "CYGWIN_NT-6.3" etc. It contains unnecessary strings for the platform identification, such as Windows version. Therefore, to remove them to return the only "cygwin". Issue 4374 / 2: Add make-tmpfile procedure Procedure "make-tmpfile" is to create a unique temporary file using "mkstemp!". Issue 4374 / 3: Add copy-binary-file procedure Procedure "copy-binary-file" is to copy a binary file correctly on any platforms. Issue 4374 / 4: Use mkstemp for intermediate ps files When backend is `ps' (default), intermediate ps files are created by mkstemp. The following issues are fixed. Filename issue (to compile lines.ly, gs_init.ly etc.) Intermediate file issue (to overwrite and delete .ps file) https://codereview.appspot.com/233230044/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel