<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/unix, branch cmn/init-libssh2</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>nsec: support NDK's crazy nanoseconds</title>
<updated>2016-02-25T16:40:48+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-25T16:23:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3d6a42d1e14281c564d779e7490d761555d014d4'/>
<id>3d6a42d1e14281c564d779e7490d761555d014d4</id>
<content type='text'>
Android NDK does not have a `struct timespec` in its `struct stat`
for nanosecond support, instead it has a single nanosecond member inside
the struct stat itself.  We will use that and use a macro to expand to
the `st_mtim` / `st_mtimespec` definition on other systems (much like
the existing `st_mtime` backcompat definition).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android NDK does not have a `struct timespec` in its `struct stat`
for nanosecond support, instead it has a single nanosecond member inside
the struct stat itself.  We will use that and use a macro to expand to
the `st_mtim` / `st_mtimespec` definition on other systems (much like
the existing `st_mtime` backcompat definition).
</pre>
</div>
</content>
</entry>
<entry>
<title>map: use `giterr_set` internally</title>
<updated>2016-02-23T18:08:50+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-23T18:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=04c3b35f9c90fb93390c0198bc1a8123ca13e081'/>
<id>04c3b35f9c90fb93390c0198bc1a8123ca13e081</id>
<content type='text'>
Use the `giterr_set` function, which actually supports `GITERR_OS`.
The `giterr_set_str` function is exposed for external users and will
not append the operating system's error message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the `giterr_set` function, which actually supports `GITERR_OS`.
The `giterr_set_str` function is exposed for external users and will
not append the operating system's error message.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: introduce p_timeval that isn't stupid</title>
<updated>2016-02-12T18:34:15+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-02-11T20:24:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=35439f5997c41d0c50d58997c2167ee93aad6c30'/>
<id>35439f5997c41d0c50d58997c2167ee93aad6c30</id>
<content type='text'>
Windows defines `timeval` with `long`, which we cannot
sanely cope with.  Instead, use a custom timeval struct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows defines `timeval` with `long`, which we cannot
sanely cope with.  Instead, use a custom timeval struct.
</pre>
</div>
</content>
</entry>
<entry>
<title>p_futimes: support using futimens when available</title>
<updated>2015-09-30T09:37:20+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-09-29T17:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=8649dfd8df4f0d840a64c1d6c5fc80b8e94a68d1'/>
<id>8649dfd8df4f0d840a64c1d6c5fc80b8e94a68d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>posix compat: include sys/stat.h for mingw</title>
<updated>2015-06-30T14:31:07+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-06-30T14:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=69c8bf7e0dd7b2db5d659e6fd329f229b7197af2'/>
<id>69c8bf7e0dd7b2db5d659e6fd329f229b7197af2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed Xcode 6.1 build warnings</title>
<updated>2015-06-17T16:00:23+00:00</updated>
<author>
<name>Pierre-Olivier Latour</name>
<email>pol@mac.com</email>
</author>
<published>2015-06-17T16:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=85a5e8ebe171afa948e0ad18fe3769e0fe1244b5'/>
<id>85a5e8ebe171afa948e0ad18fe3769e0fe1244b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce p_utimes and p_futimes</title>
<updated>2015-06-16T19:32:02+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-06-16T19:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=121c3171e5b4918337910250487691efa8dbbd49'/>
<id>121c3171e5b4918337910250487691efa8dbbd49</id>
<content type='text'>
Provide functionality to set the time on a filesystem entry,
using utimes or futimes on POSIX type systems or SetFileTime
on Win32.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide functionality to set the time on a filesystem entry,
using utimes or futimes on POSIX type systems or SetFileTime
on Win32.
</pre>
</div>
</content>
</entry>
<entry>
<title>crlf: tick the index forward to work around racy-git behaviour</title>
<updated>2015-06-16T06:40:45+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-15T12:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c4e6ab5f23819c35dc0c1a0fd7f50e5a194f0d5a'/>
<id>c4e6ab5f23819c35dc0c1a0fd7f50e5a194f0d5a</id>
<content type='text'>
In order to avoid racy-git, we zero out the file size for entries with
the same timestamp as the index (or during the initial checkout). This
is the case in a couple of crlf tests, as the code is fast enough to do
everything in the same second.

As we know that we do not perform the modification just after writing
out the index, which is what this is designed to work around, tick the
mtime of the index file such that it doesn't agree with the files
anymore, and we do not zero out these entries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to avoid racy-git, we zero out the file size for entries with
the same timestamp as the index (or during the initial checkout). This
is the case in a couple of crlf tests, as the code is fast enough to do
everything in the same second.

As we know that we do not perform the modification just after writing
out the index, which is what this is designed to work around, tick the
mtime of the index file such that it doesn't agree with the files
anymore, and we do not zero out these entries.
</pre>
</div>
</content>
</entry>
<entry>
<title>git_path: introduce 'git_path_diriter'</title>
<updated>2015-05-01T16:31:05+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2015-04-29T15:05:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=edbfc52cdd8657371c53070c5e09b58e004bb67a'/>
<id>edbfc52cdd8657371c53070c5e09b58e004bb67a</id>
<content type='text'>
Introduce a new `git_path_diriter` that can iterate directories
efficiently for each platform.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new `git_path_diriter` that can iterate directories
efficiently for each platform.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix segmentation fault observed on OpenBSD/sparc64</title>
<updated>2014-11-03T12:49:04+00:00</updated>
<author>
<name>Stefan Sperling</name>
<email>stsp@openbsd.org</email>
</author>
<published>2014-11-03T12:46:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=aad0bd6bc78b79bb8c0778c0c135c167d359fe12'/>
<id>aad0bd6bc78b79bb8c0778c0c135c167d359fe12</id>
<content type='text'>
A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A non-readable mapping of a file causes an access violation in
the pack tests. Always use PROT_READ to work around this.
</pre>
</div>
</content>
</entry>
</feed>
