Changeset: f84fc9e0c1b3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f84fc9e0c1b3
Modified Files:
        MonetDB/src/gdk/gdk_storage.mx
Branch: default
Log Message:

Also remove symbolic links.


diffs (19 lines):

diff -r b826d54cf689 -r f84fc9e0c1b3 MonetDB/src/gdk/gdk_storage.mx
--- a/MonetDB/src/gdk/gdk_storage.mx    Wed Jul 21 08:31:03 2010 +0200
+++ b/MonetDB/src/gdk/gdk_storage.mx    Wed Jul 21 11:24:15 2010 +0200
@@ -205,12 +205,11 @@
 int
 GDKunlink(str dir, str nme, str ext)
 {
+       char path[PATHLENGTH];
+       struct stat st;
        if (nme && *nme) {
-               char path[PATHLENGTH];
-               struct stat st;
-
                GDKfilepath(path, dir, nme, ext);
-               if (stat(path, &st) == 0)
+               if (lstat(path, &st) == 0)
                        return delete_file(path);
        }
        return -1;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to