unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 727d0b3976f2fb00c28e24f4a3c9b21d438afad3 560 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 727d0b3 ...
found 727d0b3 in https://yhetil.org/notmuch/1454272801-23623-2-git-send-email-dkg@fifthhorseman.net/ ||
	https://yhetil.org/notmuch/1453258369-7366-2-git-send-email-dkg@fifthhorseman.net/

applying [1/1] https://yhetil.org/notmuch/1454272801-23623-2-git-send-email-dkg@fifthhorseman.net/
diff --git a/util/search-path.h b/util/search-path.h
new file mode 100644
index 0000000..727d0b3

1:13: trailing whitespace.
 * 
1:19: trailing whitespace.
 * 
Checking patch util/search-path.h...
Applied patch util/search-path.h cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/notmuch/1453258369-7366-2-git-send-email-dkg@fifthhorseman.net/ for 727d0b3
index at:
100644 727d0b3976f2fb00c28e24f4a3c9b21d438afad3	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).