Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/libbb/wfopen_input.c

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

revision 1178 by niro, Fri Apr 24 18:33:46 2009 UTC revision 1179 by niro, Wed Dec 15 21:33:41 2010 UTC
# Line 4  Line 4 
4   *   *
5   * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>   * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
6   *   *
7   * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.   * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8   */   */
9    
10  /* A number of applets need to open a file for reading, where the filename  /* A number of applets need to open a file for reading, where the filename
# Line 46  int FAST_FUNC open_or_warn_stdin(const c Line 46  int FAST_FUNC open_or_warn_stdin(const c
46    
47   return fd;   return fd;
48  }  }
49    
50    int FAST_FUNC xopen_stdin(const char *filename)
51    {
52     int fd = open_or_warn_stdin(filename);
53     if (fd >= 0)
54     return fd;
55     xfunc_die(); /* We already output an error message. */
56    }

Legend:
Removed from v.1178  
changed lines
  Added in v.1179