unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob c508fbf832caac35b0efae102ef13153b7cd5384 465 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
18
 
/*
 * 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 1
#include <time.h>
#include <stdio.h>

int main()
{
    struct tm tm;

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

    return (0);
}

debug log:

solving c508fbf ...
found c508fbf in https://yhetil.org/notmuch/1352859005-18631-3-git-send-email-blakej@foo.net/ ||
	https://yhetil.org/notmuch/1352142123-18286-3-git-send-email-blakej@foo.net/

applying [1/1] https://yhetil.org/notmuch/1352859005-18631-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..c508fbf

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

skipping https://yhetil.org/notmuch/1352142123-18286-3-git-send-email-blakej@foo.net/ for c508fbf
index at:
100644 c508fbf832caac35b0efae102ef13153b7cd5384	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).