#include #include #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); } value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Expand)AuthorAgeFilesLines
* Construct permanent links to the error logs here too.kris2004-12-051-4/+4
* Copy the statically-linked binaries from /rescue on the host, insteadkris2004-12-051-4/+11
* Be silent about attempts to unmount filesystems from within the chrootkris2004-12-051-4/+4
* Clean up the symlink in ${pb}/${arch}/${branch}/latest/${dir} when we findkris2004-11-251-0/+5
* If sudo_cmd is set, assume we need to chown the files we created onkris2004-11-251-0/+3
* Rework the -incremental support slightly; this should now be robust enoughkris2004-11-251-3/+5
* Catch up to the changed format of the logs.kris2004-11-251-4/+4
* * Recursively list all files detected as having been left behind afterkris2004-11-251-7/+22
* * Fix INDEX build if MAINTAINER is not defined. [1]krion2004-11-191-0/+47
* Newline should go after the terminating punctuation (fix typo).dd2004-11-071-1/+1
* Fix a couple of bugs in the extraction of this from dopackages, andkris2004-10-251-33/+20
* Redefine the -norestr option to mean 'don't build the list ofkris2004-10-251-78/+73
* If the symlink under latest/ exists, then use that to find the most recentkris2004-10-251-1/+6
* We now also do 6.x builds in the '6' branch.kris2004-10-251-3/+3
* Use the absolute path to nc(1) to deal with it not being in the PATH.kris2004-10-251-3/+1
* Clean up the 'latest error log' symlink when the build is successful.kris2004-10-251-0/+4
* When a port build fails, create a symlink to the error log underkris2004-10-251-3/+4
* Strip out date/time from +++/--- headers in generated patchfiles, so that theysobomax2004-10-141-11/+12
* Support ${client_user} and ${sudo_cmd} for running commands as root onkris2004-09-271-1/+5
* * Break out setupnode into the dosetupnode script so it may be calledkris2004-09-271-37/+3
* Break out the setupnode function of dopackages into a separate script sokris2004-09-271-0/+47
* * Bail out if we can't claim a chroot directory in the client (e.g. ifkris2004-09-271-13/+17
* Refuse to "clean" / if something goes wrong upstream and we are passedkris2004-09-271-0/+5
* Pull in portbuild.$(hostname) for per-client customizationkris2004-09-271-1/+3
* Support 6.x buildskris2004-09-272-1/+5
* * Support 6.x buildskris2004-09-271-2/+12
* Use a consistent PATH in both portbuild and dopackages.marcus2004-08-281-1/+1
* Avoid possible GNATS timeouts by using query-pr.real direclty.krion2004-07-281-1/+1
* Clean up the specified chroot (umount filesystems, and scrub thekris2004-07-141-0/+36
* Atomically claim an unused chroot directory. The previous algorithmkris2004-07-141-0/+52
* Bump up the cleanup timeout to directories that have been in use forkris2004-07-141-3/+3
* Back out the attempt to list the error type in the failure summary;kris2004-07-141-14/+1
* Generate permanent URLs in the error reports. The directories likekris2004-07-141-1/+10
* * Add support for ${TRYBROKEN}.kris2004-07-141-6/+67
* * Add a cleanup() function and use it so that we archive the ${WRKDIR}kris2004-07-141-68/+122
* * Remove the quickports stuff, it didn't (ever?) work as designed andkris2004-07-141-112/+156
* Parse the slightly-different format of the build logs.kris2004-07-141-1/+1
* Parse the slightly-different format of the build logs.kris2004-07-141-3/+3
* * Accept another argument, the value of the disconnected variable thatkris2004-07-141-25/+25
* Allow local customization of the node using the portbuild.$(hostname) file.kris2004-07-141-0/+1
* Send me mail when a previously-broken port builds successfully.kris2004-07-141-2/+5
* * Initial support for disconnected nodes (not on same LAN as buildkris2004-07-141-83/+88
* Hack around the sparc64 64-bit time_t test in 'installworld' sincekris2004-07-141-0/+1
* * Break out the 'parallel' target from /usr/ports/Makefile. Onekris2004-07-141-6/+40
* Set INDEX_JOBS to control index build concurrencykris2004-07-141-0/+3
* Drop the ignorelist concurrency back to 1 because I'm occasionally seeingkris2004-07-141-1/+1
* * If we time out connecting to a machine, give it a weight of 999 to makekris2004-07-141-2/+2
* Chase bento to pointyhatkris2004-07-141-1/+1
* * Be even more explicit about partial ports trees being unsupportedkris2004-07-141-13/+62
* Modernize these two scripts a little bit to make it easier to dealmurray2004-06-092-6/+16
* Hack in master/slave supporteik2004-06-051-27/+69
* Add dopackages.wrapper, a wrapper script around dopackages that sets upmarcus2004-06-031-0/+53
* parse $FreeBSD$ with yyyy-mm-dd format dateseik2004-05-311-1/+1
* protect $FreeBSD: ... $ from being expandedeik2004-05-301-1/+1
* don't terminate the log entry with the first hypheneik2004-05-301-1/+1
* - make somewhat more robust against a corrupted ports treeeik2004-05-301-30/+80
* - Remove 'pkg-plist' from required fileskrion2004-05-271-2/+1
* - fix a bug handling the maintainer field when ALLPORTS is usedeik2004-05-221-35/+56
* Turn chkversion into an all-dancing, all-singing notification tool.eik2004-05-191-35/+138
* small optimazation: don't compare versions that are equaleik2004-05-181-1/+1
* check only ports connected to the build.eik2004-05-181-15/+32
* - integrated chkorigineik2004-05-171-51/+102
* FWIIW, spawn fewer processes.eik2004-05-161-3/+12
* support for symlinked portsdir (but no other symlinks in the ports tree)eik2004-05-152-14/+19
* add support for ignoring local ports / categories:eik2004-05-151-1/+4
* added chkversion, a script that ensures that PORTVERSIONs don't go backwardseik2004-05-141-0/+155
* add a perl script to check CVSROOT-ports/modules,eik2004-05-141-0/+127
* - don't flag empty lineseik2004-05-081-6/+30
* awk script to check MOVED for consistencyeik2004-05-081-0/+87
* While generating commit message, don't lowercase the first letter if the secondmat2004-04-051-2/+2
* Set INDEX_PRISTINE and INDEX_QUIET to catch up to new index buildkris2004-04-021-3/+5
* added an -q option to enable usage in crontab.eik2004-03-291-2/+27
* Fix a bug arising when you added a port which should have been at the end ofmat2004-03-211-3/+10
* Add chkorigin.sh, a script that checks the ports tree for ports with a wrongeik2004-03-192-0/+89
* Fill /mnt/ before each port and clear it afterward, to avoid runningtrevor2004-03-161-1/+2
* This script had served its purpose.knu2004-03-141-146/+0
* Add note about FETCH_BEFORE_ARGS=-s.trevor2004-03-131-0/+4
* script for finding "size mismatch" and "size unknown" errorstrevor2004-03-131-0/+58
* Run a command on all client machines of a certain architecture, or allkris2004-03-081-0/+50
* Walk through a package set and prune files that are not listed in INDEXkris2004-03-08