#8606 closed defect (fixed)
cdrdao-1.2.3: sed script pattern is too promiscuous.
Reported by: | Jeremy Henty | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 8.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
The cdrdao-1.2.3 instructions include a sed script that adds a '#include' line to dao/ScsiIf-linux.cc . Surprisingly, this command adds the '#include' line in 7 (!) places. This is not fatal, but it is clearly not what is intended.
I propose to modify the sed editor command from '/ioctl/a ...' to '/sys\/ioctl/a ...'. This adds the '#include' line exactly once in the right place.
Note:
See TracTickets
for help on using tickets.
OK, but changing to ioctl.h is slightly easier to read without the backslash.
Fixed at revision 18038.