cvs: php-src /ext/standard uuencode.c

From: Date: Mon, 12 Mar 2007 20:55:07 +0000
Subject: cvs: php-src /ext/standard uuencode.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43504@lists.php.net to get a copy of this message
tony2001 Mon Mar 12 20:55:07 2007 UTC Modified files: /php-src/ext/standard uuencode.c Log: fix folding and add missing footer http://cvs.php.net/viewvc.cgi/php-src/ext/standard/uuencode.c?r1=1.11&r2=1.12&diff_format=u Index: php-src/ext/standard/uuencode.c diff -u php-src/ext/standard/uuencode.c:1.11 php-src/ext/standard/uuencode.c:1.12 --- php-src/ext/standard/uuencode.c:1.11 Mon Jan 1 09:29:32 2007 +++ php-src/ext/standard/uuencode.c Mon Mar 12 20:55:07 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: uuencode.c,v 1.11 2007/01/01 09:29:32 sebastian Exp $ */ +/* $Id: uuencode.c,v 1.12 2007/03/12 20:55:07 tony2001 Exp $ */ /* * Portions of this code are based on Berkeley's uuencode/uudecode @@ -65,7 +65,7 @@ #define PHP_UU_DEC(c) (((c) - ' ') & 077) -PHPAPI int php_uuencode(char *src, int src_len, char **dest) +PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */ { int len = 45; char *p, *s, *e, *ee; @@ -122,8 +122,9 @@ return (p - *dest); } +/* }}} */ -PHPAPI int php_uudecode(char *src, int src_len, char **dest) +PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ { int len, total_len=0; char *s, *e, *p, *ee; @@ -182,6 +183,7 @@ efree(*dest); return -1; } +/* }}} */ /* {{{ proto string convert_uuencode(string data) U uuencode a string */ @@ -245,3 +247,12 @@ RETURN_STRINGL(dst, dst_len, 0); } /* }}} */ + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: noet sw=4 ts=4 fdm=marker + * vim<600: noet sw=4 ts=4 + */

« previous php.cvs (#43504) next »