unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 14c4d14aca5509fe9a38bc4a4595a3758899a710 559 bytes (raw)
name: util/search-path.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
#ifndef _SEARCH_PATH_H
#define _SEARCH_PATH_H

#include "notmuch.h"

/* can an executable be found with the given name?
 *
 * Return TRUE only if we can find something to execute with the
 * associated name.
 *
 * if the name has a '/' in it, we look for it directly with
 * access(exename, X_OK).
 *
 * otherwise, we look for it in $PATH (or in confstr(_CS_PATH), if
 * $PATH is unset).
 *
 * This should match the logic for execvp (as well as matching user
 * expectations, hopefully).
 */

notmuch_bool_t
test_for_executable (const char *exename);

#endif

debug log:

solving 14c4d14 ...
found 14c4d14 in https://yhetil.org/notmuch/1455054725-952-1-git-send-email-dkg@fifthhorseman.net/ ||
	https://yhetil.org/notmuch/1467970047-8013-2-git-send-email-dkg@fifthhorseman.net/ ||
	https://yhetil.org/notmuch/87oabqvy6s.fsf@maritornes.cs.unb.ca/

applying [1/1] https://yhetil.org/notmuch/1455054725-952-1-git-send-email-dkg@fifthhorseman.net/
diff --git a/util/search-path.h b/util/search-path.h
new file mode 100644
index 0000000..14c4d14

Checking patch util/search-path.h...
Applied patch util/search-path.h cleanly.

skipping https://yhetil.org/notmuch/1467970047-8013-2-git-send-email-dkg@fifthhorseman.net/ for 14c4d14
skipping https://yhetil.org/notmuch/87oabqvy6s.fsf@maritornes.cs.unb.ca/ for 14c4d14
index at:
100644 14c4d14aca5509fe9a38bc4a4595a3758899a710	util/search-path.h

(*) 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).