X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c4f2d992e4a0fc068281376d89ec38de56dc2f58..a63eaefc270aeb69ca3cfb5ca3052294143310a1:/src/mdwopt.c diff --git a/src/mdwopt.c b/src/mdwopt.c index af30491..ad078a5 100644 --- a/src/mdwopt.c +++ b/src/mdwopt.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mdwopt.c,v 1.1 1997/07/21 13:47:47 mdw Exp $ + * $Id: mdwopt.c,v 1.2 1997/08/04 10:24:23 mdw Exp $ * * Options parsing, similar to GNU @getopt_long@ * @@ -22,15 +22,20 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with `mdwopt'; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * along with `mdwopt'; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /*----- Revision history --------------------------------------------------* * * $Log: mdwopt.c,v $ - * Revision 1.1 1997/07/21 13:47:47 mdw - * Initial revision + * Revision 1.2 1997/08/04 10:24:23 mdw + * Sources placed under CVS control. + * + * 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. @@ -57,7 +62,7 @@ #if defined(__riscos) # define PATHSEP '.' -#elif defined(__OS2__) || defined(__MSDOS__) +#elif defined(__OS2__) || defined(__MSDOS__) || defined(__WINNT__) # define PATHSEP '\\' #else /* Assume a sane filing system */ # define PATHSEP '/'