Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/console-tools/loadkmap.c

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

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 30  int loadkmap_main(int argc UNUSED_PARAM, Line 30  int loadkmap_main(int argc UNUSED_PARAM,
30   int i, j, fd;   int i, j, fd;
31   uint16_t ibuff[NR_KEYS];   uint16_t ibuff[NR_KEYS];
32  /* const char *tty_name = CURRENT_TTY; */  /* const char *tty_name = CURRENT_TTY; */
33   RESERVE_CONFIG_BUFFER(flags,MAX_NR_KEYMAPS);   RESERVE_CONFIG_BUFFER(flags, MAX_NR_KEYMAPS);
34    
35  /* bb_warn_ignoring_args(argc >= 2); */  /* bb_warn_ignoring_args(argv[1]); */
36   fd = get_console_fd_or_die();   fd = get_console_fd_or_die();
37  /* or maybe:  /* or maybe:
38   opt = getopt32(argv, "C:", &tty_name);   opt = getopt32(argv, "C:", &tty_name);
39   fd = xopen(tty_name, O_NONBLOCK);   fd = xopen_nonblocking(tty_name);
40  */  */
41    
42   xread(STDIN_FILENO, flags, 7);   xread(STDIN_FILENO, flags, 7);

Legend:
Removed from v.983  
changed lines
  Added in v.984