GNU bug report logs - #25426
[PATCH] in net-utils.el several DNS query functions now take optional name server argument; also, `dig-program-options' added

Previous Next

Package: emacs;

Reported by: Andrew Robbins <contact <at> andrewrobbins.info>

Date: Thu, 12 Jan 2017 16:11:01 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrew Robbins <contact <at> andrewrobbins.info>
To: npostavs <at> users.sourceforge.net
Cc: 25426 <at> debbugs.gnu.org
Subject: bug#25426: [PATCH] 26.1; Revised patch for bug#25426
Date: Sun, 07 May 2017 16:27:44 -0400
[Message part 1 (text/plain, inline)]
npostavs <at> users.sourceforge.net writes:

> Andrew Robbins <contact <at> andrewrobbins.info> writes:
>
>>    (let ((options
>> -	 (if nslookup-program-options
>> -	     (append nslookup-program-options (list host))
>> -	   (list host))))
>> -    (net-utils-run-program
>> +         (append nslookup-program-options (list host)
>> +                 (if name-server (list name-server)))))
>> +  (net-utils-run-program
>>       "Nslookup"
>>       (concat "** "
>>        (mapconcat 'identity
>
> The indentation on (net-utils-run-program...) seems to have got messed
> up.  Otherwise looks good to me.

Ah, good catch.  Here's the final diff if there aren't any other
modifications that need to be made:

[net-utils.final.diff (text/x-diff, attachment)]

This bug report was last modified 8 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.