By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2109
Collapse All | Expand All

(-)tdecore/kpty.cpp.orig (+14 lines)
Lines 305-310 Link Here
305
  if (d->masterFd >= 0)
305
  if (d->masterFd >= 0)
306
    return true;
306
    return true;
307
307
308
#if defined(__OpenBSD__)
309
  char cpty[16];
310
311
  if (openpty(&d->masterFd, &d->slaveFd, cpty, NULL, &d->winSize) == 0) {
312
    d->ttyName = cpty;
313
  } else {
314
    kdWarning(175) << "Can't open slave pseudo teletype" << endl;
315
    return false;
316
  }
317
#else
318
308
  TQCString ptyName;
319
  TQCString ptyName;
309
320
310
  // Find a master pty that we can open ////////////////////////////////
321
  // Find a master pty that we can open ////////////////////////////////
Lines 379-384 Link Here
379
390
380
  kdWarning(175) << "KPty::open(): " << "Can't open a pseudo teletype" << endl;
391
  kdWarning(175) << "KPty::open(): " << "Can't open a pseudo teletype" << endl;
381
  return false;
392
  return false;
393
#endif
382
394
383
 gotpty:
395
 gotpty:
384
  return  _attachPty(d->masterFd);
396
  return  _attachPty(d->masterFd);
Lines 568-575 Link Here
568
// private
580
// private
569
bool KPty::chownpty(bool grant)
581
bool KPty::chownpty(bool grant)
570
{
582
{
583
#if !defined(__OpenBSD__)
571
  TDEProcess proc;
584
  TDEProcess proc;
572
  proc << locate("exe", BASE_CHOWN) << (grant?"--grant":"--revoke") << TQString::number(d->masterFd);
585
  proc << locate("exe", BASE_CHOWN) << (grant?"--grant":"--revoke") << TQString::number(d->masterFd);
573
  return proc.start(TDEProcess::Block) && proc.normalExit() && !proc.exitStatus();
586
  return proc.start(TDEProcess::Block) && proc.normalExit() && !proc.exitStatus();
587
#endif
574
}
588
}
575
589

Return to bug 2109