on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
-
+
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
lib_LTLIBRARIES = libopts.la
libopts_la_SOURCES = libopts.c
libopts_la_CPPFLAGS = -I$(top_srcdir)
-libopts_la_LDFLAGS = -version-info 27:4:2
+libopts_la_LDFLAGS = -version-info 27:4:3
EXTRA_DIST = \
COPYING.lgpl COPYING.mbsd MakeDefs.inc \
README autoopts/options.h autoopts/usage-txt.h \
/*
- * $Id: autoopts.c,v 4.22 2006/07/15 22:10:21 bkorb Exp $
+ * $Id: autoopts.c,v 4.13 2006/07/15 22:17:36 bkorb Exp $
* Time-stamp: "2006-07-15 13:54:08 bkorb"
*
* This file contains all of the routines that must be linked into
*
* DO NOT EDIT THIS FILE (options.h)
*
- * It has been AutoGen-ed Saturday July 22, 2006 at 08:36:53 AM PDT
+ * It has been AutoGen-ed Saturday September 9, 2006 at 01:15:17 PM PDT
* From the definitions funcs.def
* and the template file options_h
*
const tAoUS default_opt;
};
-#define OPTIONS_STRUCT_VERSION 110594
-#define OPTIONS_VERSION_STRING "27:4:2"
-#define OPTIONS_MINIMUM_VERSION 102400
-#define OPTIONS_MIN_VER_STRING "25:0:0"
+#define OPTIONS_STRUCT_VERSION 110595
+#define OPTIONS_VERSION_STRING "27:4:3"
+#define OPTIONS_MINIMUM_VERSION 98304
+#define OPTIONS_MIN_VER_STRING "24:0:0"
/*
* The procedure generated for translating option text
*
* DO NOT EDIT THIS FILE (usage-txt.h)
*
- * It has been AutoGen-ed Saturday July 22, 2006 at 08:36:51 AM PDT
+ * It has been AutoGen-ed Saturday September 9, 2006 at 01:15:15 PM PDT
* From the definitions usage-txt.def
* and the template file usage-txt.tpl
*
/*
- * $Id: boolean.c,v 4.6 2006/03/25 19:23:28 bkorb Exp $
+ * $Id: boolean.c,v 4.4 2006/03/31 19:52:10 bkorb Exp $
* Time-stamp: "2005-02-14 08:24:12 bkorb"
*
* Automated Options Paged Usage module.
/* --- fake the preprocessor into handlng portability */
/*
- * Time-stamp: "2006-07-15 08:27:23 bkorb"
+ * Time-stamp: "2006-09-07 06:49:09 bkorb"
*
* Author: Gary V Vaughan <gvaughan@oranda.demon.co.uk>
* Created: Mon Jun 30 15:54:46 1997
*
- * $Id: compat.h,v 4.10 2006/07/15 22:10:21 bkorb Exp $
+ * $Id: compat.h,v 4.11 2006/09/07 14:48:05 bkorb Exp $
*/
#ifndef COMPAT_H_GUARD
#define COMPAT_H_GUARD 1
* SYSTEM HEADERS:
*/
#include <sys/types.h>
-#if HAVE_SYS_MMAN_H
+#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#include <sys/param.h>
/*
* Author: Gary V Vaughan <gvaughan@oranda.demon.co.uk>
* Created: Tue Jun 24 15:07:31 1997
- * Last Modified: $Date: 2006/07/15 22:10:21 $
+ * Last Modified: $Date: 2006/08/22 16:09:02 $
* by: bkorb
*
- * $Id: pathfind.c,v 4.6 2006/07/15 22:10:21 bkorb Exp $
+ * $Id: pathfind.c,v 4.7 2006/08/22 16:09:02 bkorb Exp $
*/
/* Code: */
break;
}
}
-
+
closedir( dirP );
if (pathName != NULL)
{
char *result;
int result_len;
-
+
if (!dot_path || *string == '/') {
result = strdup( string );
} else {
if (result[result_len - 1] != '/') {
result[result_len++] = '/';
result[result_len] = '\0';
- }
+ }
} else {
result = malloc( 3 + strlen( string ) );
result[0] = '.'; result[1] = '/'; result[2] = '\0';
/* Prevent inclusion of winsock.h in windows.h */
#ifndef _WINSOCKAPI_
-#define _WINSOCKAPI_
+#define _WINSOCKAPI_
#endif
#ifndef __RPCASYNC_H__
#include <winsock2.h>
/*
- * Compatibility declarations for Windows, assuming SYS_WINNT
+ * Compatibility declarations for Windows, assuming SYS_WINNT
* has been defined.
*/
#define strdup _strdup
#include <io.h>
#define open _open
-#define close _close
+#define close _close
#define read _read
#define write _write
#define lseek _lseek
#define dup2 _dup2
#define O_RDWR _O_RDWR
-#define O_RDONLY _O_RDONLY
+#define O_RDONLY _O_RDONLY
#define O_EXCL _O_EXCL
#ifndef S_ISREG
/*
- * $Id: configfile.c,v 4.23 2006/07/01 21:57:23 bkorb Exp $
+ * $Id: configfile.c,v 1.10 2006/07/14 04:31:37 bkorb Exp $
* Time-stamp: "2006-07-01 12:46:31 bkorb"
*
* configuration/rc/ini file handling.
/*
- * $Id: cook.c,v 4.6 2006/06/24 23:34:51 bkorb Exp $
+ * $Id: cook.c,v 4.4 2006/06/24 23:36:07 bkorb Exp $
* Time-stamp: "2006-06-24 11:29:58 bkorb"
*
* This file contains the routines that deal with processing quoted strings
/*
- * $Id: enumeration.c,v 4.11 2006/06/24 23:34:51 bkorb Exp $
+ * $Id: enumeration.c,v 4.9 2006/06/24 23:36:08 bkorb Exp $
* Time-stamp: "2006-06-24 10:46:02 bkorb"
*
* Automated Options Paged Usage module.
/*
- * $Id: environment.c,v 4.10 2006/03/25 19:23:28 bkorb Exp $
+ * $Id: environment.c,v 4.7 2006/03/31 19:52:10 bkorb Exp $
* Time-stamp: "2005-10-29 13:23:59 bkorb"
*
* This file contains all of the routines that must be linked into
*
* DO NOT EDIT THIS FILE (genshell.c)
*
- * It has been AutoGen-ed Saturday July 22, 2006 at 08:36:53 AM PDT
+ * It has been AutoGen-ed Saturday September 9, 2006 at 01:15:18 PM PDT
* From the definitions genshell.def
* and the template file options
*/
*
* DO NOT EDIT THIS FILE (genshell.h)
*
- * It has been AutoGen-ed Saturday July 22, 2006 at 08:36:53 AM PDT
+ * It has been AutoGen-ed Saturday September 9, 2006 at 01:15:18 PM PDT
* From the definitions genshell.def
* and the template file options
*/
#define GENSHELLOPT_FULL_VERSION "genshellopt - Generate Shell Option Processing Script - Ver. 1"
/*
- * Interface defines for all options. Replace "n" with
- * the UPPER_CASED option name (as in the teOptIndex
- * enumeration above). e.g. HAVE_OPT( SCRIPT )
+ * Interface defines for all options. Replace "n" with the UPPER_CASED
+ * option name (as in the teOptIndex enumeration above).
+ * e.g. HAVE_OPT( SCRIPT )
*/
-#define DESC(n) genshelloptOptions.pOptDesc[INDEX_OPT_ ## n]
+#define DESC(n) genshelloptOptions.pOptDesc[INDEX_OPT_ ## n]
#define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n)))
#define OPT_ARG(n) (DESC(n).pzLastArg)
#define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK)
genshelloptOptions.pzCurOpt = NULL )
#define START_OPT RESTART_OPT(1)
#define USAGE(c) (*genshelloptOptions.pUsageProc)( &genshelloptOptions, c )
-/* extracted from opthead near line 288 */
+/* extracted from opthead near line 311 */
/* * * * * *
*
/*
- * $Id: load.c,v 4.23 2006/07/01 21:57:23 bkorb Exp $
+ * $Id: load.c,v 4.11 2006/07/14 04:31:37 bkorb Exp $
* Time-stamp: "2006-07-01 12:43:03 bkorb"
*
* This file contains the routines that deal with processing text strings
dnl
dnl DO NOT EDIT THIS FILE (libopts.m4)
dnl
-dnl It has been AutoGen-ed Saturday August 12, 2006 at 10:36:56 AM PDT
+dnl It has been AutoGen-ed Saturday September 9, 2006 at 01:15:14 PM PDT
dnl From the definitions libopts.def
dnl and the template file conftest.tpl
dnl
/*
- * $Id: makeshell.c,v 4.14 2006/07/27 02:51:47 bkorb Exp $
+ * $Id: makeshell.c,v 4.10 2006/07/27 02:59:08 bkorb Exp $
* Time-stamp: "2006-07-24 21:30:51 bkorb"
*
* This module will interpret the options set in the tOptions
/*
- * $Id: nested.c,v 4.9 2006/03/25 19:23:28 bkorb Exp $
+ * $Id: nested.c,v 4.4 2006/03/31 19:52:10 bkorb Exp $
* Time-stamp: "2005-07-27 10:10:28 bkorb"
*
* Automated Options Nested Values module.
/*
- * $Id: numeric.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ * $Id: numeric.c,v 4.5 2006/03/31 19:52:10 bkorb Exp $
* Time-stamp: "2005-02-14 08:22:56 bkorb"
*/
/*
- * $Id: pgusage.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
+ * $Id: pgusage.c,v 4.10 2006/07/16 15:29:31 bkorb Exp $
* Time-stamp: "2006-07-16 08:13:26 bkorb"
*
* Automated Options Paged Usage module.
/* -*- buffer-read-only: t -*- vi: set ro:
*
* Prototypes for autoopts
- * Generated Thu Jul 27 21:15:11 PDT 2006
+ * Generated Sat Sep 9 13:16:02 PDT 2006
*/
#ifndef AUTOOPTS_PROTO_H_GUARD
#define AUTOOPTS_PROTO_H_GUARD 1
/*
- * $Id: putshell.c,v 4.12 2006/07/16 15:27:50 bkorb Exp $
+ * $Id: putshell.c,v 4.9 2006/07/16 15:29:31 bkorb Exp $
* Time-stamp: "2006-07-16 08:13:24 bkorb"
*
* This module will interpret the options set in the tOptions
/*
- * restore.c $Id: restore.c,v 4.7 2006/03/25 19:23:28 bkorb Exp $
+ * restore.c $Id: restore.c,v 4.5 2006/03/31 19:52:11 bkorb Exp $
* Time-stamp: "2005-02-23 15:10:20 bkorb"
*
* This module's routines will save the current option state to memory
/*
- * save.c $Id: save.c,v 4.16 2006/07/16 15:27:50 bkorb Exp $
+ * save.c $Id: save.c,v 4.8 2006/07/16 15:29:31 bkorb Exp $
* Time-stamp: "2006-07-16 08:13:22 bkorb"
*
* This module's routines will take the currently set options and
/*
- * sort.c $Id: sort.c,v 4.10 2006/06/24 23:34:51 bkorb Exp $
+ * sort.c $Id: sort.c,v 4.7 2006/06/24 23:36:08 bkorb Exp $
* Time-stamp: "2006-06-24 10:53:35 bkorb"
*
* This module implements argument sorting.
/*
* stack.c
- * $Id: stack.c,v 4.10 2006/07/14 04:20:17 bkorb Exp $
+ * $Id: stack.c,v 4.7 2006/07/14 04:31:38 bkorb Exp $
* Time-stamp: "2006-07-13 21:11:29 bkorb"
*
* This is a special option processing routine that will save the
/*
- * $Id: streqvcmp.c,v 4.10 2006/07/27 02:51:47 bkorb Exp $
+ * $Id: streqvcmp.c,v 4.7 2006/07/27 02:59:08 bkorb Exp $
* Time-stamp: "2006-07-26 18:25:53 bkorb"
*
* String Equivalence Comparison
/*
- * $Id: text_mmap.c,v 4.11 2006/06/24 23:34:51 bkorb Exp $
+ * $Id: text_mmap.c,v 4.10 2006/08/22 16:09:02 bkorb Exp $
*
- * Time-stamp: "2006-06-24 10:54:43 bkorb"
+ * Time-stamp: "2006-08-22 07:17:49 bkorb"
*/
-#ifndef MAP_ANONYMOUS
-# ifdef MAP_ANON
-# define MAP_ANONYMOUS MAP_ANON
-# endif
-#endif
+#ifndef MAP_ANONYMOUS
+# ifdef MAP_ANON
+# define MAP_ANONYMOUS MAP_ANON
+# endif
+#endif
/*
* Some weird systems require that a specifically invalid FD number
-/* $Id: version.c,v 4.9 2006/07/27 02:51:47 bkorb Exp $
+/* $Id: version.c,v 4.7 2006/07/27 02:59:08 bkorb Exp $
* Time-stamp: "2006-07-26 18:38:16 bkorb"
*
* This module implements the default usage procedure for