"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_aux/iselect/iselect_main.c" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

iselect_main.c  (wml-2.28.0.tar.xz):iselect_main.c  (wml-2.30.0.tar.xz)
/* _ ____ _ _ /* iSelect -- Interactive Selection Tool
** (_) ___| ___| | ___ ___| |_
** / /\___ \ / _ \ |/ _ \/ __| __|
** / / ___) | __/ | __/ (__| |_
** (_( |____/ \___|_|\___|\___|\__|
**
** iSelect -- Interactive Selection Tool
** **
** iSelect is a Curses-based tool for interactive line selection ** iSelect is a Curses-based tool for interactive line selection
** in an ASCII file via a full-screen terminal session. ** in an ASCII file via a full-screen terminal session.
** **
** ====================================================================== ** ======================================================================
** **
** Copyright (c) 1996-1999 Ralf S. Engelschall. ** Copyright (c) 1996-1999 Ralf S. Engelschall.
** **
** This program is free software; it may be redistributed and/or ** This program is free software; it may be redistributed and/or
** modified only under the terms of the GNU General Public License, ** modified only under the terms of the GNU General Public License,
skipping to change at line 41 skipping to change at line 35
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include "iselect_global.h" #include "iselect_global.h"
#include "getopt.h" #include "getopt.h"
#include "iselect_browse.h" #include "iselect_browse.h"
#include "iselect_keys.h" #include "iselect_keys.h"
#define _ISELECT_VERSION_C_AS_HEADER_
#include "iselect_version.c"
#undef _ISELECT_VERSION_C_AS_HEADER_
void give_version(char *name); void give_version(char *name);
void give_usage(char *name); void give_usage(char *name);
void give_version(char *name) void give_version(char *name)
{ {
fprintf(stderr, "%s\n", iselect_version.v_tex); fprintf(stderr, "%s\n", "This is iSelect, Version 1.2.0 (01-Jul-2000)");
fprintf(stdout, "\n"); fprintf(stdout, "\n");
fprintf(stdout, "Copyright (c) 1996,1997,1998 Ralf S. Engelschall.\n"); fprintf(stdout, "Copyright (c) 1996,1997,1998 Ralf S. Engelschall.\n");
fprintf(stdout, "\n"); fprintf(stdout, "\n");
fprintf(stdout, "This program is distributed in the hope that it will be use ful,\n"); fprintf(stdout, "This program is distributed in the hope that it will be use ful,\n");
fprintf(stdout, "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"); fprintf(stdout, "but WITHOUT ANY WARRANTY; without even the implied warranty of\n");
fprintf(stdout, "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See t he\n"); fprintf(stdout, "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See t he\n");
fprintf(stdout, "GNU General Public License for more details.\n"); fprintf(stdout, "GNU General Public License for more details.\n");
fprintf(stdout, "\n"); fprintf(stdout, "\n");
} }
skipping to change at line 294 skipping to change at line 285
write(fpStdout, ca, strlen(ca)); write(fpStdout, ca, strlen(ca));
} }
} }
} }
else { else {
if (abortstr != NULL) if (abortstr != NULL)
write(fpStdout, abortstr, strlen(abortstr)); write(fpStdout, abortstr, strlen(abortstr));
} }
exit(0); exit(0);
} }
/*EOF*/
 End of changes. 4 change blocks. 
11 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)