~ubuntu-branches/ubuntu/precise/zonecheck/precise

« back to all changes in this revision

Viewing changes to zc/param.rb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2009-10-10 11:40:59 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20091010114059-tnpi531yvdr5329q
Tags: upstream-2.0.4+cvs20081105
ImportĀ upstreamĀ versionĀ 2.0.4+cvs20081105

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: param.rb,v 1.101 2004/01/27 15:20:01 sdalu Exp $
 
1
# $Id: param.rb,v 1.102 2004/05/13 12:42:46 sdalu Exp $
2
2
 
3
3
4
4
# CONTACT     : zonecheck@nic.fr
5
5
# AUTHOR      : Stephane D'Alu <sdalu@nic.fr>
6
6
#
7
7
# CREATED     : 2002/08/02 13:58:17
8
 
# REVISION    : $Revision: 1.101 $ 
9
 
# DATE        : $Date: 2004/01/27 15:20:01 $
 
8
# REVISION    : $Revision: 1.102 $ 
 
9
# DATE        : $Date: 2004/05/13 12:42:46 $
10
10
#
11
11
# CONTRIBUTORS: (see also CREDITS file)
12
12
#
523
523
        end
524
524
 
525
525
        def local=(resolv)
526
 
            resolv = resolv.clone.untaint if resolv.tainted?
 
526
            resolv = resolv.dup.untaint if resolv.tainted?
527
527
            @local_name = if resolv.nil? || resolv =~ /^\s*$/
528
528
                          then nil
529
529
                          else resolv