thandle pids without files correctly. - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit c2a9c3bb4efbad76a7971e314bdd791bbe5044ae
parent f91245eb2943cbacabb69ee8f0b68310ed23e6bd
Author: rsc 
Date:   Mon, 19 Apr 2004 19:34:22 +0000

handle pids without files correctly.

Diffstat:
  M src/cmd/acid/main.c                 |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/cmd/acid/main.c b/src/cmd/acid/main.c
t@@ -213,7 +213,7 @@ attachfiles(int argc, char **argv)
                 }
                 /* XXX pull command from core */
 
-                if((hdr = crackhdr(symfil, omode)) == nil){
+                if((symhdr = crackhdr(symfil, omode)) == nil){
                         fprint(2, "crackhdr %s: %r\n", symfil);
                         symfil = nil;
                 }