Linux users are mice? -- Linux general technology-Linux programming and kernel information. The following is a detailed description. It is said that this is the method used by Linus Torvalds in early Linux development: simply add code to it and release the code after writing it, regardless of the test (Linus Torvalds once released the Linux kernel twice in a day), let everyone report the bug and fix it slowly. This practice has indeed played a significant role in improving the development efficiency of Linux in the early stages.
This method is still frequently used by some software, such as KDE 4 ...... Its first stable version 4.0.0 is said to be hard to run for several consecutive hours.
Yesterday we found a bug in glibc 2.7: In sysdeps/unix/sysv/linux/sys/signalfd. h, the type of ssi_ptr should be uint64_t, which was mistakenly written into uintptr_t. This bug is actually very serious. It directly causes the file descriptor returned by signalfd in a 32-bit system to fail to read. I am going to report a bug, but check out cvs and find that the latest code has fixed this problem.
This error is clearly caused by a person's own cleverness. He thinks that uintptr_t is more accurate than uint64_t. The same is true, but he ignores that the data of this struct is directly read from the kernel, it must be consistent with the type in the kernel code. And the smart person is likely to use a 64-bit system, so the problem is not exposed. On the other hand, it also shows that they are treating users as mice. (Author: Beyond the number)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service