URI: 
       tallow - as input file - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit c39bd3556bde09d322d09b0c968a67d36f2f4b09
   DIR parent e2a1725dfc268b75c44093381da2a119e570f5fa
  HTML Author: rsc <devnull@localhost>
       Date:   Tue,  4 Jan 2005 21:25:17 +0000
       
       allow - as input file
       
       Diffstat:
         M src/cmd/auxclog.c                   |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/auxclog.c b/src/cmd/auxclog.c
       t@@ -34,7 +34,10 @@ main(int argc, char **argv)
                        exits("usage");
                }
        
       -        fd = open(argv[1], OREAD);
       +        if(strcmp(argv[1], "-") == 0)
       +                fd = 1;
       +        else
       +                fd = open(argv[1], OREAD);
                if(fd < 0){
                        fprint(2, "%s: can't open %s: %r\n", argv0, argv[1]);
                        exits("open");