On 11/4/22 16:24, Alejandro Colomar wrote:
The changes, apart from the removal of the macro itself, were scripted:

$ find src/ -type f \
   | grep '\.[ch]$' \
   | xargs sed -i 's/ngx_memcmp/memcmp/';

And after running the script, I compressed manually some lines that could be compressed, such as:


-        if (ngx_memcmp(header->name.data, "path", sizeof("path") - 1)
-            == 0)
-        {
+        if (memcmp(header->name.data, "path", sizeof("path") - 1) == 0) {

--
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-le...@nginx.org

Reply via email to