From: Mats L. <mat...@en...> - 2014-04-22 14:44:45
|
> 22 apr 2014 kl. 15:42 skrev "ch...@su..." <ch...@su...>: > > Hi! >> The output has been "standardized" into the following format: >> <file>:<line>: <func>(<params>) <error message> >> >> E.g.: >> test.c:130: chdir(mydir) failed >> >> This will then be followed by the usual errno stuff if applicable. > > I've also unified conding style for the file and fixed a minor things > (use octal instead of decimal for creat() mode, the symlink error > message said link() instead of symlink(), etc.) and pushed these an one > commit, thanks. I used creation mode as octal since this is how the value is given to chmod shell command. But I guess this is a matter of taste... > > PS: I've also decided to print open() mode regardless if it's used or > not, which is IMHO better than not printing it at all. I considered this but could never make my mind up... But you're probably right. Regards Mats Liljegren |