News for hackers. Stuff that matters.
Re:The getrandom(2) system call was requested by the LibreSS... by Rygu on Thursday July 17, 2014 @07:02PM (#8050744)
Slightly off-topic, but I couldn't help but notice as a programmer. I find the coding style of the patch kind of random. The if statements, some of them have braces and some don't. Without a pattern it seems.

What is this style called?

Re:The getrandom(2) system call was requested by the LibreSS... by Gracana on Thursday July 17, 2014 @07:20PM (#8050805)
I only see one place where an if statement has curly braces where it doesn't need them. The rest of them only have curly braces if they're necessary.
Re:The getrandom(2) system call was requested by the LibreSS... by Rygu on Friday July 18, 2014 @03:40AM (#8052069)
Oh right, I see the second if statement at block @@ -1533,6 +1544,26 @@ indeed threw me off. I would value consistency over necessity. The else-if at the same block looks weird and the use of new lines could also help the code to be more legible and maintainable.

Anyway, sorry went off-topic.

Re:The getrandom(2) system call was requested by the LibreSS... by regd006 on Friday July 18, 2014 @12:25PM (#8053879)