Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/printutils/lpr.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 65  int lpqr_main(int argc UNUSED_PARAM, cha Line 65  int lpqr_main(int argc UNUSED_PARAM, cha
65   const char *server = "localhost"; // server[:port] of printer queue   const char *server = "localhost"; // server[:port] of printer queue
66   char *hostname;   char *hostname;
67   // N.B. IMHO getenv("USER") can be way easily spoofed!   // N.B. IMHO getenv("USER") can be way easily spoofed!
68   const char *user = bb_getpwuid(NULL, -1, getuid());   const char *user = xuid2uname(getuid());
69   unsigned job;   unsigned job;
70   unsigned opts;   unsigned opts;
71   int fd;   int fd;

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