Project

General

Profile

Actions

Bug #16588

open

wsdiff crashes if path in input file list doesn't exist

Added by Rich Lowe 17 days ago. Updated 17 days ago.

Status:
In Progress
Priority:
Low
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

; echo "usr/lib/libsqlite-sys.so.2.8.15" >! file.list                     
; wsdiff -uVvr native.log -i file.list old-proto/root_i386 proto/root_i386
Traceback (most recent call last):
  File "/opt/onbld/bin/wsdiff", line 1607, in <module>
    main()
  File "/opt/onbld/bin/wsdiff", line 1520, in main
    flistCatalog(baseRoot, ptchRoot, fileNamesFile)
  File "/opt/onbld/bin/wsdiff", line 656, in flistCatalog
    if os.path.islink(base + fn) :      # ignore links
                             ^^
UnboundLocalError: cannot access local variable 'fn' where it is not associated with a value

This is OmniOS bloody with

; head =wsdiff                  
#!/usr/bin/python3.12 -Es

Actions #1

Updated by Andy Fiddaman 17 days ago

  • Status changed from New to In Progress
  • Assignee set to Andy Fiddaman
  • Priority changed from Normal to Low
Actions #2

Updated by Electric Monk 17 days ago

  • Gerrit CR set to 3534
Actions

Also available in: Atom PDF