nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 123fa007ca4e6e5ba55c62775c5d24a6c3ab794d
parent fcfed83f715a788718280bdbeb2f4a44a4ab1011
Author: Alan Post <adp@prgmr.com>
Date:   Thu, 22 Aug 2019 06:19:01 -0600

remove dnscname.

This program is part of the in-tree dns configuration used by
config and config-fast, but unused.

Diffstat:
MCHANGES | 1+
MMakefile | 14+-------------
MTARGETS | 2--
Ddnscname.c | 25-------------------------
4 files changed, 2 insertions(+), 40 deletions(-)

diff --git a/CHANGES b/CHANGES @@ -1,3 +1,4 @@ +20190822 cleanup: remove unused dnscname. 20190819 version: notqmail 1.07. 20190810 code: remove incorrect usage of vfork() 20190710 code: add instchown to set ownership and mode on installed files. diff --git a/Makefile b/Makefile @@ -453,18 +453,6 @@ compile dns.c ip.h ipalloc.h ip.h gen_alloc.h fmt.h alloc.h str.h \ stralloc.h gen_alloc.h dns.h case.h ./compile dns.c -dnscname: \ -load dnscname.o dns.o dnsdoe.o ip.o ipalloc.o stralloc.a alloc.a \ -substdio.a error.a str.a fs.a dns.lib socket.lib - ./load dnscname dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \ - alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \ - socket.lib` - -dnscname.o: \ -compile dnscname.c substdio.h subfd.h substdio.h stralloc.h \ -gen_alloc.h dns.h dnsdoe.h readwrite.h exit.h - ./compile dnscname.c - dnsdoe.o: \ compile dnsdoe.c substdio.h subfd.h substdio.h exit.h dns.h dnsdoe.h ./compile dnsdoe.c @@ -847,7 +835,7 @@ qmail-clean qmail-send qmail-start splogger qmail-queue qmail-inject \ predate datemail mailsubj qmail-upq qmail-showctl qmail-newu \ qmail-pw2u qmail-qread qmail-qstat qmail-tcpto qmail-tcpok \ qmail-pop3d qmail-popup qmail-qmqpc qmail-qmqpd qmail-qmtpd \ -qmail-smtpd sendmail tcp-env qmail-newmrh config config-fast dnscname \ +qmail-smtpd sendmail tcp-env qmail-newmrh config config-fast \ dnsptr dnsip dnsmxip dnsfq hostname ipmeprint qreceipt qsmhook qbiff \ forward preline condredirect bouncesaying except maildirmake \ maildir2mbox maildirwatch qail elq pinq install instpackage instchown \ diff --git a/TARGETS b/TARGETS @@ -284,9 +284,7 @@ qmail-newmrh.o qmail-newmrh config config-fast -dnscname.o dnsdoe.o -dnscname dnsptr.o dnsptr dnsip.o diff --git a/dnscname.c b/dnscname.c @@ -1,25 +0,0 @@ -#include "substdio.h" -#include "subfd.h" -#include "stralloc.h" -#include "dns.h" -#include "dnsdoe.h" -#include "readwrite.h" -#include "exit.h" - -stralloc sa = {0}; - -void main(argc,argv) -int argc; -char **argv; -{ - if (!argv[1]) _exit(100); - - if (!stralloc_copys(&sa,argv[1])) - { substdio_putsflush(subfderr,"out of memory\n"); _exit(111); } - - dns_init(0); - dnsdoe(dns_cname(&sa)); - substdio_putflush(subfdout,sa.s,sa.len); - substdio_putsflush(subfdout,"\n"); - _exit(0); -}