Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8606 closed defect (fixed)

cdrdao-1.2.3: sed script pattern is too promiscuous.

Reported by: Jeremy Henty Owned by: blfs-book@…
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.

Change History (2)

comment:1 by bdubbs@…, 7 years ago

Resolution: fixed
Status: newclosed

OK, but changing to ioctl.h is slightly easier to read without the backslash.

Fixed at revision 18038.

comment:2 by bdubbs@…, 7 years ago

Milestone: 7.118.0

Milestone renamed

Note: See TracTickets for help on using tickets.