Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
内核文件系统的补丁。
Experiences and Insight
842
views ·
3
replies ·
To
floor
Go
huzheng
deepin
2014-11-25 22:55
Author
#Don't optimize begin
Delete_file()
{
If (FALSE) {
} else {
if (FALSE) {
} else {
if (FALSE) {
Real_Delete_file();
}
}
}
}
Move_file()
{
If (FALSE) {
} else {
if (FALSE) {
} else {
Real_Move_file();
}
}
}
#Don't optimize end
以上是防软件神通删文件的代码,删除文件3层防,文件改名2层防。
Windows已作了此修改。你们可以考虑开发了补丁发给Linus!
Reply
Like 0
Favorite
View the author
All Replies
httpe
deepin
2014-11-26 07:33
#1
if FALSE 是什么用意?
Reply
Like 0
View the author
136******54
deepin
2014-11-26 21:35
#2
不明觉厉
Reply
Like 0
View the author
kingskill
deepin
2014-11-28 01:35
#3
笑cry~~~这是伪指令的伪指令?^^
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
The app store is not working
painter and thinker
Popular Events
More
Delete_file()
{
If (FALSE) {
} else {
if (FALSE) {
} else {
if (FALSE) {
Real_Delete_file();
}
}
}
}
Move_file()
{
If (FALSE) {
} else {
if (FALSE) {
} else {
Real_Move_file();
}
}
}
#Don't optimize end
以上是防软件神通删文件的代码,删除文件3层防,文件改名2层防。
Windows已作了此修改。你们可以考虑开发了补丁发给Linus!