URI: 
       tWho'd have guessed this was broken? - 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 a29753a17ffd2be43fbadb9f1851d1aacf771d44
   DIR parent 2c7cc0faaf79742d021f72e103b4d828a581df4e
  HTML Author: rsc <devnull@localhost>
       Date:   Wed, 21 Apr 2004 06:20:19 +0000
       
       Who'd have guessed this was broken?
       
       Diffstat:
         M src/cmd/mk/archive.c                |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/src/cmd/mk/archive.c b/src/cmd/mk/archive.c
       t@@ -105,7 +105,7 @@ atimes(char *ar)
                struct ar_hdr h;
                long t;
                int fd, i;
       -        char buf[BIGBLOCK];
       +        char buf[1024];
                char name[sizeof(h.name)+1];
        
                fd = open(ar, OREAD);
       t@@ -126,7 +126,7 @@ atimes(char *ar)
                        if(name[i] == '/')                /* system V bug */
                                i--;
                        name[i+1]=0;
       -                sprint(buf, "%s(%s)", ar, h.size);
       +                snprint(buf, sizeof buf, "%s(%s)", ar, name);
                        symlook(strdup(buf), S_TIME, (void *)t)->value = (void *)t;
                        t = atol(h.size);
                        if(t&01) t++;