diff --git a/src/os/src/darwin64/darwinCoredump.c b/src/os/src/darwin64/darwinCoredump.c deleted file mode 100644 index 43f22b604dbb154ae64f193be1d20af16265cee9..0000000000000000000000000000000000000000 --- a/src/os/src/darwin64/darwinCoredump.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright (c) 2019 TAOS Data, Inc. - * - * This program is free software: you can use, redistribute, and/or modify - * it under the terms of the GNU Affero General Public License, version 3 - * or later ("AGPL"), as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -#define _DEFAULT_SOURCE -#include "os.h" - -void taosSetCoreDump() {} diff --git a/src/os/src/darwin64/darwinFileOp.c b/src/os/src/darwin64/darwinFile.c similarity index 99% rename from src/os/src/darwin64/darwinFileOp.c rename to src/os/src/darwin64/darwinFile.c index 7740f6d5cf4889d61a92df1bc4ef07df778dfcf8..113ea7f1faea02754cd322dd10f92036134c428e 100644 --- a/src/os/src/darwin64/darwinFileOp.c +++ b/src/os/src/darwin64/darwinFile.c @@ -60,7 +60,6 @@ int taosFSendFileImp(FILE* out_file, FILE* in_file, int64_t* offset, int32_t cou return writeLen; } - ssize_t taosTSendFileImp(int dfd, int sfd, off_t *offset, size_t size) { uError("not implemented yet"); return -1; diff --git a/src/os/src/darwin64/darwinSem.c b/src/os/src/darwin64/darwinSemphone.c similarity index 100% rename from src/os/src/darwin64/darwinSem.c rename to src/os/src/darwin64/darwinSemphone.c diff --git a/src/os/src/darwin64/darwinUtil.c b/src/os/src/darwin64/darwinString.c similarity index 100% rename from src/os/src/darwin64/darwinUtil.c rename to src/os/src/darwin64/darwinString.c diff --git a/src/os/src/darwin64/darwinSysInfo.c b/src/os/src/darwin64/darwinSysInfo.c index ea29a0b96cd52e0c07a6b28d399a531b2c1ed5d4..ee2f82b307932554f9bf0ac9d0c259b88e2db3ca 100644 --- a/src/os/src/darwin64/darwinSysInfo.c +++ b/src/os/src/darwin64/darwinSysInfo.c @@ -104,3 +104,5 @@ int taosSystem(const char *cmd) { uError("un support funtion"); return -1; } + +void taosSetCoreDump() {} \ No newline at end of file