~ubuntu-branches/ubuntu/wily/man-db/wily-proposed

« back to all changes in this revision

Viewing changes to gnulib/lib/argp-parse.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-24 11:34:02 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130624113402-6xdn53l2p9qu8yus
Tags: 2.6.4-1
* New upstream release:
  - Document default section list in manual pages (closes: #611007).
  - Quieten most warnings from compiling Gnulib (closes: #668429).
  - The MANLESS environment variable is now treated as if it were a
    default value for the -r option to man: occurrences of the text
    "$MAN_PN" are expanded, and explicitly using the -r option overrides
    the default (closes: #690831).
* Use 'set -e' rather than '#! /bin/sh -e' in maintainer scripts.
* Remove maintainer script support for direct upgrades from pre-etch
  (three releases before current stable).
* Breaks/Replaces manpages-zh (<< 1.5.2-1.1); man-db now ships zh_CN
  translations formerly included there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Hierarchical argument parsing, layered over getopt
2
 
   Copyright (C) 1995-2000, 2002-2004, 2009-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 1995-2000, 2002-2004, 2009-2013 Free Software Foundation, Inc.
3
3
   This file is part of the GNU C Library.
4
4
   Written by Miles Bader <miles@gnu.ai.mit.edu>.
5
5
 
880
880
#ifndef _LIBC
881
881
  if (!(flags & ARGP_PARSE_ARGV0))
882
882
    {
883
 
#ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME
 
883
#if HAVE_DECL_PROGRAM_INVOCATION_NAME
884
884
      if (!program_invocation_name)
885
885
        program_invocation_name = argv[0];
886
886
#endif
887
 
#ifdef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
 
887
#if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
888
888
      if (!program_invocation_short_name)
889
889
        program_invocation_short_name = __argp_base_name (argv[0]);
890
890
#endif