Changeset: 4afe45f3bd48 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4afe45f3bd48
Modified Files:
        clients/Tests/exports.stable.out
        gdk/gdk_posix.c
        gdk/gdk_posix.h
Branch: default
Log Message:

Changed return type of MT_path_absolute to bool.


diffs (45 lines):

diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -312,7 +312,7 @@ int MT_join_thread(MT_Id t);
 int MT_lockf(char *filename, int mode, off_t off, off_t len);
 void *MT_mmap(const char *path, int mode, size_t len);
 int MT_munmap(void *p, size_t len);
-int MT_path_absolute(const char *path);
+bool MT_path_absolute(const char *path);
 void MT_sleep_ms(unsigned int ms);
 void OIDXdestroy(BAT *b);
 ssize_t OIDfromStr(const char *src, size_t *len, oid **dst, bool external);
diff --git a/gdk/gdk_posix.c b/gdk/gdk_posix.c
--- a/gdk/gdk_posix.c
+++ b/gdk/gdk_posix.c
@@ -691,7 +691,7 @@ MT_msync(void *p, size_t len)
        return ret;
 }
 
-int
+bool
 MT_path_absolute(const char *pathname)
 {
        return (*pathname == DIR_SEP);
@@ -891,7 +891,7 @@ MT_msync(void *p, size_t len)
        return 0;
 }
 
-int
+bool
 MT_path_absolute(const char *pathname)
 {
        /* drive letter, colon, directory separator */
diff --git a/gdk/gdk_posix.h b/gdk/gdk_posix.h
--- a/gdk/gdk_posix.h
+++ b/gdk/gdk_posix.h
@@ -132,7 +132,7 @@ gdk_export size_t MT_getrss(void);
 gdk_export void *MT_mmap(const char *path, int mode, size_t len);
 gdk_export int MT_munmap(void *p, size_t len);
 
-gdk_export int MT_path_absolute(const char *path);
+gdk_export bool MT_path_absolute(const char *path);
 
 
 /*
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to