* src/pairs.c (bdd_copypair): Use memcpy to copy from->result,
and correctly copy p->last from from->last.
This commit is contained in:
parent
2f6e476cba
commit
4d6660835a
2 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
2003-05-20 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
||||
|
||||
* src/pairs.c (bdd_copypair): Use memcpy to copy from->result.
|
||||
* src/pairs.c (bdd_copypair): Use memcpy to copy from->result,
|
||||
and correctly copy p->last from from->last.
|
||||
|
||||
* src/pairs.c (bdd_setbddpair): Fix prototype in documentation.
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
========================================================================*/
|
||||
|
||||
/*************************************************************************
|
||||
$Header: /Volumes/CVS/repository/spot/spot/buddy/src/pairs.c,v 1.5 2003/05/20 10:42:19 aduret Exp $
|
||||
$Header: /Volumes/CVS/repository/spot/spot/buddy/src/pairs.c,v 1.6 2003/05/22 12:07:52 aduret Exp $
|
||||
FILE: pairs.c
|
||||
DESCR: Pair management for BDD package.
|
||||
AUTH: Jorn Lind
|
||||
|
|
@ -206,7 +206,7 @@ bddPair *bdd_copypair(bddPair *from)
|
|||
memcpy(p->result, from->result, bddvarnum * sizeof(*p->result));
|
||||
|
||||
p->id = update_pairsid();
|
||||
p->last = -1;
|
||||
p->last = from->last;
|
||||
|
||||
bdd_register_pair(p);
|
||||
return p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue