<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/base64.c, branch v6.8</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.8</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2007-01-04T10:52:52Z</updated>
<entry>
<title>[ChangeLog]</title>
<updated>2007-01-04T10:52:52Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-01-04T10:52:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3b933f1e33197fec6a59466df1337292ec7bfa56'/>
<id>urn:sha1:3b933f1e33197fec6a59466df1337292ec7bfa56</id>
<content type='text'>
When decoding, always allow newlines in input, with almost no
performance impact.
* src/base64.c (do_decode): Initialize decode context.
Call base64_decode one more time, after all input is processed.
(usage): When decoding, newlines are always accepted.

* tests/misc/base64: Add a bunch of tests, for the above.
* gl/lib/base64.c: Include &lt;string.h&gt;.
(base64_decode_ctx_init, get_4, decode_4): New functions.
(base64_decode): Efficiently handle interspersed newlines.
(base64_decode_alloc): Update signature.
* gl/lib/base64.h (struct base64_decode_context): Define.
(base64_decode_ctx_init): Add prototype.
(base64_decode, base64_decode_alloc): Update prototypes.
[doc/ChangeLog]
* coreutils.texi (base64 invocation): When decoding, newlines
are always accepted.
</content>
</entry>
<entry>
<title>(do_decode): Output to parameter OUT, not to stdout.</title>
<updated>2006-07-14T17:54:54Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-14T17:54:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=77c9d9a00952a981976e4bc929755bab61d81c68'/>
<id>urn:sha1:77c9d9a00952a981976e4bc929755bab61d81c68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.</title>
<updated>2006-03-05T11:20:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-05T11:20:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=83e984547b146f0546342f354a7ce9cba90f9fec'/>
<id>urn:sha1:83e984547b146f0546342f354a7ce9cba90f9fec</id>
<content type='text'>
(wrap_write, do_encode, main): Change type of
parameters and locals, wrap_column, form size_t to uintmax_t.
(main): Adjust to use xstrtoumax, accordingly.
</content>
</entry>
<entry>
<title>(do_decode): Use correct type for parameter, ignore_garbage: s/size_t/bool/.</title>
<updated>2006-02-27T13:31:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-27T13:31:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=193f1a070a6d566ae2d938e39b5030893260d919'/>
<id>urn:sha1:193f1a070a6d566ae2d938e39b5030893260d919</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(wrap_write): Correct declaration syntax: s/size_t * V/size_t *V/.</title>
<updated>2006-02-27T10:42:36Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-27T10:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b4b3e819aa7a0d9d1ca35ed675381758803c9d86'/>
<id>urn:sha1:b4b3e819aa7a0d9d1ca35ed675381758803c9d86</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't include .h files already included by system.h:</title>
<updated>2006-02-27T10:41:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-27T10:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ee5fbeafea9947a4f81daac8cce572d9ca82d8eb'/>
<id>urn:sha1:ee5fbeafea9947a4f81daac8cce572d9ca82d8eb</id>
<content type='text'>
&lt;string.h&gt;, &lt;stdlib.h&gt;, &lt;stdbool.h&gt;, &lt;limits.h&gt;, &lt;errno.h&gt;.
Include "system.h" before the other lib/*.h header files.
Include &lt;sys/types.h&gt; before "system.h".
(wrap_write): Remove declaration of unused local, initial_column.
</content>
</entry>
<entry>
<title>*** empty log message ***</title>
<updated>2006-02-27T10:35:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-27T10:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cec76053e7f1e8ae2c3e88dfb1ee0edac49f5a05'/>
<id>urn:sha1:cec76053e7f1e8ae2c3e88dfb1ee0edac49f5a05</id>
<content type='text'>
</content>
</entry>
</feed>
