CRLF as line terminator in zone file

Joseph S D Yao jsdy at cospo.osis.gov
Tue Oct 5 16:15:30 UTC 1999


...
> This is all fine and dandy, except that this method of zone file
> generation results in files with CRLF (\r\n) line terminations rather
> than simply LF (\n). This confuses the zone file parser in
> src/bin/named/db_load.c.
> 
> Changing the way that the zone files are produced is a pain for various
> NT reasons :) My stop-gap solution was to patch db_load.c, such
> that a '\r' read from a zone file is treated the same as a ' ' or
> a '\t'.
...
> If not, I will nice-up the patch (so that it's disabled by default
> and activated by an option). Would anybody be interested in testing
> this?

Sounds like a good idea, ALTHOUGH I wouldn't bother making it an
option.  When would you NOT want to do this?  ;-)  [If I'm wrong, I'm
sure someone will tell me.  ;->]

--
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list