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

(-)kdenetwork-3.2.3/kppp/connect.cpp.orig (-2 / +6 lines)
Lines 1399-1407 Link Here
1399
1399
1400
void addpeerdns() {
1400
void addpeerdns() {
1401
  int fd, fd2;
1401
  int fd, fd2;
1402
  TQString p = "/var/run/ppp/resolv.conf";
1403
1404
  if (!TQFile::exists(p))
1405
      p = "/etc/ppp/resolv.conf";
1402
1406
1403
  if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) {
1407
  if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) {
1404
    if((fd2 = open("/etc/ppp/resolv.conf", O_RDONLY)) >= 0) {
1408
    if((fd2 = open(p.latin1(), O_RDONLY)) >= 0) {
1405
      char c;
1409
      char c;
1406
      int i = 0;
1410
      int i = 0;
1407
      while(i++ < 100 && read(fd2, &c, 1) == 1) {
1411
      while(i++ < 100 && read(fd2, &c, 1) == 1) {
Lines 1412-1418 Link Here
1412
      }
1416
      }
1413
      close(fd2);
1417
      close(fd2);
1414
    } else
1418
    } else
1415
      fprintf(stderr, "failed to read from /etc/ppp/resolv.conf\n");
1419
      fprintf(stderr, "failed to read from %s\n", p.latin1());
1416
    close(fd);
1420
    close(fd);
1417
  }
1421
  }
1418
  add_domain(gpppdata.domain());
1422
  add_domain(gpppdata.domain());

Return to bug 1560