Remnants of -DSTRICT Conversion

Patrik Stridvall ps at leissner.se
Thu Dec 5 07:30:15 CST 2002


> Just a small request. Could someone write a script that would 
> remove one of
> the last remnants of the -DSTRICT conversion. It is a little 
> issue with lots
> of 0x%p's everywhere (mainly in NTDLL registry functions) 
> which need to be
> replaced by just %p's.

Sure here is the script:

find . -name \*.c | xargs perl -i -pe 's/0x%p/%p/g'

and as a bonus to Alexandre here is the patch.

--8<---

*** strict

* dlls/commdlg/filedlg95.c,
  dlls/ntdll/file.c,
  dlls/ntdll/heap.c,
  dlls/ntdll/misc.c,
  dlls/ntdll/nt.c,
  dlls/ntdll/om.c,
  dlls/ntdll/reg.c,
  dlls/ntdll/sec.c,
  dlls/ntdll/sync.c,
  loader/module.c,
  scheduler/process.c,
  scheduler/thread.c,
  win32/device.c:
Replace 0x%p with %p.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strict.diff
Type: application/octet-stream
Size: 20301 bytes
Desc: strict.diff
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20021205/d97854c0/strict.obj


More information about the wine-devel mailing list