+2002-04-26 Bruno Haible <bruno@clisp.org>
+
+ * basename.h: Use __GLIBC__ instead of __GNU_LIBRARY__, because
+ Linux libc5 doesn't declare basename() properly.
+ * basename.c: Likewise.
+
2002-04-24 Bruno Haible <bruno@clisp.org>
* gettext-0.11.2 released.
/* Return the name-within-directory of a file name.
- Copyright (C) 1996-1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1996-1999, 2000-2002 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@gnu.org.
/* Specification. */
#include "basename.h"
-#ifndef __GNU_LIBRARY__
+#ifndef __GLIBC__
#include <stdio.h>
#include <assert.h>
/* Pathname hacking.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
/* This is where basename() is declared. */
#include <string.h>
-#ifndef __GNU_LIBRARY__
+#ifndef __GLIBC__
/* When not using the GNU libc we use the basename implementation we
provide here. */
extern char *gnu_basename PARAMS ((const char *));