|
|||||||||||
|
Re: First hunk of diffs
From: Eivind Eklund <eivind(at)freebsd.org>
Date: Tue Apr 29 1997 - 19:08:22 EDT
Some. What I'm not commenting looked OK. >Index: libc/stdtime/localtime.c
Why should we deny . in names? Shouldn't that probably be a check for .. (or even better ../)? This change is bogus. It is OK to copy the exact number of bytes into a buffer, which is a case which is blocked by the change. (Yeah, the original is in a strange style.) Whitespace change. Please don't commit. >Index: libftpio/ftpio.c
When you're in there, why not change to memmove? No reason not to go with the standard when it is functionally equvalent. >Index: libskey/skeyaccess.c
Please move the assignment out of the loop. Having it in the loop will likely slow down the loop for almost all compilers; it is _not_ candidate for compiler code motion, and will fource a read of hp->h_length. (There are non-obvious reasons for this; suffice to say it is nescessary to stay ISO C compliant. If GCC optimize it now, it is broken.) Eivind Eklund perhaps(at)yes.no http://maybe.yes.no/perhaps/ eivind(at)freebsd.org Received on Tue Apr 29 17:09:09 1997 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:02 EDT |
||||||||||
|
|||||||||||