Bug 680125 - fallocate has mis-spelled longopt
Summary: fallocate has mis-spelled longopt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: 13
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 12:46 UTC by John Sullivan
Modified: 2011-05-30 14:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-30 14:52:24 UTC
Type: ---


Attachments (Terms of Use)
rename longopt (357 bytes, patch)
2011-02-24 12:51 UTC, John Sullivan
no flags Details | Diff
alternative: add new longopt with correct spelling (323 bytes, patch)
2011-02-24 12:52 UTC, John Sullivan
no flags Details | Diff

Description John Sullivan 2011-02-24 12:46:26 UTC
From ./sys-utils/fallocate.c:

        struct option longopts[] = {
            { "help",      0, 0, 'h' },
            { "keep-size", 0, 0, 'n' },
            { "offset",    1, 0, 'o' },
            { "lenght",    1, 0, 'l' },
            { NULL,        0, 0, 0 }
        };

Oops...

Comment 1 John Sullivan 2011-02-24 12:51:16 UTC
Created attachment 480740 [details]
rename longopt

Fix spelling of length longopt to match manpage, usage text, and the dictionary.

Comment 2 John Sullivan 2011-02-24 12:52:28 UTC
Created attachment 480742 [details]
alternative: add new longopt with correct spelling

This variant accepts either spelling (though the original wasn't documented in either manpage or usage() text.)

Comment 3 Karel Zak 2011-02-24 13:44:32 UTC
It was already fixed by upstream patch:

 commit 042154d764e9dcff1e17b06f09ada0e2c2074f95
 Date:   Wed Nov 24 23:16:01 2010 +0100

The change is already available in Fedora-15. Not sure if this issue is important enough to be backported to F14 and F13.

Comment 4 Bug Zapper 2011-05-30 11:14:35 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.