config.reuseaddr.c: There is no __MINGW__

GSIMap.h: Don't memcpy to/from a null pointer

Tools/GNUmakefile: Don't hardcode obj dir, use the makefile variable.

Added some svn ignore files.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Jeremy Bettis 2006-04-12 20:25:18 +00:00
parent 7d20644264
commit bc4fbce35e
3 changed files with 4 additions and 4 deletions

View file

@ -427,9 +427,9 @@ GSIMapMoreNodes(GSIMapTable map, unsigned required)
size_t chunkCount; size_t chunkCount;
size_t chunkSize; size_t chunkSize;
memcpy(newArray, map->nodeChunks, (map->chunkCount)*sizeof(GSIMapNode));
if (map->nodeChunks != 0) if (map->nodeChunks != 0)
{ {
memcpy(newArray, map->nodeChunks, (map->chunkCount)*sizeof(GSIMapNode));
NSZoneFree(map->zone, map->nodeChunks); NSZoneFree(map->zone, map->nodeChunks);
} }
map->nodeChunks = newArray; map->nodeChunks = newArray;

View file

@ -90,7 +90,7 @@ autogsdoc_AGSDOC_FILES = autogsdoc.m \
autogsdoc_DOC_INSTALL_DIR = Developer/Tools autogsdoc_DOC_INSTALL_DIR = Developer/Tools
# Use local version of autogsdoc in case it is not installed # Use local version of autogsdoc in case it is not installed
AUTOGSDOC=./obj/autogsdoc AUTOGSDOC=./$(GNUSTEP_OBJ_PREFIX)/autogsdoc
include Makefile.preamble include Makefile.preamble

View file

@ -5,7 +5,7 @@
are permitted in any medium without royalty provided the copyright are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. notice and this notice are preserved.
*/ */
#if defined(__MINGW__) || defined(__MINGW32__) #if defined(__MINGW32__)
#include <windows.h> #include <windows.h>
#include <winsock2.h> #include <winsock2.h>
#else #else
@ -16,7 +16,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <signal.h> #include <signal.h>
#endif /* __MINGW__ */ #endif /* __MINGW32__ */
#include <sys/file.h> #include <sys/file.h>
#include <sys/stat.h> #include <sys/stat.h>