summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-12Preserve errno when returning errorHEADmasterLars Wirzenius1-0/+5
Reported-By: Russ Allbery
2013-01-12Add clarifying comment to test caseLars Wirzenius1-0/+5
The test case is currently failing, for reasons that are unclear to me. I already almost "fixed" it by reversing the sense of the test condition, but that would have been wrong. This is reason enough to clarify what is going in a comment.
2011-03-18Add an explicit SONAME versioning number to lib/Makefile.am.Lars Wirzenius1-0/+1
2011-03-05Add note about gitorious to README.Lars Wirzenius1-0/+2
2011-03-05Add example.Lars Wirzenius1-0/+30
2011-03-05Add rudimentary README.Lars Wirzenius1-1/+26
2011-03-05Add missing <unistd.h> include.Lars Wirzenius1-0/+1
2011-03-05Add ChangeLog.Lars Wirzenius1-0/+1
2011-03-05Add AUTHORS.Lars Wirzenius1-0/+1
2011-03-05Add empty README.Lars Wirzenius1-0/+4
2011-03-05Add empty NEWS.Lars Wirzenius1-0/+4
2011-03-05Ignore stuff.Lars Wirzenius1-0/+11
2011-03-05Force git to include m4 dir.Lars Wirzenius1-0/+0
2011-03-05Add generic installation instructions.Lars Wirzenius1-0/+365
2011-03-05Add license.Lars Wirzenius1-0/+674
2011-03-05Don't be a foreigner.Lars Wirzenius1-0/+10
2011-03-05Remove generated files from git.Lars Wirzenius19-36881/+0
2011-03-05Run unittests in check target.Lars Wirzenius2-0/+6
2011-03-05Ignore some more files.Lars Wirzenius1-0/+3
2011-03-05Remove from git files removed by distclean.Lars Wirzenius5-10688/+0
2011-03-05Add more stuff to git. No idea what is going on.Lars Wirzenius15-100/+17970
2011-03-05Add stuff.Lars Wirzenius15-0/+21219
2011-03-05Add autom4te.cache to .gitignore.Lars Wirzenius1-0/+1
2011-03-05Add autotools files to git, so I can track them.Lars Wirzenius8-0/+8482
2011-03-05Remove .gitignore.Lars Wirzenius1-9/+0
2011-03-05Add .gitignore.Lars Wirzenius1-2/+9
2011-03-05Remove moved files.Lars Wirzenius4-2036/+0
2011-03-05Move stuff around and add initial autotools files.Lars Wirzenius6-0/+2033
2010-10-27Fix EAGAIN be EINTR.Lars Wirzenius1-2/+2
2010-10-27Further reword the dynstr_memcpy description.Lars Wirzenius1-4/+4
2010-10-26Change Dynstr to not allocate memory for string separately.Lars Wirzenius2-81/+52
Suggested by Richard Braakman.
2010-10-26Rename new() to newstr() to appease C++.Lars Wirzenius1-9/+9
Suggested by Richard Braakman.
2010-10-26Add dynstr_strup function.Lars Wirzenius3-0/+35
Thanks to Richard Braakman for suggesting this.
2010-10-26Handle EAGAIN errors when reading from file descriptors.Lars Wirzenius1-4/+8
2010-10-26Rename dynstr_cat to dynstr_cat_many and introduce 2-argument dynstr_cat.Lars Wirzenius3-8/+18
2010-10-26Clean up temporary files in unit tests when all goes well.Lars Wirzenius1-0/+5
2010-10-26Clean up unittest temporary files in "make clean".Lars Wirzenius2-4/+4
2010-10-26Reduce string catenation overhead a little bit in readline functions.Lars Wirzenius1-2/+2
When we make a temporary dynstr for the buffered text to be appended, we can use dynstr_new_from_constant_memory, since the buffer won't change while the temporary string lives. Thanks to Richard Braakman for pointing this out.
2010-10-26Change calls to dynstr_cat to use (void*)NULL instead of plain NULL.Lars Wirzenius2-6/+6
This avoids problems when NULL is #defined as 0, and is being used in a variable argument list. Thanks to Richard Braakman for pointing this out.
2010-10-26Clarify comments based on feedback from Richard Braakman.Lars Wirzenius1-9/+11
2010-10-25Reformat files, add comments, add copyright and license info.Lars Wirzenius3-6/+86
2010-10-25Avoid doing a large number of small allocs in readline_helper.Lars Wirzenius1-7/+26
2010-10-25Implement dynstr_readline and dynstr_freadline.Lars Wirzenius2-0/+157
This is a very stupid implementation.
2010-10-25Implement dynstr_fread and dynstr_read.Lars Wirzenius3-5/+138
2010-10-25Refactor unittest to combine identical code for write and fwrite tests.Lars Wirzenius1-31/+28
2010-10-25Remove outdated comment.Lars Wirzenius1-2/+0
2010-10-25Implement dynstr_write.Lars Wirzenius3-3/+54
Changed the function signature since write(2) is so different from fwrite(3), and there's no point in trying to shoehorn the two into the same mold.
2010-10-25Modify test for dynstr_fwrite to check that it wrote correctly.Lars Wirzenius1-1/+11
2010-10-25Implement dynstr_cmp.Lars Wirzenius3-0/+116
2010-10-25Implement dynstr_fwrite.Lars Wirzenius2-0/+36