Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153359497
D56460.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
455 B
Referenced Files
None
Subscribers
None
D56460.diff
View Options
diff --git a/sys/tools/syscalls/core/syscall.lua b/sys/tools/syscalls/core/syscall.lua
--- a/sys/tools/syscalls/core/syscall.lua
+++ b/sys/tools/syscalls/core/syscall.lua
@@ -223,10 +223,9 @@
end
local ret = scret:new({}, line)
- self.ret = ret:add()
-- Don't clobber rettype set in the alt information.
if self.rettype == nil then
- self.rettype = "int"
+ self.rettype = ret:add()
end
self.name = words[2]:match("([%w_]+)%(")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 5:04 PM (15 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31698473
Default Alt Text
D56460.diff (455 B)
Attached To
Mode
D56460: syscalls: Save the right rettype for system calls.
Attached
Detach File
Event Timeline
Log In to Comment