FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 03-02-2011, 01:01 PM
Martin Gracik
 
Default Fix setting of loaderData->method from repo= cmdline option.

ack

On Wed, 2011-03-02 at 13:54 +0100, Radek Vykydal wrote:
> There was double "repo=" if branch. The second one (few lines
> below the removed) is the right one.
> ---
> loader/loader.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/loader/loader.c b/loader/loader.c
> index 737386c..f30adb9 100644
> --- a/loader/loader.c
> +++ b/loader/loader.c
> @@ -1060,8 +1060,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
> } else if (!strcasecmp(k, "method")) {
> logMessage(WARNING, "method= is deprecated. Please use repo= instead.");
> loaderData->instRepo = g_strdup(v);
> - } else if (!strcasecmp(k, "repo")) {
> - loaderData->instRepo = g_strdup(v);
> } else if (!strcasecmp(k, "stage2")) {
> logMessage(WARNING, "stage2= is deprecated. Please use repo= instead.");
> flags |= LOADER_FLAGS_ASKMETHOD;

--
Martin Gracik <mgracik@redhat.com>

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-02-2011, 01:01 PM
Martin Gracik
 
Default Fix setting of loaderData->method from repo= cmdline option.

ack

On Wed, 2011-03-02 at 13:54 +0100, Radek Vykydal wrote:
> There was double "repo=" if branch. The second one (few lines
> below the removed) is the right one.
> ---
> loader/loader.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/loader/loader.c b/loader/loader.c
> index 737386c..f30adb9 100644
> --- a/loader/loader.c
> +++ b/loader/loader.c
> @@ -1060,8 +1060,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
> } else if (!strcasecmp(k, "method")) {
> logMessage(WARNING, "method= is deprecated. Please use repo= instead.");
> loaderData->instRepo = g_strdup(v);
> - } else if (!strcasecmp(k, "repo")) {
> - loaderData->instRepo = g_strdup(v);
> } else if (!strcasecmp(k, "stage2")) {
> logMessage(WARNING, "stage2= is deprecated. Please use repo= instead.");
> flags |= LOADER_FLAGS_ASKMETHOD;

--
Martin Gracik <mgracik@redhat.com>

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org