Changeset 4572:67653855682e in nginx


Ignore:
Timestamp:
04/03/12 07:37:31 (8 years ago)
Author:
Ruslan Ermilov <ru@…>
Branch:
default
Phase:
public
Convert:
svn:c3fe7df1-7212-e011-8a91-001109144009/trunk@4573
Message:

Fixed spelling in multiline C comments.

Location:
src
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_conf_file.h

    r4412 r4572  
    1515
    1616/*
    17  *        AAAA  number of agruments
     17 *        AAAA  number of arguments
    1818 *      FF      command flags
    1919 *    TT        command type, i.e. HTTP "location" or "server" command
  • src/core/ngx_connection.c

    r4522 r4572  
    709709                     * it seems that Linux-2.6.x OpenVZ sends events
    710710                     * for closed shared listening sockets unless
    711                      * the events was explicity deleted
     711                     * the events was explicitly deleted
    712712                     */
    713713
  • src/core/ngx_file.c

    r4412 r4572  
    809809 *
    810810 * ctx->alloc - a size of data structure that is allocated at every level
    811  *     and is initilialized by ctx->init_handler()
     811 *     and is initialized by ctx->init_handler()
    812812 *
    813813 * ctx->log - a log
  • src/core/ngx_inet.c

    r4412 r4572  
    460460
    461461    /*
    462      * prevent MSVC8 waring:
     462     * prevent MSVC8 warning:
    463463     *    potentially uninitialized local variable 'inaddr6' used
    464464     */
  • src/core/ngx_times.c

    r4499 r4572  
    3434
    3535/*
    36  * locatime() and localtime_r() are not Async-Signal-Safe functions, therefore,
     36 * localtime() and localtime_r() are not Async-Signal-Safe functions, therefore,
    3737 * they must not be called by a signal handler, so we use the cached
    3838 * GMT offset value. Fortunately the value is changed only two times a year.
     
    309309     * The "days" should be adjusted to 1 only, however, some March 1st's go
    310310     * to previous year, so we adjust them to 2.  This causes also shift of the
    311      * last Feburary days to next year, but we catch the case when "yday"
     311     * last February days to next year, but we catch the case when "yday"
    312312     * becomes negative.
    313313     */
  • src/event/modules/ngx_epoll_module.c

    r4412 r4572  
    446446    /*
    447447     * when the file descriptor is closed, the epoll automatically deletes
    448      * it from its queue, so we do not need to delete explicity the event
     448     * it from its queue, so we do not need to delete explicitly the event
    449449     * before the closing the file descriptor
    450450     */
     
    525525    /*
    526526     * when the file descriptor is closed the epoll automatically deletes
    527      * it from its queue so we do not need to delete explicity the event
     527     * it from its queue so we do not need to delete explicitly the event
    528528     * before the closing the file descriptor
    529529     */
  • src/event/modules/ngx_eventport_module.c

    r4412 r4572  
    323323    /*
    324324     * when the file descriptor is closed, the event port automatically
    325      * dissociates it from the port, so we do not need to dissociate explicity
     325     * dissociates it from the port, so we do not need to dissociate explicitly
    326326     * the event before the closing the file descriptor
    327327     */
  • src/event/modules/ngx_kqueue_module.c

    r4412 r4572  
    378378    /*
    379379     * when the file descriptor is closed the kqueue automatically deletes
    380      * its filters so we do not need to delete explicity the event
     380     * its filters so we do not need to delete explicitly the event
    381381     * before the closing the file descriptor.
    382382     */
  • src/event/ngx_event_openssl.c

    r4522 r4572  
    490490    /*
    491491     * Elliptic-Curve Diffie-Hellman parameters are either "named curves"
    492      * from RFC 4492 section 5.1.1, or explicitely described curves over
     492     * from RFC 4492 section 5.1.1, or explicitly described curves over
    493493     * binary fields. OpenSSL only supports the "named curves", which provide
    494494     * maximum interoperability.
  • src/http/modules/ngx_http_degradation_module.c

    r4412 r4572  
    127127             * ELF/amd64 is loaded at 0x00400000, 4M
    128128             *
    129              * use a function address to substract the loading address
     129             * use a function address to subtract the loading address
    130130             */
    131131
  • src/http/ngx_http.c

    r4412 r4572  
    14181418        /*
    14191419         * check whether all name-based servers have the same
    1420          * configuraiton as a default server for given address:port
     1420         * configuration as a default server for given address:port
    14211421         */
    14221422
  • src/http/ngx_http_parse.c

    r4546 r4572  
    10981098        /*
    10991099         * we use "ch = *p++" inside the cycle, but this operation is safe,
    1100          * because after the URI there is always at least one charcter:
     1100         * because after the URI there is always at least one character:
    11011101         * the line feed
    11021102         */
  • src/http/ngx_http_upstream.c

    r4546 r4572  
    11971197        /*
    11981198         * the r->request_body->buf can be reused for one request only,
    1199          * the subrequests should allocate their own temporay bufs
     1199         * the subrequests should allocate their own temporary bufs
    12001200         */
    12011201
  • src/http/ngx_http_variables.c

    r4558 r4572  
    113113 * the $http_host, $http_user_agent, $http_referer, $http_via,
    114114 * and $http_x_forwarded_for variables may be handled by generic
    115  * ngx_http_variable_unknown_header_in(), but for perfomance reasons
     115 * ngx_http_variable_unknown_header_in(), but for performance reasons
    116116 * they are handled using dedicated entries
    117117 */
  • src/os/unix/ngx_freebsd_rfork_thread.c

    r4412 r4572  
    1212 * The threads implementation uses the rfork(RFPROC|RFTHREAD|RFMEM) syscall
    1313 * to create threads.  All threads use the stacks of the same size mmap()ed
    14  * below the main stack.  Thus the current thread id is determinated via
     14 * below the main stack.  Thus the current thread id is determined via
    1515 * the stack pointer value.
    1616 *
     
    1919 * the waiting threads.  The light mutex does not use semaphore, so after
    2020 * spinning in the lock the thread calls sched_yield().  However the light
    21  * mutecies are intended to be used with the "trylock" operation only.
     21 * mutexes are intended to be used with the "trylock" operation only.
    2222 * The SysV semop() is a cheap syscall, particularly if it has little sembuf's
    2323 * and does not use SEM_UNDO.
  • src/os/unix/ngx_freebsd_sendfile_chain.c

    r4499 r4572  
    1919 * and then again the 11 full 1460-bytes packets.
    2020 *
    21  * Threfore we use the TCP_NOPUSH option (similar to Linux's TCP_CORK)
     21 * Therefore we use the TCP_NOPUSH option (similar to Linux's TCP_CORK)
    2222 * to postpone the sending - it not only sends a header and the first part of
    2323 * the file in one packet, but also sends the file pages in the full packets.
  • src/os/unix/ngx_gcc_atomic_sparc64.h

    r4412 r4572  
    1616 *     }
    1717 *
    18  * so "r0 == r2" means that the operation was successfull.
     18 * so "r0 == r2" means that the operation was successful.
    1919 *
    2020 *
  • src/os/unix/ngx_setproctitle.c

    r4412 r4572  
    2222 *
    2323 * The Solaris's standard /bin/ps does not show the changed process title.
    24  * You have to use "/usr/ucb/ps -w" instead.  Besides, the UCB ps dos not
     24 * You have to use "/usr/ucb/ps -w" instead.  Besides, the UCB ps does not
    2525 * show a new title if its length less than the origin command line length.
    2626 * To avoid it we append to a new title the origin command line in the
  • src/os/win32/ngx_win32_config.h

    r4412 r4572  
    2121
    2222/*
    23  * we need to include <windows.h> explicity before <winsock2.h> because
     23 * we need to include <windows.h> explicitly before <winsock2.h> because
    2424 * the warning 4201 is enabled in <windows.h>
    2525 */
Note: See TracChangeset for help on using the changeset viewer.