<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/fileutl.cc, branch 3.1.2</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=3.1.2</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=3.1.2'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2025-05-19T15:58:13Z</updated>
<entry>
<title>Fix error handling with getline</title>
<updated>2025-05-19T15:58:13Z</updated>
<author>
<name>Walter Lozano</name>
<email>walter.lozano@collabora.com</email>
</author>
<published>2022-10-14T12:13:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=91e8c456964d5ff4b3b7afe2f1cb074de9dfe592'/>
<id>urn:sha1:91e8c456964d5ff4b3b7afe2f1cb074de9dfe592</id>
<content type='text'>
The function getline is used to read data from different streams, however,
the error handling is not accurate.

From the man page, getline returns -1 on failure and sets errno accordingly,
but the current implementation only checks errno to see if there was a
failure. With this approach, in case getline returns success but also sets
errno it is consider and error.

Fix the issue but also checking the return value of getline.

Signed-off-by: Walter Lozano &lt;walter.lozano@collabora.com&gt;
</content>
</entry>
<entry>
<title>fileutl: Convert FileFd::d to std::unique_ptr</title>
<updated>2025-02-15T08:51:55Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>julian.klode@canonical.com</email>
</author>
<published>2025-02-15T08:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=cb7822179bd21abd079664a0af02f8ea6559c788'/>
<id>urn:sha1:cb7822179bd21abd079664a0af02f8ea6559c788</id>
<content type='text'>
</content>
</entry>
<entry>
<title>StartsWithGPGClearTextSignature(): don't keep un-written-to pointer to constant string in .data</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T22:48:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dcb2126aee2d54d1ac0f2d11133a93fa01851fcb'/>
<id>urn:sha1:dcb2126aee2d54d1ac0f2d11133a93fa01851fcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flAbsPath(): try to re-use storage of argument</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T22:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e9461c19db6d6c353b6a5355ead8dda2e9045229'/>
<id>urn:sha1:e9461c19db6d6c353b6a5355ead8dda2e9045229</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take const&amp; in flNotFile()</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T20:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c3b35fb1c8f12786bd3e68bd260e0488e17806d9'/>
<id>urn:sha1:c3b35fb1c8f12786bd3e68bd260e0488e17806d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take const&amp; in GetLock()</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e3ec59bc982ca9dfb6bf6a322ec4abac907eb152'/>
<id>urn:sha1:e3ec59bc982ca9dfb6bf6a322ec4abac907eb152</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take const&amp; in Rename()</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:53:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=30c3929e82c6894ff0460060c133f852b508965c'/>
<id>urn:sha1:30c3929e82c6894ff0460060c133f852b508965c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Take const&amp; in {,Real}FileExists()</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b1e826ae216eb473469ba7e4f43b0e4a7f7d6388'/>
<id>urn:sha1:b1e826ae216eb473469ba7e4f43b0e4a7f7d6388</id>
<content type='text'>
</content>
</entry>
<entry>
<title>string{=&gt; _view} flNotDir(string{=&gt; _view}). Configuration::{Cnd,}Set(Value: string{=&gt; _view})</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T19:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=729a5c8f4fb8c841497d26170e1a47c41617ecd9'/>
<id>urn:sha1:729a5c8f4fb8c841497d26170e1a47c41617ecd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>string{=&gt; _view} flExtension(string{=&gt; _view})</title>
<updated>2025-02-14T18:45:12Z</updated>
<author>
<name>наб</name>
<email>nabijaczleweli@nabijaczleweli.xyz</email>
</author>
<published>2025-01-23T18:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2499d9ff0c55a445a62643028a9d3bc9faf1195a'/>
<id>urn:sha1:2499d9ff0c55a445a62643028a9d3bc9faf1195a</id>
<content type='text'>
</content>
</entry>
</feed>
