Hello, The behavior of set_program_name differs depending on whether argv[0] refers to a libtool script (*/.libs/lt-*) or to a usual binary. In the first case, the function strips off all directory components and the `lt-' prefix, and assigns the result to program_name. In the second case, however, it does nothing and assings unchanged argv[0] to program_name. Is this intentional? It would be logical if it removed directory components in both cases.
Regards, Sergey