diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-09-18 09:51:16 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-09-18 09:51:16 +0800 |
commit | c6372a1b3f56d7022f135b8f1baeaff44816ec7c (patch) | |
tree | 1e274b07fc1942d7f39d334771c7d621a164b15f /path.h | |
parent | 41b8db063c032c673e366d81bccf37022b9c1d4f (diff) |
remove trailing spaces
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
Diffstat (limited to 'path.h')
-rw-r--r-- | path.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -25,7 +25,7 @@ wchar_t *path_get_config( void *context); /** Finds the full path of an executable in a newly allocated string. - + \param cmd The name of the executable. \param context the halloc context to use for memory allocations \return 0 if the command can not be found, the path of the command otherwise. @@ -37,14 +37,14 @@ wchar_t *path_get_path( void *context, const wchar_t *cmd ); variable as a list of base directories for relative paths. The returned string is allocated using halloc and the specified context. - + If no valid path is found, null is returned and errno is set to ENOTDIR if at least one such path was found, but it did not point to a directory, EROTTEN if a arotten symbolic link was found, or ENOENT if no file of the specified name was found. If both a rotten symlink and a file are found, it is undefined which error status will be returned. - + \param in The name of the directory. \param context the halloc context to use for memory allocations \return 0 if the command can not be found, the path of the command otherwise. @@ -54,7 +54,7 @@ wchar_t *path_get_cdpath( void *context, wchar_t *in ); /** Remove doulbe slashes and trailing slashes from a path, e.g. transform foo//bar/ into foo/bar. - + The returned string is allocated using the specified halloc context. */ |