X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/d0da523a3f8ef2686af201acbcfb9bb85968eca2..657c75463f04c02c1fe70f54a49df7eb32111387:/mdwopt.c diff --git a/mdwopt.c b/mdwopt.c index 167772b..fc76635 100644 --- a/mdwopt.c +++ b/mdwopt.c @@ -1,7 +1,5 @@ /* -*-c-*- * - * $Id: mdwopt.c,v 1.9 2000/10/08 09:57:31 mdw Exp $ - * * Options parsing, similar to GNU @getopt_long@ * * (c) 1996 Straylight/Edgeware @@ -27,69 +25,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: mdwopt.c,v $ - * Revision 1.9 2000/10/08 09:57:31 mdw - * Use a copy of @str_qword@ for word splitting, to handle quotes - * properly. If building in mLib, use the real thing directly rather than - * the copy. - * - * Revision 1.8 1999/08/19 18:35:27 mdw - * Lots of reformatting. Spurious wing comments expunged. - * - * Revision 1.7 1999/06/18 21:59:46 mdw - * Fix stupid bug which only read one word from environment variables. - * - * Revision 1.6 1999/05/20 23:00:42 mdw - * Little formatting things. - * - * Revision 1.5 1999/05/19 20:23:59 mdw - * Change naming to match newer mLib conventions. - * - * Revision 1.4 1999/05/15 10:25:38 mdw - * Fix copyright information. - * - * Revision 1.3 1999/05/14 18:51:42 mdw - * Reformat the LGPL notice slightly. - * - * Revision 1.2 1999/05/13 22:57:23 mdw - * Change `-ise' to `-ize' throughout. - * - * Revision 1.1.1.1 1999/05/05 19:23:47 mdw - * New import. The old CVS repository was lost in a disk disaster. - * - * --- Previous lives --- - * - * %Log: mdwopt.c,v % - * Revision 1.7 1997/09/11 09:19:11 mdw - * (mo__nextWord): Arrrgh. Don't free the environment variable buffer! - * People are still using it! - * - * Revision 1.6 1997/09/11 09:05:54 mdw - * (mo__nextWord): Fix bug which returns too many words from environment - * variables. - * - * Revision 1.5 1997/08/09 20:27:59 mdw - * Fix spelling of `Licensing'. - * - * Revision 1.4 1997/07/29 21:11:35 mdw - * Reformatted. Fixed buffer overflow when dealing with environment - * variables. Included NT in list of daft operating systems with `\' as a - * path separator. Fixed address of the FSF. - * - * Revision 1.3 1997/02/26 00:41:10 mdw - * Added GPL notice to the top. Slight formatting changes. - * - * Revision 1.2 1996/10/28 13:12:13 mdw - * Fixed calls to ctype.h routines. Arguments are cast to unsigned char - * to avoid invoking undefined behaviour caused by signedness of chars. - * - * Revision 1.1 1996/09/24 18:01:28 mdw - * Initial revision - * - */ - /*----- External dependencies ---------------------------------------------*/ #include