thandle pids without files correctly. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c2a9c3bb4efbad76a7971e314bdd791bbe5044ae
(DIR) parent f91245eb2943cbacabb69ee8f0b68310ed23e6bd
(HTM) Author: rsc <devnull@localhost>
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(-)
---
(DIR) 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;
}