This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] Shared object matching for solib-som.c


> Please don't use literal slash characters in GDB sources: they are
> non-portable.  AFAICS, you simply need to use lbasename here, on both
> file names.

I guess you mean "basename" instead of "lbasename". I could, and I
started with that, although basename allocates memory so it's slightly
more messy.

While I agree with your portability comment, I hope nobody is crazy
enough to use SOM outside of hpux :)

Anyway, I'll redo this using basename.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]