Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/archival/libunarchive/open_transformer.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 12  Line 12 
12   * in include/unarchive.h. On NOMMU, transformer is removed.   * in include/unarchive.h. On NOMMU, transformer is removed.
13   */   */
14  void FAST_FUNC open_transformer(int fd,  void FAST_FUNC open_transformer(int fd,
15   USE_DESKTOP(long long) int FAST_FUNC (*transformer)(int src_fd, int dst_fd),   IF_DESKTOP(long long) int FAST_FUNC (*transformer)(int src_fd, int dst_fd),
16   const char *transform_prog)   const char *transform_prog)
17  {  {
18   struct fd_pair fd_pipe;   struct fd_pair fd_pipe;
# Line 52  void FAST_FUNC open_transformer(int fd, Line 52  void FAST_FUNC open_transformer(int fd,
52   argv[2] = (char*)"-";   argv[2] = (char*)"-";
53   argv[3] = NULL;   argv[3] = NULL;
54   BB_EXECVP(transform_prog, argv);   BB_EXECVP(transform_prog, argv);
55   bb_perror_msg_and_die("can't exec %s", transform_prog);   bb_perror_msg_and_die("can't execute '%s'", transform_prog);
56   }   }
57  #endif  #endif
58   /* notreached */   /* notreached */

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