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 2692
Collapse All | Expand All

(-)a/kmobile/kmobiledevice.cpp (-4 / +6 lines)
Lines 382-393 bool KMobileDevice::unlockDevice(const TQString &device) Link Here
382
#ifdef HAVE_BAUDBOY_H
382
#ifdef HAVE_BAUDBOY_H
383
  return ttyunlock(device.local8bit()) == EXIT_SUCCESS;
383
  return ttyunlock(device.local8bit()) == EXIT_SUCCESS;
384
#else
384
#else
385
  if (m_fd != -1)
385
  if (m_fd != -1) {
386
  {
386
	if(flock(m_fd, LOCK_UN)) {
387
		flock(m_fd, LOCK_UN);
387
		return false;
388
	}
388
	}
389
  close(m_fd);
389
	close(m_fd);
390
  }
390
  m_fd = -1;
391
  m_fd = -1;
392
  return true;
391
#endif
393
#endif
392
}
394
}
393
395

Return to bug 2692