This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] |
> if (!IS_ABSOLUTE_PATH(n.c_str())) > { > const char *arch_path = this->name().c_str(); > const char *basename = lbasename(arch_path); > if (basename > path) > n.replace(0, 0, this->name().substr(0, basename - path)); > } > > How's that look? s/ path/ arch_path/ -cary
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |