Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4545 - trunk/auto/types

Anonymous User
March 16, 2012 03:34AM
Author: ru
Date: 2012-03-16 07:33:55 +0000 (Fri, 16 Mar 2012)
New Revision: 4545

Log:
Some older OSes (notably FreeBSD 4.x) did not have %zu
format specifier, so revert to using %d.


Modified:
trunk/auto/types/sizeof

Modified: trunk/auto/types/sizeof
===================================================================
--- trunk/auto/types/sizeof 2012-03-15 20:39:38 UTC (rev 4544)
+++ trunk/auto/types/sizeof 2012-03-16 07:33:55 UTC (rev 4545)
@@ -26,7 +26,7 @@
$NGX_INCLUDE_AUTO_CONFIG_H

int main() {
- printf("%zu", sizeof($ngx_type));
+ printf("%d", (int) sizeof($ngx_type));
return 0;
}


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4545 - trunk/auto/types

Anonymous User 1214 March 16, 2012 03:34AM

Re: [nginx] svn commit: r4545 - trunk/auto/types

Piotr Sikora 453 March 16, 2012 04:06AM

Re: [nginx] svn commit: r4545 - trunk/auto/types

Ruslan Ermilov 487 March 16, 2012 04:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 162
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready