From: Mark Wooding Date: Thu, 20 Apr 2006 10:31:48 +0000 (+0100) Subject: zone: Write output to DOMAIN.zone, rather than just DOMAIN. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/zone/commitdiff_plain/1c472e03951aeaf721c6043f5bdaf5acaf0f4941 zone: Write output to DOMAIN.zone, rather than just DOMAIN. It seemed sexy to just name the zone file after the zone, but actually it causes any number of difficulties. --- diff --git a/zone.lisp b/zone.lisp index 83ad3b9..e83aa75 100644 --- a/zone.lisp +++ b/zone.lisp @@ -1017,8 +1017,9 @@ (defun zone-save (zones) (unless zz (error "Unknown zone `~A'." z)) (let ((stream (safely-open-output-stream safe - (string-downcase - (stringify z))))) + (format nil + "~(~A~).zone" + z)))) (zone-write zz stream)))))) ;;;----- That's all, folks --------------------------------------------------