[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH 01/14] main: make program_name not static
From: |
Darshit Shah |
Subject: |
Re: [Bug-wget] [PATCH 01/14] main: make program_name not static |
Date: |
Thu, 12 Jun 2014 00:04:19 +0530 |
On Wed, Jun 11, 2014 at 8:35 PM, <address@hidden> wrote:
> From: Giuseppe Scrivano <address@hidden>
>
> ---
> src/ChangeLog | 2 ++
> src/main.c | 6 ++----
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/ChangeLog b/src/ChangeLog
> index 5ebeaf3..f93cd70 100644
> --- a/src/ChangeLog
> +++ b/src/ChangeLog
> @@ -1,5 +1,7 @@
> 2014-06-08 Giuseppe Scrivano <address@hidden>
>
> + * main.c: Make `program_name' not static.
> +
> * cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is
> defined.
>
You probably wanted to add a new ChangeLog entry here.
> 2014-05-30 Darshit Shah <address@hidden>
> diff --git a/src/main.c b/src/main.c
> index 4b23053..38a32ff 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -1,7 +1,5 @@
> /* Command line parsing.
> - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
> - 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
> - Inc.
> + Copyright (C) 1996-2014 Free Software Foundation, Inc.
>
> This file is part of GNU Wget.
>
> @@ -979,7 +977,7 @@ There is NO WARRANTY, to the extent permitted by
> law.\n"), stdout) < 0)
> exit (0);
> }
>
> -static char *program_name; /* Needed by lib/error.c. */
> +char *program_name; /* Needed by lib/error.c. */
> char *program_argstring; /* Needed by wget_warc.c. */
>
> int
> --
> 1.9.3
>
>
--
Thanking You,
Darshit Shah
- [Bug-wget] [PATCH 00/14] fix "make syntax-check", gscrivano, 2014/06/11
- [Bug-wget] [PATCH 01/14] main: make program_name not static, gscrivano, 2014/06/11
- Re: [Bug-wget] [PATCH 01/14] main: make program_name not static,
Darshit Shah <=
- [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 03/14] Do not include strings.h, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 06/14] Remove trailing whitespaces, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 04/14] Drop usage of strncpy, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 08/14] Remove trailing empty lines, gscrivano, 2014/06/11
- [Bug-wget] [PATCH 09/14] Replace @VAR@ in Makefile.am files with $VAR, gscrivano, 2014/06/11