[comp.sys.amiga.tech] Manx 5.0 bugs?

cg377170@cygnus.uucp (Corey Gehman) (03/27/90)

Has anyone gotten the subroutine 'mktempdir' to work with Manx 5.0?  I know
it's not in c.lib (unless I did something stupid).  Is it in an object file
somewhere, or is it just missing?


				Thanks,
**********************************
Corey Gehman
cg377170@eng.clemson.edu

karl@sugar.hackercorp.com (Karl Lehenbauer) (03/27/90)

In article <8511@hubcap.clemson.edu> cg377170@eng.clemson.edu (Corey Gehman) writes:
>Has anyone gotten the subroutine 'mktempdir' to work with Manx 5.0?  I know
>it's not in c.lib (unless I did something stupid).  Is it in an object file
>somewhere, or is it just missing?

It's not in there.  You can use tmpnam() to create a temporary name, but
even that routine is a little brain-damaged.  

I suggest rolling your own.
-- 
-- uunet!sugar!karl	"As long as there is a legion of superheros, all else
--			 can surely be made right." -- Sensor Girl
-- Usenet access: (713) 438-5018

tdesjardins@lion.waterloo.edu (Tim Desjardins) (03/28/90)

In article <8511@hubcap.clemson.edu> cg377170@eng.clemson.edu (Corey Gehman) writes:
>Has anyone gotten the subroutine 'mktempdir' to work with Manx 5.0?  I know
>it's not in c.lib (unless I did something stupid).  Is it in an object file
>somewhere, or is it just missing?
>Corey Gehman
>cg377170@eng.clemson.edu
On a related note, it seems Manx has forgotten to inlcude 'mktemp()' in the
c.lib, and were also nice enough to forget it from the library source.

Fortunately it's in the 3.6a source and only requires one little modification,
could someone who has acces to bix, let Manx know about this oversight. Thanks.


Tim Desjardins.                       tdesjardins@lion.waterloo.{edu|cdn}
"It's better to regret something you have done, then to regret something
you haven't done." Butthole Surfers

mrush@csuchico.edu (Matt Rush) (03/28/90)

In article <5467@sugar.hackercorp.com> karl@sugar.hackercorp.com (Karl Lehenbauer) writes:
>In article <8511@hubcap.clemson.edu> cg377170@eng.clemson.edu (Corey Gehman) writes:
>>Has anyone gotten the subroutine 'mktempdir' to work with Manx 5.0?  I know
>>it's not in c.lib (unless I did something stupid).  Is it in an object file
>>somewhere, or is it just missing?
>
>It's not in there.  You can use tmpnam() to create a temporary name, but
>even that routine is a little brain-damaged.  
>
>I suggest rolling your own.

	I haven't received my 5.0 yet, but is it possible to use the tmpnam()
(and similar broken-or-missing-in-5.0-functions) from the v3.6 libraries?
	I know the library format is different, but is it possible to use the
Manx librarian program (obd, or some similarly cryptic name) to extract the
old one, and then use the 5.0 version of the librarian to re-install it in
the 5.0 libraries??

	Or am I being overly wishful here?

	-- Matt

    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    %   I wanna use Virtual Memory to create   %  mrush@csuchico.edu   %
    %   a giant RAM disk!                      %  mrush@cscihp.UUCP    %
    *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
     This is a SCHOOL!  Do you think they even CARE about MY opinions?!