Y
Hacker News
new
|
ask
|
show
|
jobs
by
Yajirobe
1253 days ago
goto statement in something as important as sudo? Seriously? Talk about bad practices.
4 comments
arc-in-space
1253 days ago
goto to a cleanup/error handling block at the end of a function is a fairly common C idiom
link
Reubensson
1253 days ago
Don't really see a problem using goto there. Simplyfies control flow and error handling. Assuming we are talking about same piece of code.
link
aflag
1252 days ago
I think if you read the kennel's code you're in to a big surprise.
link
jazzyjackson
1252 days ago
just because something's old doesn't mean it's bad
link