2005-07-22 Vaclav Haisman * syscalls.cc (open_with_attributes): Rename open() to open_with_attributes(). Add fileattr parameter and use it. Add explicit mode_t parameter for mode. Tweak debugging syscall_printf() calls to reflect the new parameter. (open): Reimplement using open_with_attributes(). * fhandler.cc (fhandler_base::open): Use pc.file_attributes() when opening disk file. * mktemp.cc (_gettemp): Set FILE_ATTRIBUTE_TEMPORARY on WinNT using open_with_attributes().