mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk, libt) #4160 - the slow slog to catch trunk up to mike.dld's 4160 diff continues. This step applies 4160-04b-dir.patch, which replaces native file operations with the tr_sys_dir_*() portability wrappers added in the previous commit.
This commit is contained in:
@@ -127,18 +127,6 @@ const char * tr_strip_positional_args (const char * fmt);
|
||||
bool tr_wildmat (const char * text, const char * pattern) TR_GNUC_NONNULL (1,2);
|
||||
|
||||
|
||||
/**
|
||||
* Like mkdir, but makes parent directories as needed.
|
||||
*
|
||||
* @return zero on success, or -1 if an error occurred
|
||||
* (in which case errno is set appropriately).
|
||||
*/
|
||||
int tr_mkdirp (const char * path, int permissions) TR_GNUC_NONNULL (1);
|
||||
|
||||
/** @brief Portability wrapper for mkdtemp () that uses the system implementation if available */
|
||||
char* tr_mkdtemp (char * _template);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Loads a file and returns its contents.
|
||||
* On failure, NULL is returned and errno is set.
|
||||
|
||||
Reference in New Issue
Block a user