Mail Archives: djgpp-workers/2000/08/16/05:17:50
It will be used for open().
Any comments?
Laurynas
Index: djgpp/include/libc/stubs.h
===================================================================
RCS file: /cvs/djgpp/djgpp/include/libc/stubs.h,v
retrieving revision 1.4
diff -u -r1.4 stubs.h
--- stubs.h 2000/08/14 18:22:25 1.4
+++ stubs.h 2000/08/16 09:13:32
@@ -33,6 +33,7 @@
/* DJGPP functions (for compiling POSIX or ANSI functions) */
+#define basename __basename
#define crlf2nl __crlf2nl
#define dosmemget __dosmemget
#define dosmemput __dosmemput
Index: djgpp/src/libc/compat/unistd/basename.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/compat/unistd/basename.c,v
retrieving revision 1.1
diff -u -r1.1 basename.c
--- basename.c 1998/06/28 21:53:24 1.1
+++ basename.c 2000/08/16 09:13:38
@@ -1,5 +1,7 @@
+/* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
+#include <libc/stubs.h>
#include <unistd.h>
#include <libc/unconst.h>
- Raw text -