1 Star 0 Fork 0

iness/patch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dropbox_fs_fix.patch 564 Bytes
一键复制 编辑 原始数据 按行查看 历史
--- /pre_fix/dropbox.py 2019-06-19 03:02:17.000000000 +0800
+++ /after/dropbox.py 2019-07-10 01:31:14.000000000 +0800
@@ -748,6 +748,11 @@
return newmeth
def start_dropbox():
+ lib_path = os.path.join(DROPBOX_DIST_PATH, "libdropbox_fs_fix.so")
+ if os.path.exists(lib_path):
+ console_print(u"\ndropbox: load filesystem fix library")
+ os.environ["LD_PRELOAD"] = lib_path
+
if os.access(DROPBOXD_PATH, os.X_OK):
f = open("/dev/null", "w")
# we don't reap the child because we're gonna die anyway, let init do it
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iness/patch.git
git@gitee.com:iness/patch.git
iness
patch
patch
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385