john e malmberg ho0ebgqslnet jos boumans wrote 03 oct 2007 0253 john e malmberg wrote jos boumans wrote 02 oct 2007 1449 john e malmberg wrote encountering module build tests think may better let vmsfilespecvmsify translation knows change dots underscores like idea hard implement generically ciutils_safe_path pathname fixes win32 already one question though three step procedure 1 make sure value converted pkg_namver unix directory syntax appending 2 use vmsfilespecvmsifypkg_namver convert dots underscores needed trailing needed c knows use directory translation instead filename translation filename translation leaves one dot 3 use eq vms dirs filespecsplitdirvmsfilespecvmsifypkg_namver pkg_namver dirs0 splitdir returns array generic path either dir dirfile would right way get proper path back use catfile case know called splitdir single directory first element returned array value want per updated sample case single directory yes ive generalized fix unsafe paths vms would proper way reconstruct path trick vms filespeccatdir put path back together trick works string directory name unix style directory delimiters directory delimiters force vmsify treat input specification unix vmsfilespecunixpath appending specification vmsfilespecvmsify needed however good idea call vmsify pathname returned unixify good idea call unixify pathname returned vmsify nature conversion file specifications make round trip think directory specifications safely make round trip ones containing filenames john ho0ebgqslnet personal opinion tue 05 aug 2008 185842 0500 patch31780 fixes cpanplus vms