[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

Filed under: General — Thomas @ 12:53

2003-12-31
12:53

Stupidity

is when you write C code like

   if (access (path, R_OK != 0)) 

then spend half an hour trying to find the mistake, and having strace make you realize it should have been

   if (access (path, R_OK) != 0) 

instead...

Sigh. I guess I'm just too tired to do useful work today.

2 Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

picture