Index: ossp-pkg/uuid/uuid.h RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.h,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.h,v' 2>/dev/null --- uuid.h 2004/01/06 20:14:28 1.1 +++ uuid.h 2004/01/06 20:29:51 1.2 @@ -67,11 +67,9 @@ * "f81d4fae-7dec-11d0-a765-00a0c91e6bf6" */ -/* encoding lengths */ -#define UUID_LEN_BIN_BIT 128 -#define UUID_LEN_BIN_CHR (UUID_LEN_BIN_BIT / 8 /*bytes*/) -#define UUID_LEN_STR_CHR (UUID_LEN_BIN_BIT / 4 /*nibbles*/ + 4 /*hyphens*/ + 1 /*nul*/) -#define UUID_LEN_STR_BIT (UUID_LEN_STR_CHR * 8) +/* encoding octet stream lengths */ +#define UUID_LEN_BIN (128 / 8 /*bytes*/) +#define UUID_LEN_STR (128 / 4 /*nibbles*/ + 4 /*hyphens*/ + 1 /*nul*/) /* return codes */ typedef enum { Index: ossp-pkg/uuid/uuid_cli.c RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid_cli.c,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid_cli.c,v' 2>/dev/null --- uuid_cli.c 2004/01/06 20:14:28 1.1 +++ uuid_cli.c 2004/01/06 20:29:51 1.2 @@ -148,7 +148,7 @@ vp = NULL; if ((rc = uuid_write(uuid, &vp)) != UUID_RC_OK) error(1, "uuid_format: %s", uuid_error(rc)); - fwrite(vp, UUID_LEN_BIN_CHR, 1, fp); + fwrite(vp, UUID_LEN_BIN, 1, fp); free(vp); } }