/[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.10 by marcus, Thu Jun 13 00:24:26 2002 UTC revision 1.11 by marcus, Mon Jun 17 01:42:06 2002 UTC
# Line 301  new_node (struct node **np, vcons_t vcon Line 301  new_node (struct node **np, vcons_t vcon
301        (*np)->nn_stat.st_ino = (vcons->id << 2) + 2;        (*np)->nn_stat.st_ino = (vcons->id << 2) + 2;
302        (*np)->nn_stat.st_mode |= S_IFREG;        (*np)->nn_stat.st_mode |= S_IFREG;
303        (*np)->nn_stat.st_mode &= ~(S_IXUSR | S_IXGRP | S_IXOTH);        (*np)->nn_stat.st_mode &= ~(S_IXUSR | S_IXGRP | S_IXOTH);
304        (*np)->nn_stat.st_size = 2011 * sizeof (wchar_t); /* XXX */        (*np)->nn_stat.st_size = 80*50 * (sizeof (wchar_t) + 4)
305            + 11 * 4; /* XXX */
306        break;        break;
307      case VCONS_NODE_INPUT:      case VCONS_NODE_INPUT:
308        (*np)->nn_stat.st_ino = (vcons->id << 2) + 3;        (*np)->nn_stat.st_ino = (vcons->id << 2) + 3;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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