summaryrefslogtreecommitdiffstats
path: root/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-10-19 10:10:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-10-19 10:10:04 +0900
commitff3b9cbad7182856bb6fe35e950b40d2848e49e3 (patch)
tree2627a6db19152c8d87beed8ceb5887a1bf9b73e0 /redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch
parentbb1e02c097fa27c54e1723cf1640fd9abf8c2e80 (diff)
parentb044078982873fc5e30a2bb79b4bcd65e5ae806a (diff)
downloadtde-packaging-ff3b9cbad7182856bb6fe35e950b40d2848e49e3.tar.gz
tde-packaging-ff3b9cbad7182856bb6fe35e950b40d2848e49e3.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch')
-rw-r--r--redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch b/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch
deleted file mode 100644
index 4f7903d6d..000000000
--- a/redhat/tdenetwork/kdenetwork-3.2.3-resolv.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- kdenetwork-3.2.3/kppp/connect.cpp.orig 2004-07-01 16:03:52.861908057 +0200
-+++ kdenetwork-3.2.3/kppp/connect.cpp 2004-07-01 16:33:35.943692521 +0200
-@@ -1399,9 +1399,13 @@
-
- void addpeerdns() {
- int fd, fd2;
-+ TQString p = "/var/run/ppp/resolv.conf";
-+
-+ if (!TQFile::exists(p))
-+ p = "/etc/ppp/resolv.conf";
-
- if((fd = Requester::rq->openResolv(O_WRONLY|O_APPEND)) >= 0) {
-- if((fd2 = open("/etc/ppp/resolv.conf", O_RDONLY)) >= 0) {
-+ if((fd2 = open(p.latin1(), O_RDONLY)) >= 0) {
- char c;
- int i = 0;
- while(i++ < 100 && read(fd2, &c, 1) == 1) {
-@@ -1412,7 +1416,7 @@
- }
- close(fd2);
- } else
-- fprintf(stderr, "failed to read from /etc/ppp/resolv.conf\n");
-+ fprintf(stderr, "failed to read from %s\n", p.latin1());
- close(fd);
- }
- add_domain(gpppdata.domain());