| To: | yyyyy@xxxxxxxxx (Clive D.W. Feather) |
|---|---|
| Subject: | Re: Return type of dlsym |
| From: | "Wojtek Lerch" <yyyyyy@xxxxxxx> |
| Date: | Wed, 17 Apr 2002 11:06:49 -0400 (EDT) |
| Cc: | yyy@xxxxxxxxxxx (Marc Aurele La France), yyyyyy@xxxxxxxxx (Matt Seitz), yyyyyyyyyyyyyy@xxxxxxxxxxxxx |
Clive D.W. Feather wrote: > Wojtek Lerch said: > > Splitting dlsym() into two functions would be a more elegant way, but it > > might break some existing code more seriously. Personally, I think that > > doing both is the best solution. > > It's just struck me that the split has another benefit: if the symbol is in > the library, but not with the type expected by the programmer, having > separate functions allows the problem to be diagnosed. [...] Only in the limited sense where by "type" you mean the Boolean choice beween a function and a variable. If the symbol has the expected "type" (in the above sense) but the wrong type (in the C sense), you're still in trouble. |
| Previous by Date: | Re: Return type of dlsym, Wojtek Lerch |
|---|---|
| Next by Date: | Re: Return type of dlsym, Marc Aurele La France |
| Previous by Thread: | Re: Return type of dlsym, Clive D.W. Feather |
| Next by Thread: | Re: RE-ASSOC: a question about the associativity of RE concatenation, Glenn Fowler |
| Indexes: | [Date] [Thread] [All Lists] |