summaryrefslogtreecommitdiff
path: root/lib-src/getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+3
|
* Add arch taglineMiles Bader2005-07-271-0/+3
|
* Merge gnulib getopt implementation into Emacs.Paul Eggert2005-07-261-341/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (AUTOCONF_INPUTS): New macro. ($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it, so that these files also depend on m4/getopt.m4. * configure.in: Configure getopt by including m4/getopt.m4, and configuring a getopt replacement if necessary. * make-dist: Add m4 subdirectory. Unlink lib-src/getopt.h. * m4/getopt.m4: New file. * lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t. (GETOPT_H): New macro, from gnulib. (getopt.h): New rule, from gnulib. (GETOPTOBJS): Now autoconfigured. (GETOPTDEPS): getopt.h is now autoconfigured. (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h. (getopt.o): Depend on ${srcdir}/gettext.h. (movemail.o): Depend on $(GETOPT_H). * lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib. * lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h: New files, from gnulib. * lib-src/getopt.h: Removed (now is getopt_.h). * nt/inc/gettext.h: Remove; no longer needed now that lib-src/gettext.h exists. * src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is now part of lib-src.
* Update FSF's address.Lute Kamstra2005-07-041-1/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Do include libintl.h if HAVE_LIBINTL_H.Richard M. Stallman2002-12-091-3/+7
| | | | (_): Test only HAVE_LIBINTL_H to decide what to do.
* Fixed the build error in getopt.c that occured on systems lacking a gettext ↵Ben Key2002-12-071-7/+13
| | | | implementation. Thanks go to Andrew Choi [akochoi@shaw.ca] for this one.
* Comment out include of libintl.h or gettext.h.Richard M. Stallman2002-12-051-0/+2
|
* (const): Move outside !HAVE_CONFIG_H conditional.Richard M. Stallman2002-12-041-93/+317
| | | | | | | | | | | | | | | | | (libintl.h): Include this if _LIBC. Otherwise include gettext.h. (wchar.h): Include, maybe. (attribute_hidden): Define if not defind. (__getopt_initialized): Use attribute_hidden. (__libc_argc, __libc_argv): Renamed from original_argc, etc. (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS. (SWAP_FLAGS): New definitions. (exchange): Test USE_NONOPTION_FLAGS. (_getopt_initialize): Test USE_NONOPTION_FLAGS. (_getopt_internal): Error if argc < 1. New local var print_errors. Improve test for ambiguous long option. Add LIBIO support for error message output. (NONOPTION_P): Test USE_NONOPTION_FLAGS.
* Add support for large files. Merge glibc 2.1.2.Paul Eggert1999-10-191-27/+24
| | | | | | | | | | | | | | | | | | * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2.
* Avoid strneq.Dave Love1999-10-111-2/+2
|
* * Add configure option to enable dmalloc library.Paul D. Smith1999-07-211-2/+2
| | | | * Various code cleanups.
* automatically generated from GPLed versionUlrich Drepper1998-05-191-3/+6
|
* automatically generated from GPLed versionUlrich Drepper1998-04-271-31/+36
|
* automatically generated from GPLed versionUlrich Drepper1998-04-141-7/+7
|
* automatically generated from GPLed versionUlrich Drepper1997-12-041-8/+0
|
* automatically generated from GPLed versionUlrich Drepper1997-11-061-8/+5
|
* automatically generated from GPLed versionPaul Eggert1997-09-111-17/+17
|
* automatically generated from GPLed versionUlrich Drepper1997-09-111-17/+17
|
* automatically generated from GPLed versionPaul Eggert1997-09-111-17/+17
|
* automatically generated from GPLed versionUlrich Drepper1997-09-111-0/+2
|
* Changes for GNU make 3.75.93.Paul D. Smith1997-09-051-1/+1
|
* automatically generated from GPLed versionMiles Bader1997-08-141-17/+17
|
* automatically generated from GPLed versionPaul Eggert1997-08-141-1/+1
|
* automatically generated from GPLed versionPaul Eggert1997-05-271-19/+17
|
* automatically generated from GPLed versionPaul Eggert1997-04-181-0/+1055