Opened 10 years ago

Closed 10 years ago

#381 closed defect (fixed)

When passsing -E "/path1 /path2 /path3" path3 is not excluded

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: high Milestone: 2.2.9.2
Component: mondo Version: 2.2.9.1
Severity: major Keywords:
Cc:

Description

The last excluded directory of a list is not really excluded by mondoarchive

log shows: libmondo-devices.c#1653 dsf: /path3 libmondo-devices.c#1659 dsf: /path3 doesn't start with /dev/

and then the exclude list at #2015 just contains ' /path1 /path2 ' and finished with -E option

Change History (4)

comment:1 Changed 10 years ago by Bruno Cornec

Status: newassigned

THis doesn't happen when passing devices instead of directories

comment:2 Changed 10 years ago by Bruno Cornec

The case reported was with a 3rd path name /test when the second was /test_other and the strstr call in libmond-device.c line 3227 is not well done to support that :-(

comment:3 Changed 10 years ago by Bruno Cornec

Should be fixed in [2525]

comment:4 Changed 10 years ago by Bruno Cornec

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.