unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob a5951101c69f371e64ebaf217267c9a6acc7ceb3 443 bytes (raw)
name: compat/check_asctime.c 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
/*
 * This compatibility check actually succeeds (on Solaris) if
 * _POSIX_PTHREAD_SEMANTICS is not defined.  But we need to define that to get
 * the right version of getpwuid_r(), so we define it here to ensure that the
 * compatibility check ends up doing the same thing as the rest of the code.
 */
#define	_POSIX_PTHREAD_SEMANTICS
#include <time.h>

int main()
{
    struct tm tm;

    (void) asctime_r (&tm, NULL, 0);

    return (0);
}

debug log:

solving a595110 ...
found a595110 in https://yhetil.org/notmuch/1351998962-25135-3-git-send-email-blakej@foo.net/

applying [1/1] https://yhetil.org/notmuch/1351998962-25135-3-git-send-email-blakej@foo.net/
diff --git a/compat/check_asctime.c b/compat/check_asctime.c
new file mode 100644
index 0000000..a595110

Checking patch compat/check_asctime.c...
Applied patch compat/check_asctime.c cleanly.

index at:
100644 a5951101c69f371e64ebaf217267c9a6acc7ceb3	compat/check_asctime.c

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).