OSSP CVS Repository

ossp - Ticket #161
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 161: Wrong line uuid_bytea->vl_len in uuid.c

"uuid-1.6.0\pgsql\uuid.c" "line 203"

"The line says:" uuid_bytea->vl_len = VARHDRSZ + UUID_LEN_BIN;

"but the right name of vl_len is vl_len_"

"We solve this, adding _ at the end of the variable, because in the postgresql source code is written in this way vl_len_"

"Besides, in the postgresql-8.3beta1/contrib/uuid-ossp/Makefile we have changed the following sentence:"

SHLIB_LINK +=-luuid "instead of" SHLIB_LINK += -lossp-uuid "because if it doesn't change we can't crete the functions in pgplsql"

[Append remarks]

Remarks:

We now use SET_VARSIZE in the forthcoming OSSP uuid version. The name of the library is libuuid.a so -luuid is correct. The -lossp-uuid is something particular vendors introduce only.
[Append remarks]

Properties:

Type: code           Version: 1.6.0 
Status: fixed          Created: 2007-Oct-11 21:53
Severity:          Last Change: 2007-Oct-12 22:36
Priority:          Subsystem: uuid 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1