[comp.sys.ibm.pc] R. Nelson's TC globber

vu0112@bingvaxu.cc.binghamton.edu (Cliff Joslyn) (02/29/88)

Really-To: nelson@sun.soe.clarkson.edu (Russ Nelson)
[Sorry about the posting, net-folks, but I'm no mailer exorcist]

I was glad to see your posting of the Turbo C globber a while back, and
I hope you can take some time to deal with my problems with it.  I warn
you that while I'm quite experienced with C, I'm no guru, especially in
DOS/TC.

First, I'm still in TC 1.0.  Is that a problem?

When I follow your instructions, I get two errors from TLINK:
	_setargv() already defined in module SETARGV
	_argc undefined  (six times, once for each reference)

I'm linking a small model test program with only test.obj and glob.obj
(standard libraries, EMU.LIB (not that it should matter?)).

If I can't get yours to work, I'm considering ripping its guts out, and
just allocating my own new_argc and **new_argv with the globbed
arguments.  Is there a better partial solution, or shoul I wait for 1.5?

Thanks a lot.

O---------------------------------------------------------------------->
| Cliff Joslyn, Mad Cybernetician
| Systems Science Department, SUNY Binghamton, Binghamton, NY
| vu0112@bingvaxu.cc.binghamton.edu
V All the world is biscuit shaped. . .