ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

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

Re: Модуль на C++ - возможно?



On Monday 03 March 2008 16:43, Igor Sysoev wrote:
> Прилагаемый патч лечит.
>
> Кроме того, все инклуды должны идти после nginx'овских
>
> extern "C" {
>   #include <ngx_config.h>
>   #include <ngx_core.h>
>   #include <ngx_event.h>
>   #include <ngx_http.h>
> }
>
> иначе на Линуске и Солярисе возможны проблемы с размерностью off_t.

>  -    ext.delete = 1;
> +    ext.delete_file = 1;

А "new" разве не надо заменять ?


-- 
Andrei Nigmatulin
GPG PUB KEY 6449830D

Now I lay me down to sleep(3)
Pray the OS my core to keep
If I die before I wake
Pray the Disk my core to take


 




Copyright © Lexa Software, 1996-2009.