You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1522 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Here's a uuencoded compressed tar file illustrating a bug with libraries.
There is an executable D which uses libraries B and C. B and C each
use A. A winds up being initialized twice, which in the real
application leads to failure. It is not clear to me how to avoid this
problem unless I give up on structuring my code as multiple
libraries.
--
Tim Freeman tim@fungible.com
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
Original bug ID: 1522
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Here's a uuencoded compressed tar file illustrating a bug with libraries.
There is an executable D which uses libraries B and C. B and C each
use A. A winds up being initialized twice, which in the real
application leads to failure. It is not clear to me how to avoid this
problem unless I give up on structuring my code as multiple
libraries.
--
Tim Freeman
tim@fungible.com
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
begin 664 trouble.tgz
M'XL(
(M$)SX``^V:;6_;-A"
5F_XN9M0!(D>K->@S&YB0>8""IAS@!]F%
M0%%TS%D24XFJLW[H;Q\I6[*3YJ4%8B5M[P%L2A1YE'".(DF8LR2IC5V2V
M[=EAZO2=D+?WBQK.G88.$[@n:[M=6S'#NV@
_XV;ZJF+"3)
3J2IT^V>^[ZM-XI<Z3_:X@SX&OVKG]X_0\U';K/4?F6FRG3&4/=N!UNLC^G?<7JU_V,=
MK?]
31>PMW,[=_G!]9\P">R6Y907#'9V#Z',N(2^
?"GR%,B37:3\TQ.H3OM(#+KIOM
@!?P:VS^D_WQ>Q=VQL+D,0Q,LFN\]B,A7T%M_S1A)#.+V3;&T/8? M^D_X_]"I[=_QO*"C'8(;HOVWP<\_61'/K&(&!^S6R%,XF,*>M6?2E*]*L2J) M*F/8^Z1//QEHY=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