summaryrefslogtreecommitdiffstats
path: root/path_utils
Commit message (Collapse)AuthorAgeFilesLines
* Clean doxygen configurationsDmitri Pal2012-10-241-34/+1
| | | | | The doxygen files contained some deprecated values and typos. This patch cleans them for all interfaces exposed by ding libs.
* path_utils: path_concat should return empty string on ENOBUFSStephen Gallagher2012-03-083-15/+55
| | | | Also clean up the code a bit and add more comments
* path_utils: Handle "/" in path_concatStephen Gallagher2012-03-062-2/+19
|
* path_utils: handle off-by-one error in path_concat()Stephen Gallagher2012-03-062-5/+15
| | | | https://fedorahosted.org/sssd/ticket/1230
* Fix version handling of the librariesSumit Bose2010-09-231-2/+2
|
* Build all of the ding-libs from the rootStephen Gallagher2010-09-227-1021/+0
| | | | | This changes our approach from having independent tarballs to having a single, monolithic tarball for all of the libraries
* path_utils: Add targets for RPM buildStephen Gallagher2010-08-183-2/+107
|
* Update path_utils versionStephen Gallagher2010-08-131-1/+1
|
* Don't leak directory access resources on errors in directory_list()Stephen Gallagher2010-06-101-0/+8
| | | | https://fedorahosted.org/sssd/ticket/514
* Fix path_utils_ut segfaultStephen Gallagher2010-03-251-2/+3
| | | | | | | | | In the case where the allocated buffer is not large enough to hold the resulting absolute path, we were writing out a null terminator outside of the buffer, instead of at its beginning. Also fixes potential issue where split_path would not initialize the count to zero if it returned a failure.
* Generate doxygen documentation for path_utilsJakub Hrozek2010-03-254-112/+1847
|
* Unit tests for path_utilsJakub Hrozek2010-03-253-0/+741
| | | | Fixes: #81
* Fixes for path_utilsJakub Hrozek2010-03-251-63/+109
| | | | | | | | | * Do not segfault on passing NULL path to get_{dir,base}name * There is no way dirname can return "..", remove that code * Buffer overflow in path_concat * Expand . in get_basename * Return NULL rather than crash in split_path on passing NULL path * Be more defensive in directory_list
* License libpath_utils under LGPLStephen Gallagher2010-02-182-7/+38
|
* Split off libpath_utils into a shared libraryStephen Gallagher2010-02-033-8/+11
|
* License libpath_utils under LGPLStephen Gallagher2010-02-033-0/+846
|
* Include m4 directories in tarballStephen Gallagher2009-09-151-1/+3
| | | | Necessary for RPM builds on RHEL5
* Add 'make tests' targetStephen Gallagher2009-09-111-0/+1
|
* add path_utils filesystem path manipulation utility functionsJohn Dennis2009-07-156-0/+838
remove trace macro, not needed modifications to satisfy Stephen's checkin review correct spelling of PATH_UTILS_ERROR_NOT_FULLY_NORMALIZED add checks for truncation, return error add checks for getcwd errors modify (dst >= dst_end) test to be (dst > dst_end) remove all use of tabs remove all trailing whitespace add missing truncation check after strncpy() Fix path_utils.pc Also correct a minor typo.