- (bal) uuencode.c resync w/ OpenBSD tree, plus whitespace.

This commit is contained in:
Ben Lindstrom 2001-02-10 23:30:16 +00:00
parent e9d0444524
commit 70ea46a382
2 changed files with 5 additions and 2 deletions

View File

@ -87,6 +87,7 @@
(from the OpenBSD tree)
- (bal) Synced ssh.1, ssh-add.1 and sshd.8 w/ OpenBSD
- (bal) sftp-sever.c '%8lld' to '%8llu' (OpenBSD Sync)
- (bal) uuencode.c resync w/ OpenBSD tree, plus whitespace.
20010210
- (djm) Sync sftp and scp stuff from OpenBSD:
@ -3870,4 +3871,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.734 2001/02/10 23:26:35 mouring Exp $
$Id: ChangeLog,v 1.735 2001/02/10 23:30:16 mouring Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $ */
/* $OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@ -26,6 +26,7 @@
#include "includes.h"
#include "xmalloc.h"
#include "uuencode.h"
RCSID("$OpenBSD: uuencode.c,v 1.10 2001/02/08 19:30:53 itojun Exp $");
@ -61,6 +62,7 @@ dump_base64(FILE *fp, u_char *data, int len)
{
u_char *buf = xmalloc(2*len);
int i, n;
n = uuencode(data, len, buf, 2*len);
for (i = 0; i < n; i++) {
fprintf(fp, "%c", buf[i]);