CI: disable self-test on macos-13
This commit is contained in:
+2
-2
@@ -674,14 +674,14 @@ bool file_exists(const char *name) {
|
||||
}
|
||||
|
||||
/* return true if we can stat it */
|
||||
// memset(&st, 0, sizeof(st));
|
||||
// mem_clear(&st);
|
||||
r = stat(name, &st);
|
||||
if (r != -1)
|
||||
return true;
|
||||
|
||||
/* return true if we can lstat it */
|
||||
#if (HAVE_LSTAT)
|
||||
// memset(&st, 0, sizeof(st));
|
||||
// mem_clear(&st);
|
||||
r = lstat(name, &st);
|
||||
if (r != -1)
|
||||
return true;
|
||||
|
||||
+2
-2
@@ -126,8 +126,8 @@ inline R *xspan_make_helper__(R * /*dummy*/, std::nullptr_t /*first*/) {
|
||||
return nullptr;
|
||||
}
|
||||
template <class R>
|
||||
inline R *xspan_make_helper__(R * /*dummy*/, MemBuffer &first) {
|
||||
return (R *) membuffer_get_void_ptr(first);
|
||||
inline R *xspan_make_helper__(R * /*dummy*/, MemBuffer &mb) {
|
||||
return (R *) membuffer_get_void_ptr(mb);
|
||||
}
|
||||
|
||||
#define XSPAN_0(type) type *
|
||||
|
||||
Reference in New Issue
Block a user