/[hurd]/hurd/console/console.c
ViewVC logotype

Diff of /hurd/console/console.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by marcus, Sun Jun 2 02:36:10 2002 UTC revision 1.3 by marcus, Mon Jun 3 01:28:27 2002 UTC
# Line 248  vcons_release (vcons_t vcons) Line 248  vcons_release (vcons_t vcons)
248    
249        if (vcons->prev)        if (vcons->prev)
250          vcons->prev->next = vcons->next;          vcons->prev->next = vcons->next;
251          else
252            vcons->cons->vcons_list = vcons->next;
253        if (vcons->next)        if (vcons->next)
254          vcons->next->prev = vcons->prev;          vcons->next->prev = vcons->prev;
255        if (!vcons->prev && !vcons->next)  
         vcons->cons->vcons_list = NULL;  
256        vcons->cons->vcons_length--;        vcons->cons->vcons_length--;
257        vcons->cons->refcnt--;        vcons->cons->refcnt--;
258        free (vcons);        free (vcons);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26