Re: [PATCH] Provide aliases for backward compatibility



My understanding in this field is poor. Sorry if my questions are
silly, but Chris is absent. ;/

On Tue, 8 Jun 2010 10:49:20 +0400, "Alexey I. Froloff" wrote:
> On Tue, Jun 08, 2010 at 10:46:55AM +0900, Teika Kazura wrote:
>> these functions are not available from C. They're not declared in
>> any librep header files. (Read /usr/include/rep/*.) 
> These symbols are exported and can be used by binaries linked
> against librep.so.9.  If you delete these symbols without
> relinking all dependent binaries, you'll get load error.

1. Unless you actually use these functions in C code, then you don't
get load error?
2. If not in the installed header files, using them will be implicit
declaration, which is poor coding, right?

If I misunderstand, you don't have to explain.


>> They're extern, but can be called only from inside of librep.
> If these symbols can't be used outside of librep, no need to
> export them.
Absolutely, but repint.h and repint_subrs.h declares extern functions
which should be available inside of librep, but it's inevitable, no?

Let me correct one, to make things sure. What were declared extern
were rep_file_gid / uid, not Ffile_gid. They have prefix "rep_", so
less polluting.

> but I thought binary compatibility is a good thing in general.

That you care is encouraging for us. We're absolutely short handed.

Best regards,
Teika (Teika kazura)



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