[SM-Grimoire-Bugs] [Bug 14631] Duplicate functions in grimoire-level FUNCTIONS file

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Mon Aug 11 19:09:56 EDT 2008


http://bugs.sourcemage.org/show_bug.cgi?id=14631


Eric Sandall <sandalle at sourcemage.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandalle at sourcemage.org




--- Comment #1 from Eric Sandall <sandalle at sourcemage.org>  2008-08-11 18:09:55 ---
I only see two, but your point still holds. ;)

$ grep  get_kernel_version FUNCTIONS
function get_kernel_version()
        local KVER=$(get_kernel_version)
function get_kernel_version()

$ grep get_running_kernel_config FUNCTIONS
function get_running_kernel_config()
function get_running_kernel_config()
    get_sorcery_kernel_config "$1" || get_running_kernel_config "$1"

$ grep get_sorcery_kernel_config FUNCTIONS
function get_sorcery_kernel_config()
function get_sorcery_kernel_config()
    get_sorcery_kernel_config "$1" || get_running_kernel_config "$1"

Looks like the first function of get_kernel_version, first of
get_running_kernel_config, and the second of get_sorcery_kernel_config are more
complicated versions. Complicated does not always mean better, though they look
more complete at a glance.


-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list