blob: ff723e835f09341f9310c71158ee014320bd5062 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- psprint/source/printer/printerinfomanager.cxx.orig 2007-12-12 09:56:19.000000000 -0500
+++ psprint/source/printer/printerinfomanager.cxx 2008-02-28 17:46:34.000000000 -0500
@@ -145,12 +145,12 @@
bool bSuccess = false;
// try libpaper
- #ifdef SOLARIS
+ #ifdef LINUX
// #i78617# workaround missing paperconf command; on e.g. Linux
// the 2>/dev/null works on the started shell also
- FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
- #else
FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
+ #else
+ FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
#endif
if( pPipe )
{
|