RE: Remnants of -DSTRICT Conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

Attachment: strict.diff
Description: strict.diff


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux