Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 102551 Details for
Bug 234460
TPTP hashtable implementation experiences table-entry loss in certain cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Bug 234460 patch
bug-234460.patch (text/plain), 1.79 KB, created by
Jonathan West
on 2008-05-28 21:51:24 EDT
(
hide
)
Description:
Bug 234460 patch
Filename:
MIME Type:
Creator:
Jonathan West
Created:
2008-05-28 21:51:24 EDT
Size:
1.79 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.agentcontroller >Index: src-native-new/src/transport/BaseTransport/BaseTL.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/transport/BaseTransport/BaseTL.c,v >retrieving revision 1.15 >diff -u -r1.15 BaseTL.c >--- src-native-new/src/transport/BaseTransport/BaseTL.c 29 Apr 2008 19:19:26 -0000 1.15 >+++ src-native-new/src/transport/BaseTransport/BaseTL.c 29 May 2008 01:43:22 -0000 >@@ -319,7 +319,7 @@ > tl_control_connection_t* connectionEntry; > > /* Allocate a connection entry block */ >- connectionEntry = tptp_malloc( sizeof(tl_data_connection_t) ); >+ connectionEntry = (tl_control_connection_t*)tptp_malloc( sizeof(tl_control_connection_t) ); > if ( connectionEntry == NULL ) > { > return TPTP_ERROR_OUT_OF_MEMORY; >Index: src-native-new/src/shared/TPTPUtil/hashtable.c >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/src/shared/TPTPUtil/hashtable.c,v >retrieving revision 1.5 >diff -u -r1.5 hashtable.c >--- src-native-new/src/shared/TPTPUtil/hashtable.c 4 Apr 2006 23:19:39 -0000 1.5 >+++ src-native-new/src/shared/TPTPUtil/hashtable.c 29 May 2008 01:43:21 -0000 >@@ -249,7 +249,7 @@ > HashTable* tableCreate() > { > HashTable* hasht; >- long int initialCapacity = 101; >+ long int initialCapacity = 1001; > > hasht = (HashTable*) tptp_malloc(sizeof(HashTable)); > >@@ -450,7 +450,7 @@ > > memset(hasht->table,'\0',hasht->table_len * sizeof(Entry*)); > >- for (i = oldCapacity-1; i-- > 0;) { >+ for (i = oldCapacity; i-- > 0;) { > for (old = oldMap[i]; old != NULL; ) { > ent = old; > old = (Entry*)old->next;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234460
:
102551
|
103054