Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] kernel version setting var name

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] kernel version setting var name
  • Date: Wed, 08 Nov 2006 18:40:28 -0800

Juuso Alasuutari wrote:
> I'm in the process of writing new and enhanced get_kernel_* functions for
> the
> grimoires (for querying kernel version and configure info in a spell) [0].
>
> The code has already passed my initial tests. Once it's stable and in
> FUNCTIONS (and the relevant spells have been edited accordingly), users can
> specify in a variable the kernel version that they want to cast spells
> against.
>
> Initially I thought the variable would be called OVERRIDE_KERNEL_VERSION,
> but
> that might be a bit too long. There are other suggestions also:
>
> MY_KERNEL_VERSION
> MY_UNAME_R
> USE_KERNEL_VERSION
> SET_KERNEL_VERSION
>
> I'd like for the community to decide on this. Please tell me your favorites
> and also give new suggestions if you want to. (My personal opinion is that
> the _KERNEL_VERSION suffix should stay, I'd like the var name as
> descriptive
> as possible. But feel free to disagree.)
>
> Thanks.
>
>
> [0] http://bugs.sourcemage.org/show_bug.cgi?id=10940

I believe USE_KERNEL_VERSION is the most appropriate from above.
SET_KERNEL_VERSION sounds as though it's setting the package's version
(or can sound, depending on how you read it ;)).

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/




Archive powered by MHonArc 2.6.24.

Top of Page