aboutsummaryrefslogtreecommitdiffstats
path: root/libversit/vctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'libversit/vctest.c')
-rw-r--r--libversit/vctest.c95
1 files changed, 0 insertions, 95 deletions
diff --git a/libversit/vctest.c b/libversit/vctest.c
deleted file mode 100644
index 7975d1e200..0000000000
--- a/libversit/vctest.c
+++ /dev/null
@@ -1,95 +0,0 @@
-
-#include <stdio.h>
-#include <string.h>
-#include "vcc.h"
-
-FILE *cfp;
-
-void myMimeErrorHandler(char *s)
-{
- printf("%s\n", s);
-}
-
-void main(int argc, char **argv)
-{
- int testmem = 0;
-
- char * foo[2] = {"foo","alden.vcf"};
-
-argc = 2;
-argv = foo;
-
-#ifdef _CONSOLE
- cfp = stdout;
- registerMimeErrorHandler(myMimeErrorHandler);
-#else
- cfp = fopen("vctest.out", "w");
- if (!cfp) return;
-#endif
- ++argv;
- while (--argc) {
- FILE *fp;
- if (strcmp(*argv,"-testmem") == 0) {
- testmem = 1;
- argv++;
- continue;
- }
- fprintf(cfp,"processing %s\n",*argv);
- fp = fopen(*argv,"r");
- if (!fp) {
- fprintf(cfp,"error opening file\n");
- }
- else {
- VObject *v, *t;
- FILE *ofp;
- char buf[256];
- char *p;
- strcpy(buf,*argv);
- p = strchr(buf,'.');
- if (p) *p = 0;
- strcat(buf,".out");
- fprintf(cfp,"reading text input from '%s'...\n", *argv);
- /*v = Parse_MIME_FromFile(fp); */
- v = Parse_MIME_FromFileName(*argv);
- writeVObjectToFile(buf,v);
- cleanVObject(v);
-
- /*
- fprintf(cfp,"pretty print internal format of '%s'...\n", *argv);
- ofp = fopen(buf,"w");
- while (v) {
- printVObject(cfp,v);
- if (testmem) {
- char *s, *p;
- fprintf(cfp,"test writing to mem...\n");
- p = s = writeMemVObject(0,0,v);
- if (s) {
- while (*s) {
- fputc(*s,ofp);
- s++;
- }
- free(p);
- }
- }
- else {
- writeVObject(ofp,v);
- }
- t = v;
- v = nextVObjectInList(v);
- cleanVObject(t);
- }
-
- fclose(ofp);
- fclose(fp);
- */
- }
-
- cleanStrTbl();
- argv++;
-
- }
-
- if (cfp != stdout) fclose(cfp);
-
-}
-
ions'>+11 * Fix the build with goffice 0.7.5.marcus2009-05-031-0/+11 * Chase the goffice update.marcus2009-05-032-4/+4 * - Update to 1.1.0miwi2009-05-014-42/+7 * Update to 2.2.1makc2009-04-266-20/+23 * Fix build with NOPORTDOCS, NOPORTEXAMPLES.maho2009-04-241-2/+2 * Machine Learning PY (mlpy) is a high-performance Python package formiwi2009-04-245-0/+125 * Update to 3.4.0.maho2009-04-217-720/+862 * Fix build on amd64.maho2009-04-132-0/+22 * - Update to 6.02leeym2009-04-122-22/+11 * 2009-03-22 science/oof: Broken with GCC 4.2 and beyondmiwi2009-04-114-90/+0 * - Fix DEPRECATED outputmiwi2009-04-111-0/+1 * - Upgrade to 5.7.3thierry2009-04-106-26/+208 * - Update maintainer mail addressdhn2009-04-064-4/+4 * Use NOPORTEXAMPLES and %%PORTEXAMPLES%% where appropiate to fix packaging withitetcu2009-04-052-39/+39 * - Update to 2.89rafan2009-04-012-4/+4 * - Allow to build with MAKE_JOBS_SAFEmiwi2009-03-312-1/+2 * Chase the goffice update.marcus2009-03-282-5/+5 * - Fix for new ruby-gettextpav2009-03-251-3/+3 * bump PORTREVISION after cmake updatemakc2009-03-252-2/+2 * - Update to 0.98miwi2009-03-242-4/+4 * - Upgrade to 5.6.5;thierry2009-03-246-471/+2467 * - Fix Fortran linkingpav2009-03-234-2/+26 * Geo::ReadGRIB is an object Perl module that provides readmiwi2009-03-225-0/+44 * Update to 1.6.11.maho2009-03-174-17/+16 * Fix plist with -DNOPORTDOCS.thierry2009-03-171-1/+1 * - Update to 11.6.17miwi2009-03-172-5/+5 * Mark as broken on sparc64: fails to compile.linimon2009-03-161-0/+4 * Mark broken: fails to compile on i386 and sparc64.linimon2009-03-161-0/+2 * Brian is a simulator for spiking neural networks available on almost allmiwi2009-03-165-0/+263 * - Mark BROKEN: does not compile (../include/ecif_userinterface_TCL.h:41:17:pav2009-03-131-0/+2 * Upgrade to version 3.4.3.thierry2009-03-072-4/+4 * - Use my FreeBSD address on the ports I maintaindhn2009-03-071-1/+1 * - Mark BROKEN on FreeBSD 6.x, does not compilepav2009-03-031-1/+7 * PsychoPy is an open-source package for creating psychology stimulimiwi2009-03-015-0/+326 * - Update to 0.7.0miwi2009-03-012-7/+5 * - Update to 4.0.3miwi2009-03-019-258/+251 * - Update description to reflect realityrafan2009-02-251-13/+22 * Chase the goffice update.marcus2009-02-242-4/+5 * netCDF version 4 has many features not found in earlier versions of themiwi2009-02-245-0/+56 * - Change default Tcl/Tk version to 8.5mm2009-02-231-1/+1 * Mark unconditionally BROKEN, EXPIRATION_DATE=2009-03-22.gerald2009-02-221-4/+3 * Use my @FreeBSD.org email for the rest of my portsmakc2009-02-214-4/+4 * - Mark as UNBROKEN on AMD64.araujo2009-02-201-9/+1 * - Mark as BROKEN, both doesn't compile on amd64.araujo2009-02-192-4/+9 * Fix build with gcc43.maho2009-02-171-0/+11 * Fix build with gcc43.maho2009-02-141-0/+20 * Fix build with gcc43.maho2009-02-141-0/+21 * - Pass maintainership along.wxs2009-02-132-2/+2 * - Update ImageMagick to 6.4.9.2mm2009-02-111-2/+2 * Mark BROKEN.gerald2009-02-081-0/+2 * No longer pass FC, F77 and FFLAGS to CONFIGURE_ENV; this is now done viagerald2009-02-071-4/+2 * Remove obsolete comment.gerald2009-02-021-1/+1 * Update to 1.1.4maho2009-02-022-5/+4 * - Update to 1.3.0chinsan2009-02-012-19/+48 * - Distfile rerolled with minor change to configure scriptpav2009-01-313-5/+5 * - Update download location, update WWWpav2009-01-312-2/+2 * Update my email address to @FreeBSD.org.beat2009-01-291-1/+1 * Upgrade to 1.3.3.thierry2009-01-277-14/+50 * Upgrade to 1.3.3 and use gfortran43.thierry2009-01-276-128/+114 * Upgrade to 0.12.0.thierry2009-01-274-6/+12 * Upgrade to 1.0.8.thierry2009-01-273-5/+5 * Fix science/afni after X.org 7.4 import (needs Xi).flz2009-01-241-1/+2 * - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-246-10/+11 * - Chase lang/guile shlib bumpmiwi2009-01-231-2/+2 * - Chase lang/guile shlib bumpmiwi2009-01-231-2/+2 * - We need use FCFLAGS to build it in AMD64 and IA64.araujo2009-01-211-2/+2 * - No longer pass FC, F77 and FFLAGS to CONFIGURE_ENV; this is nowaraujo2009-01-215-5/+0 * - Use USE_FORTRAN knobamdmi32009-01-201-6/+2 * . Update to 1.12.9.glewis2009-01-202-5/+4 * - Fix OPTIONS processingpav2009-01-201-1/+3 * Leverage USE_FORTRAN instead of accomplishing the same manually.gerald2009-01-191-5/+1 * Do not explicitly pass F77 and FFLAGS to CONFIGURE_ENV, this is now donegerald2009-01-181-1/+1 * No longer pass FC, F77 and FFLAGS to CONFIGURE_ENV; this is now done viagerald2009-01-181-1/+0 * No longer pass FC, F77 and FFLAGS to CONFIGURE_ENV; this is now done viagerald2009-01-181-1/+0 * - Actually mark it broken on FreeBSD 6.xpav2009-01-181-1/+1 * - add LICENSE:dinoex2009-01-172-0/+4 * pydicom is a pure python package for working with DICOM files. It wasmiwi2009-01-165-0/+187 * - Fix shlib symlinkpav2009-01-161-2/+2 * - Mark BROKEN on FreeBSD 6.x: does not compilepav2009-01-151-0/+4 * - Fix plistpav2009-01-142-1/+3 * - Update to 0.9.2miwi2009-01-143-82/+52 * Bump port revision by the former commit.maho2009-01-141-0/+1 * Support shared lib by tewaking.maho2009-01-142-8/+33 * - Update to 0.10.3pav2009-01-147-380/+904 * - Remove science/gchempaint, it has been integrated into science/gchemutilspav2009-01-145-192/+0 * Update to 42r3 and unbreak for 7.maho2009-01-137-657/+21 * - Chase gsl shlib bumpmiwi2009-01-134-6/+8 * Update to 1.5.3.trasz2009-01-133-8/+9 * Remove CONFIGURE_ENVmaho2009-01-124-5/+0 * - Fix build with gfortran43pav2009-01-111-1/+2 * Switch to USE_FORTRAN.thierry2009-01-101-5/+1 * No longer pass FC, F77 and FFLAGS to CONFIGURE_ENV, this is now done viagerald2009-01-101-2/+1 * - Unbreak distinfo after portrevision bumppav2009-01-101-1/+1 * - fix inappropriate use of NO* varsstefan2009-01-092-28/+32 * - update to 1.6.0stefan2009-01-093-256/+221 * Bump PORTREVISION due to change of USE_FORTRAN=yes to GCC 4.3.gerald2009-01-0832-25/+32 * - Mark BROKEN: bad depobj in java3d linepav2009-01-071-0/+2 * - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-072-5/+1 * - remove unnecessary stripchinsan2009-01-023-14/+79 * - Remove unused pkgmessage.chinsan2009-01-021-3/+0 * - Attach science/netcdf4chinsan2009-01-011-0/+1 * - Update science/netcdf4 to 4.0chinsan2009-01-015-61/+104 * Mark BROKEN on HEAD after the import of strndup(3).pav2008-12-271-0/+4 * - Fix buildmiwi2008-12-251-0/+3 * - Update to 0.2.0miwi2008-12-234-13/+18 * - Update to 2.0.4.2miwi2008-12-232-4/+4 * - Update to 1.33rafan2008-12-222-4/+4 * - Add OCFLAGS to make CFLAGS the same as distribution's by defaultrafan2008-12-222-9/+7 * - Update to 2.88rafan2008-12-223-11/+11 * Fix plist.stefan2008-12-222-1/+1 * Update to 3.0.4.stefan2008-12-223-7/+40 * Reset quakelee@cn.FreeBSD.org due to maintainer-timeouts and no responselinimon2008-12-161-1/+1 * - Update to 2.0.4.1miwi2008-12-132-5/+5 * - Update to 2.4miwi2008-12-123-8/+66 * Upgrade to 3.4.2.thierry2008-12-112-4/+4 * Update to 1.5.2.trasz2008-12-072-5/+4 * - Update to 1.2.1chinsan2008-11-262-4/+4 * - Connect hdf5-18miwi2008-11-241-0/+1 * - Update to 1.8.2miwi2008-11-2410-247/+100 * - Update to 1.6.8miwi2008-11-246-16/+8 * Fix plist with NOPORTEXAMPLES.thierry2008-11-221-0/+3 * Fix typo in previous commit and fix pist.itetcu2008-11-221-1/+1