Bug 2977 - Wrong opt_complementary string in miscutils/chrt.c
Summary: Wrong opt_complementary string in miscutils/chrt.c
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 21:43 UTC by Davide Viti
Modified: 2010-12-18 02:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
One line patch which fixes the problem (406 bytes, patch)
2010-12-15 21:43 UTC, Davide Viti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Viti 2010-12-15 21:43:07 UTC
Created attachment 2815 [details]
One line patch which fixes the problem

opt_complementary = "-1:r--fo:f--ro:r--fo";
                        ^^^^^       ^^^^^

"r--fo" is repeated twice.

It should look something like this instead:
opt_complementary = "-1:r--fo:f--ro:o--rf";

regards,
Davide
Comment 1 Denys Vlasenko 2010-12-18 02:00:07 UTC
Thanks!

Fixed in git, will be in 1.19.x