diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-10-15 10:18:53 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-10-15 10:18:53 +0000 |
| commit | 41f92be2f19e771820c12a4c528896e9133545f4 (patch) | |
| tree | 5c5697637c31db6dc2cb897ca57c5fc31f356807 /FL | |
| parent | 6bfa08c63d75ea8883952dc1ea3a7da5f3da73c7 (diff) | |
Replace remaining calls to unlink() with fl_unlink().
Tested under Linux, MinGW, and Visual Studio 2015.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_System_Driver.H | 2 | ||||
| -rw-r--r-- | FL/fl_utf8.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index b1fb209c6..dfdd4c3e3 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -95,7 +95,7 @@ public: virtual int access(const char* f, int mode) { return -1;} virtual int stat(const char* f, struct stat *b) { return -1;} virtual char *getcwd(char* b, int l) {return NULL;} - virtual int unlink(const char* f) {return -1;} + virtual int unlink(const char* fname) {return -1;} virtual int mkdir(const char* f, int mode) {return -1;} virtual int rmdir(const char* f) {return -1;} virtual int rename(const char* f, const char *n) {return -1;} diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index 54b192b1f..2b1623138 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -3,7 +3,7 @@ * * Author: Jean-Marc Lienher ( http://oksid.ch ) * Copyright 2000-2010 by O'ksi'D. - * Copyright 2016 by Bill Spitzak and others. + * Copyright 2016-2017 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this @@ -180,7 +180,7 @@ FL_EXPORT int fl_open(const char* f, int o, ...); FL_EXPORT int fl_open_ext(const char* fname, int translation, int oflags, ...); /* OD: Portable UTF-8 aware unlink wrapper */ -FL_EXPORT int fl_unlink(const char *f); +FL_EXPORT int fl_unlink(const char *fname); /* OD: Portable UTF-8 aware rmdir wrapper */ FL_EXPORT int fl_rmdir(const char *f); |
