Ensure that kdm honors SAK setting

Minor cleanup of kdm build warnings
(cherry picked from commit a63606b686)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 8cbe82fbc1
commit 2a0ff52dba

@ -207,7 +207,7 @@ fmtstr( OutCh dopr_outch, void *bp,
{
int padlen, strln, curcol;
#ifdef PRINT_QUOTES
int lastcol;
int lastcol = 0;
#endif
char ch;
@ -295,9 +295,9 @@ DoPr( OutCh dopr_outch, void *bp, const char *format, va_list args )
void *arptr;
#endif
unsigned long value;
int radix, min, max, flags, cflags, errn;
int radix = 0, min, max, flags, cflags, errn;
#ifdef PRINT_ARRAYS
int arlen;
int arlen = 0;
unsigned aridx;
char sch;
#endif

@ -945,10 +945,6 @@ static int maxTTY, TTYmask;
static void
getInitTab( void )
{
File it;
char *p, *eol, *ep;
int tty;
if (maxTTY)
return;
if (!maxTTY) {

@ -65,6 +65,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <pwd.h>
#define TSAK_FIFO_FILE "/tmp/ksocket-global/tsak"
bool argb_visual_available = false;
bool has_kwin = false;
bool is_themed = false;
@ -198,6 +200,9 @@ kg_main( const char *argv0 )
*tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";
tsak->start(KProcess::Block, KProcess::AllOutput);
}
else {
remove(TSAK_FIFO_FILE);
}
if (tsak) {
tsak->closeStdin();
tsak->closeStdout();

Loading…
Cancel
Save