diff options
author | Denis Kozadaev <denis@dilos.org> | 2023-05-14 12:34:44 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-05-22 10:41:26 +0900 |
commit | e5acdb1b39fa7d97d7153741202709e078b463a6 (patch) | |
tree | 8fdda91a64ae0c7f35474d44e29139f38f297958 /tdeioslave | |
parent | 394b5ef0fb0e0555d16bced7c4c2c1b2ac1a8463 (diff) | |
download | tdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.tar.gz tdelibs-e5acdb1b39fa7d97d7153741202709e078b463a6.zip |
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'tdeioslave')
-rw-r--r-- | tdeioslave/file/file.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeioslave/file/file.cpp b/tdeioslave/file/file.cpp index b7ac91bfd..bf18a069b 100644 --- a/tdeioslave/file/file.cpp +++ b/tdeioslave/file/file.cpp @@ -1446,15 +1446,15 @@ void FileProtocol::mount( bool _ro, const char *_fstype, const TQString& _dev, c buffer.sprintf( "%s %s %s %s 2>%s", mountProg.latin1(), readonly.data(), dev.data(), point.data(), tmp ); else // mount giving device + mountpoint + fstype -#if defined(__svr4__) && defined(__sun__) - // MACRO for Solaris 8 and I +#if defined(Q_OS_SOLARIS) + // MACRO for Solaris 8 and I // believe this is true for SVR4 in general - buffer.sprintf( "%s -F %s %s %s %s 2>%s" - mountProg.latin1() - fstype.data() - _ro ? "-oro" : "" - dev.data() - point.data() + buffer.sprintf( "%s -F %s %s %s %s 2>%s", + mountProg.latin1(), + fstype.data(), + _ro ? "-oro" : "", + dev.data(), + point.data(), tmp ); #elif defined(__OpenBSD__) buffer.sprintf( "%s %s %s -t %s %s %s 2>%s", "tdesu", mountProg.latin1(), readonly.data(), |