Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2650 closed defect (fixed)

BUG:darwinports.tcl-1.111+

Reported by: dms@… Owned by: rshaw@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: darwinports-bugs@…
Port:

Description

Summary: In proc _libtest, depline is incorrectly parsed if it does not specify a version number.

Description: If no version number is specified, then [string first . $depline] returns -1, leading to depname being null and depversion containing the proper contents of depname. On darwin, the library naming convention keeps this from being a practical problem, but on other platforms we're left with a depregex of \.solibname, for example.

Attachments (1)

darwinports.tcl.diff (591 bytes) - added by dms@… 19 years ago.
Proposed patch

Download all attachments as: .zip

Change History (9)

Changed 19 years ago by dms@…

Attachment: darwinports.tcl.diff added

Proposed patch

comment:1 Changed 19 years ago by dms@…

Cc: darwinports-bugs@… added

comment:2 Changed 19 years ago by blb@…

My suggested patch for this was posted to the DP mailing list back in Feb 2004:

http://www.opendarwin.org/pipermail/darwinports/2004-February/020137.html

Slightly different, but the same idea overall

comment:3 Changed 19 years ago by dms@…

Sorry about the dup. I missed that one when I searched bugzilla.

comment:4 Changed 19 years ago by blb@…

Actually, this bug isn't a dup as I simply emailed that patch to the list.

comment:5 Changed 19 years ago by dms@…

Owner: changed from landonf@… to darwinports-bugs@…

comment:6 Changed 19 years ago by rshaw@…

Owner: changed from darwinports-bugs@… to rshaw@…

comment:7 Changed 19 years ago by rshaw@…

Status: newassigned

comment:8 Changed 19 years ago by rshaw@…

Resolution: fixed
Status: assignedclosed

Fixed committed. Thanks! -rshaw

Note: See TracTickets for help on using tickets.