mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-27 19:17:18 +08:00
2001-07-19 David O'Brien <obrien@FreeBSD.org>
* lbasename.c: New file. * libiberty.h: Add lbasename. Approved by: Philip Blundell <philb@gnu.org> <E15K1Xn-00032C-00@kings-cross.london.uk.eu.org> * emultempl/elf32.em: Do not assuming that contents of the buffer returned from basename function will remain unchanged accross other function calls. Approved by: Philip Blundell <philb@gnu.org> <E15MO4s-00017V-00@kings-cross.london.uk.eu.org>
This commit is contained in:
parent
05a1135601
commit
e2696c3f51
@ -1,3 +1,7 @@
|
||||
2001-07-19 David O'Brien <obrien@FreeBSD.org>
|
||||
|
||||
* libiberty.h: Add lbasename.
|
||||
|
||||
2001-06-07 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* Many files: Update copyright notices.
|
||||
|
@ -81,6 +81,10 @@ extern char *basename ();
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* A well-defined basename () that is always compiled in. */
|
||||
|
||||
extern char *lbasename PARAMS ((const char *));
|
||||
|
||||
/* Concatenate an arbitrary number of strings, up to (char *) NULL.
|
||||
Allocates memory using xmalloc. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user