Page MenuHomeFreeBSD

libopencsd: Remove extra slashes
ClosedPublic

Authored by jlduran on Sat, Feb 1, 4:21 AM.
Tags
None
Referenced Files
F109608409: D48779.id150322.diff
Fri, Feb 7, 9:28 AM
F109600011: D48779.id.diff
Fri, Feb 7, 6:56 AM
F109584228: D48779.id150466.diff
Fri, Feb 7, 1:26 AM
F109569646: D48779.diff
Thu, Feb 6, 8:27 PM
Unknown Object (File)
Tue, Feb 4, 2:50 PM
Subscribers

Details

Summary

Remove extra slashes that end up in the metalog. These double slashes
can produce an invalid specification file if there are subdirectories
down the hierarchy when sorted.

For example, consider the following metalog excerpt:

./base/aaa type=dir
./base//aaa/bbb type=dir

If sorted, would turn out:

./base//aaa/bbb type=dir
./base/aaa type=dir

Apparently missing the ./base/aaa directory in the specification.

Luckily here are no subdirectories.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable