version 1.66, 2006/11/10 18:14:58
|
version 1.66.4.2, 2007/10/16 19:13:47
|
|
|
| |
struct passwd* userPasswd; | struct passwd* userPasswd; |
#if defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC) || \ | #if defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC) || \ |
|
defined(PEGASUS_OS_VMS) || \ |
defined(PEGASUS_OS_HPUX) || \ | defined(PEGASUS_OS_HPUX) || \ |
defined (PEGASUS_OS_LINUX) | defined (PEGASUS_OS_LINUX) |
| |
|
|
return true; | return true; |
#endif | #endif |
} | } |
|
|
|
void FileSystem::syncWithDirectoryUpdates(PEGASUS_STD(fstream)& fs) |
|
{ |
|
#if defined(PEGASUS_OS_HPUX) |
|
// Writes the data from the iostream buffers to the OS buffers |
|
fs.flush(); |
|
// Writes the data from the OS buffers to the disk |
|
fsync(fs.rdbuf()->fd()); |
|
#endif |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |