On Tue, 26 Jul 2011, David Young wrote:
I used this semantic patch:
[...]
- #define bar 0x10
+ #define bar PCI_BAR(0)
White space on + lines is taken literally, whereas white space
on context lines and - lines is matched loosely. This means
that spatch will convert from any amount of
Looking how many atoi() copies we have in tree, does it make sense to
add the following at the end of libkern.h
Please don't use it for #ifdef _STANDALONE ones.
libc's strtoll() is larger than dumb atoi()s.
...if strtoll isn't already pulled in for other reasons.
On i386, only
On Wed, Jul 27, 2011 at 10:04:19AM +0200, Alan Barrett wrote:
If you would prefer to retain the original white space, then you can
avoid using white space in + lines, like this:
#define bar
-0x10
+PCI_BAR(0)
At least, that works in normal code; I don't know whether it works
in #define
mrg@ wrote:
Module Name: src
Committed By: mrg
Date: Sat Jul 23 23:42:02 UTC 2011
Modified Files:
src/external/mit/xorg/bin/bdftopcf: Makefile
src/external/mit/xorg/tools/fc-cache: Makefile
src/external/mit/xorg/tools/mkfontscale: Makefile