mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Paul's LFS pacthes and started with pipemode
This commit is contained in:
parent
91451a22c6
commit
99e70f7ac7
26 changed files with 1283 additions and 769 deletions
11
g10/armor.c
11
g10/armor.c
|
@ -928,8 +928,15 @@ armor_filter( void *opaque, int control,
|
|||
iobuf_writestr(a, LF );
|
||||
}
|
||||
|
||||
if( afx->hdrlines )
|
||||
iobuf_writestr(a, afx->hdrlines);
|
||||
if ( afx->hdrlines ) {
|
||||
for ( s = afx->hdrlines; *s; s++ ) {
|
||||
#ifdef HAVE_DOSISH_SYSTEM
|
||||
if ( *s == '\n' )
|
||||
iobuf_put( a, '\r');
|
||||
#endif
|
||||
iobuf_put(a, *s );
|
||||
}
|
||||
}
|
||||
iobuf_writestr(a, LF );
|
||||
afx->status++;
|
||||
afx->idx = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue