Skull giver@popplesburger.hilciferous.nltoLinux@lemmy.ml•Unity’s Open-Source Double Standard: the ban of VLC
01·
10 months agoThis is just an ad. I don’t know why Unity doesn’t want LGPL software on its storefront, but it has every right to ban the license if it wants to. As demonstrated by the consultancy part of this business still existing, there’s no technical requirement to order your unity assets through the Unity store. Plus, the agreement speaks in no uncertain terms when it comes to (L)GPL code, it specifically mentions those two libraries.
I’m not a fan of someone starting a company “Videolabs” with an orange traffic cone for a logo, selling VLC integrations. At first I thought I was on the VLC website.
Killing -1 will kill all processes you can kill.
fork() will return negative numbers to indicate errors, 0 to indicate that the code is now in a new thread, or positive numbers to indicate the process ID of the new thread.
Some programs will kill all threads they started on exit, by sending a kill signal to every thread ID they received when starting new threads.
Not many developers realise fork() can fail, or that it returns a negative value, or that killing negative values can have weird implications.
This combination of API designs has led to some quite puzzling but reports that go a little like “whenever I close this program, I get logged out”. Remember to always check for negative numbers when talking to the Unix API!