Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
What's the story with these ads on Slashdot? Check out our new blog post to find out. ×

Comment Re:Wrong setup (Score 1) 296

Absolutely positively do not use a lot of #ifdefs, you're asking for a lot of hurt.

Move the platform specific code into files, and then use abstractions in the main code, pull in the different implementations in the make file. You'll have just a few #ifdefs in the main code for the right header files.

Do frequent compilation across the platforms, because you will screw it up. Make sure to have plenty of tests for the different behavior between platforms.

Comment Quotes (Score 5, Insightful) 94

Quotation marks are used in the shell environment to make sure that the data inside the quotes is not interpreted by the program as a command.

Except in the cases it triggers the exploit. IMHO, that's the newsworthy bit of this.

Not quoting causes issues is news along the same level as "water is wet". Trying to be secure and breaking things? That's big. At least it's not possible with filenames.

Every successful person has had failures but repeated failure is no guarantee of eventual success.

Working...