Ignore:
Timestamp:
Mar 19, 2006, 5:25:08 PM (15 years ago)
Author:
jberry
Message:

Fix bug in dportsearch.
Information from previous iterations was sneaking into current when a particular field didn't exist in the current iteration.
Thanks for the report, Joe Auty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r17033 r17068  
    11# darwinports.tcl
    2 # $Id: darwinports.tcl,v 1.208 2006/03/17 00:31:47 jberry Exp $
     2# $Id: darwinports.tcl,v 1.209 2006/03/19 17:25:08 jberry Exp $
    33#
    44# Copyright (c) 2002 Apple Computer, Inc.
     
    11251125                                incr found 1
    11261126                                while {[gets $fd line] >= 0} {
     1127                                        array unset portinfo
    11271128                                        set name [lindex $line 0]
    11281129                                        gets $fd line
Note: See TracChangeset for help on using the changeset viewer.