spkg
—
developer's documentation
Main Page
Modules
Data Structures
Files
Related Pages
Misc API
_debug
_inform
_notice
_warning
gen_slackdesc
iter_buf_lines
iter_str_lines
msg
msg_setup
parse_cleanuplink
parse_createlink
parse_pkgname
parse_slackdesc
path_get_elements
path_sanitize_slashes
path_simplify
sanitize_root_path
sig_break
sig_trap
sys_file_mtime
sys_file_type
sys_file_type_stat
sys_ftype
sys_lock_del
sys_lock_new
sys_lock_put
sys_lock_trywait
sys_mkdir_p
sys_rm_rf
sys_sigblock
sys_sigunblock
sys_write_buffer_to_file
gchar* sanitize_root_path
(
const gchar *
root
)
Sanitize root path.
/ -> '/' ./ -> '' ./bla -> bla/ /bla/bla -> /bla/bla/
Parameters:
root
Root path.
Returns:
sanitized root path, should be freed by the caller
Documentation for
spkg
, Sun Jul 23 13:12:53 2006.