/[Apache-SVN]
ViewVC logotype

Revision 98529


Jump to revision: Previous Next
Author: jerenkrantz
Date: Wed Jan 29 06:19:20 2003 UTC (21 years, 3 months ago)
Changed paths: 2
Log Message:
(Win32) Fixed link error apr_pstrmemdup in flood_socket_keepalive.c.

This patch addresses a link error.  The code invoked apr_pstrmemdup()
in flood_socket_keepalive.c without including the proper declaration.
The compiler generates its own guess, which is incorrect.  The code now
includes the file:
  apr_strings.h
so that it picks up the proper declaration of apr_pstrmemdup.

Below are examples of the compile-time warning and the
link failures that this patch addresses.

  flood_socket_keepalive.c(407) : warning C4013: 'apr_pstrmemdup'
  undefined; assuming extern returning int
  flood_socket_keepalive.obj : error LNK2001: unresolved external
  symbol _apr_pstrmemdup

Submitted by: Phi-Long Tran <ptran@pobox.com>
Reviewed by: Justin Erenkrantz


Changed paths

Path Details
Directoryhttpd/test/trunk/flood/CHANGES modified , text changed , props changed
Directoryhttpd/test/trunk/flood/flood_socket_keepalive.c modified , text changed , props changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26