~ubuntu-branches/ubuntu/lucid/loop-aes-utils/lucid-security

« back to all changes in this revision

Viewing changes to getopt/getopt.c

  • Committer: Bazaar Package Importer
  • Author(s): Max Vozeler
  • Date: 2008-08-22 11:57:17 UTC
  • mfrom: (8.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080822115717-v8wfa8pxwlfvyje0
Tags: 2.13.1-4
* patches/losetup_add_option_f.dpatch: 
  - Added to support "find next free loop" in losetup.
    (closes: #495682)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    getopt.c - Enhanced implementation of BSD getopt(1)
3
 
    Copyright (c) 1997, 1998, 1999, 2000  Frodo Looijaard <frodol@dds.nl>
 
3
    Copyright (c) 1997-2005 Frodo Looijaard <frodo@frodo.looijaard.name>
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
6
6
    it under the terms of the GNU General Public License as published by
35
35
 * Version 1.1.0: Tue Jun 30 2000
36
36
 *   Added NLS support (partly written by Arkadiusz Mi<B6>kiewicz 
37
37
 *     <misiek@pld.org.pl>)
 
38
 * Version 1.1.4: Mon Nov 7 2005
 
39
 *   Fixed a few type's in the manpage
38
40
 */
39
41
 
40
42
#include <stdio.h>
441
443
                        quote=0;
442
444
                        break;
443
445
                case 'V':
444
 
                        printf(_("getopt (enhanced) 1.1.3\n"));
 
446
                        printf(_("getopt (enhanced) 1.1.4\n"));
445
447
                        exit(0);
446
448
                case '?':
447
449
                case ':':