Invoke pgp correctly. [rsc] --rw-rw-r-- M 777458 glenda sys 32852 Dec 23 10:37 sys/src/cmd/upas/marshal/marshal.c /n/sourcesdump/2005/1223/plan9/sys/src/cmd/upas/marshal/marshal.c:1125,1130 - /n/sourcesdump/2005/1224/plan9/sys/src/cmd/upas/marshal/marshal.c:1125,1131 v = av = emalloc(sizeof(char*)*8); ac = 0; v[ac++] = "pgp"; + v[ac++] = "-fat"; /* operate as a filter, generate text */ if(pgpflag & PGPsign) v[ac++] = "-s"; if(pgpflag & PGPencrypt) /n/sourcesdump/2005/1223/plan9/sys/src/cmd/upas/marshal/marshal.c:1144,1150 - /n/sourcesdump/2005/1224/plan9/sys/src/cmd/upas/marshal/marshal.c:1145,1153 dup(fd, 1); close(fd); - exec("/bin/upas/pgp", av); + /* add newline to avoid confusing pgp output with 822 headers */ + write(1, "\n", 1); + exec("/bin/pgp", av); fatal("execing: %r"); break; default: