[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared library problem



Previously Daniel Jacobowitz wrote:
> I know exactly what the problem is.  Using the names open and close is
> not a tremendously good idea - unless, of course, you mark them static. 
> You're overloading libc's open() call.  Marking them static removes the
> bug.

Duh! I wonder why the linker never gave me a warning about that.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpZy5UbSYUJL.pgp
Description: PGP signature


Reply to: