/dports/games/xtux/xtux/src/common/ |
H A D | datafile.c | 14 static char fullpathname[PATH_MAX]; variable 18 snprintf(fullpathname, PATH_MAX, "%s/%s", DATADIR, filename); in data_file() 19 return fullpathname; in data_file() 32 snprintf(fullpathname, PATH_MAX, "%s/%s/%s", DATADIR, dir, filename); in open_data_file() 34 snprintf(fullpathname, PATH_MAX, "%s/%s", DATADIR, filename); in open_data_file() 36 if( (fp = fopen( fullpathname, "r")) == NULL ) { in open_data_file() 38 printf("open_data_file: Error opening \"%s\"\n", fullpathname); in open_data_file() 50 snprintf(fullpathname, PATH_MAX, "%s/%s", DATADIR, dirname); in open_data_dir() 52 if( (dp = opendir(fullpathname)) == NULL ) { in open_data_dir() 54 printf("Error opening \"%s\"\n", fullpathname); in open_data_dir()
|
/dports/graphics/xfractint/xfractint-20.04p16/unix/ |
H A D | unix.c | 270 findpath(filename, fullpathname) in findpath() argument 271 char *filename, *fullpathname; in findpath() 277 strcpy(fullpathname,filename); 278 fd = open(fullpathname,O_RDONLY); 286 strcpy(fullpathname,fractdir); 287 strcat(fullpathname,"/"); 288 strcat(fullpathname,filename); 295 strcpy(fullpathname,SRCDIR); 296 strcat(fullpathname,"/"); 303 strcpy(fullpathname,"./"); [all …]
|
/dports/irc/cwirc/cwirc-2.0.0/ |
H A D | extension.c | 35 char fullpathname[FILENAME_MAX]; in get_available_cwirc_extensions() local 50 sprintf(fullpathname,"%s/%s",EXTENSIONS_DIR,dirent->d_name); in get_available_cwirc_extensions() 51 if(stat(fullpathname,&statbuf)!=-1 && S_ISREG(statbuf.st_mode) && in get_available_cwirc_extensions() 52 !access(fullpathname,X_OK)) in get_available_cwirc_extensions() 73 char fullpathname[FILENAME_MAX]; in exec_extension_program() local 110 sprintf(fullpathname,"%s/%s",EXTENSIONS_DIR,fname); in exec_extension_program() 111 execl(fullpathname,fname,"--cwirc",errmsg,NULL); in exec_extension_program() 112 fprintf(stderr,"Error : cannot execute \"%s\".\n",fullpathname); in exec_extension_program()
|
/dports/net/netatalk3/netatalk-3.1.12/libatalk/adouble/ |
H A D | ad_conv.c | 65 LOG(log_debug, logtype_ad,"ad_conv_v22ea_hf(\"%s\"): BEGIN", fullpathname(path)); in ad_conv_v22ea_hf() 109 LOG(log_debug, logtype_ad,"ad_conv_v22ea_hf(\"%s\"): default adouble", fullpathname(path), ret); in ad_conv_v22ea_hf() 114 LOG(log_debug, logtype_ad,"ad_conv_v22ea_hf(\"%s\"): copying adouble", fullpathname(path), ret); in ad_conv_v22ea_hf() 117 fullpathname(path), strerror(errno)); in ad_conv_v22ea_hf() 124 LOG(log_debug, logtype_ad,"ad_conv_v22ea_hf(\"%s\"): END: %d", fullpathname(path), ret); in ad_conv_v22ea_hf() 134 LOG(log_debug, logtype_ad,"ad_conv_v22ea_rf(\"%s\"): BEGIN", fullpathname(path)); in ad_conv_v22ea_rf() 171 LOG(log_debug, logtype_ad,"ad_conv_v22ea_rf(\"%s\"): END: %d", fullpathname(path), ret); in ad_conv_v22ea_rf() 191 path, fullpathname(adpath)); in ad_conv_v22ea() 226 LOG(log_debug, logtype_ad,"ad_conv_dehex(\"%s\"): BEGIN", fullpathname(path)); in ad_conv_dehex() 276 LOG(log_debug, logtype_ad,"ad_convert(\"%s\"): BEGIN", fullpathname(path)); in ad_convert() [all …]
|
H A D | ad_open.c | 492 path ? fullpathname(path) : ""); in ad_header_read() 595 fullpathname(path), finderlen); in ad_convert_osx() 700 path ? fullpathname(path) : ""); in ad_header_read_osx() 705 path ? fullpathname(path) : ""); in ad_header_read_osx() 787 path ? fullpathname(path) : ""); in ad_header_read_ea() 989 fullpathname(path), adflags2logstr(adflags), in ad_open_df() 1075 fullpathname(path), adflags2logstr(adflags), in ad_open_hf_v2() 1125 fullpathname(path)); in ad_open_hf_v2() 1202 fullpathname(path), adflags2logstr(adflags), in ad_open_hf_ea() 1845 fullpathname(path), adflags2logstr(adflags), in ad_open() [all …]
|
H A D | ad_write.c | 181 fullpathname(uname), strerror(errno)); in ad_rtruncate()
|
/dports/databases/sqlrelay/sqlrelay-1.7.0/src/server/ |
H A D | sqlr-cachemanager.cpp | 155 char *fullpathname=NULL; in erase() local 156 charstring::printf(&fullpathname,"%s/%s",dirname,filename); in erase() 160 if (fl.open(fullpathname,O_RDONLY)) { in erase() 177 file::remove(fullpathname); in erase() 183 delete[] fullpathname; in erase()
|
/dports/games/kevedit/kevedit-0.5.1/src/dialogs/ |
H A D | files.c | 471 char* fullpathname = NULL; in locateself() local 486 fullpathname = (char*) malloc(sizeof(char) * (strlen(path)+strlen(cwd)+2)); in locateself() 487 strcpy(fullpathname, cwd); in locateself() 488 strcat(fullpathname, "/"); in locateself() 489 strcat(fullpathname, path); in locateself() 493 return fullpathname; in locateself()
|
/dports/net/netatalk3/netatalk-3.1.12/etc/afpd/ |
H A D | filedir.c | 396 fce_register(obj, FCE_DIR_MOVE, fullpathname(upath), oldunixname); in moveandrename() 399 fce_register(obj, FCE_FILE_MOVE, fullpathname(upath), bdata(srcpath)); in moveandrename() 633 fce_register(obj, FCE_DIR_DELETE, fullpathname(upath), NULL); in afp_delete() 641 fce_register(obj, FCE_DIR_DELETE, fullpathname(cfrombstr(dname)), NULL); in afp_delete() 655 fce_register(obj, FCE_FILE_DELETE, fullpathname(upath), NULL); in afp_delete()
|
H A D | unix.c | 231 fullpathname(name), mode, vol->v_dperm); in setdirunixmode() 282 uid, gid, fullpathname(name), strerror(errno) ); in setdirowner()
|
H A D | desktop.c | 93 … LOG(log_error, logtype_afpd, "setdeskmode: stat %s: %s",fullpathname(modbuf), strerror(errno) ); in setdeskmode() 103 … LOG(log_error, logtype_afpd, "setdeskmode: chmod %s: %s",fullpathname(modbuf), strerror(errno) ); in setdeskmode() 110 … LOG(log_error, logtype_afpd, "setdeskmode: chmod %s: %s",fullpathname(modbuf), strerror(errno) ); in setdeskmode() 121 …LOG(log_error, logtype_afpd, "setdeskmode: chmod %s: %s",fullpathname(deskp->d_name), strerror(err… in setdeskmode() 187 … LOG(log_error, logtype_afpd, "setdeskown: chown %s: %s", fullpathname(modbuf), strerror(errno) ); in setdeskowner() 203 …LOG(log_error, logtype_afpd, "setdeskowner: chown %s: %s", fullpathname(".AppleDouble"), strerror(… in setdeskowner()
|
H A D | acls.c | 116 fullpathname(path), strerror(errno)); in solaris_acl_rights() 453 "acl_get_file(\"%s\"): %s", fullpathname(path), strerror(errno)); 1716 fullpathname(s_path->u_name)); 1725 fullpathname(s_path->u_name));
|
H A D | enumerate.c | 376 … LOG(log_error, logtype_afpd, "enumerate: error updating CNID of \"%s\"", fullpathname(convname)); in enumerate()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz4.6/ |
H A D | tnzmovie.h | 117 TNZAPI TNZMOVIE tm_create(char *fullpathname, TBOOL do_overwrite_file,
|
/dports/graphics/xfractint/xfractint-20.04p16/common/ |
H A D | miscres.c | 47 void findpath(char far *filename, char *fullpathname) /* return full pathnames */ in findpath() argument 57 strcpy(fullpathname,temp_path); in findpath() 65 strcpy(fullpathname,temp_path); in findpath() 73 fullpathname[0] = 0; /* indicate none found */ in findpath() 77 _searchenv(temp_path,"PATH",fullpathname); in findpath() 79 if (fullpathname[0] != 0) /* found it! */ in findpath() 80 if (strncmp(&fullpathname[2],SLASHSLASH,2) == 0) /* stupid klooge! */ in findpath() 81 strcpy(&fullpathname[3],temp_path); in findpath()
|
/dports/cad/magic/magic-8.3.245/commands/ |
H A D | CmdCD.c | 4256 char *cellnameptr, *fullpathname; local 4276 strcpy(fullpathname, cmd->tx_argv[1]); 4279 clen = strlen(fullpathname); 4281 *(fullpathname + clen - 4) = '\0'; 4286 fullpathname = NULL; 4297 if (fullpathname) freeMagic(fullpathname); 4305 if (fullpathname != NULL) 4320 def->cd_file, cmdName, fullpathname); 4330 StrDup(&def->cd_file, fullpathname); 4335 StrDup(&def->cd_file, fullpathname); [all …]
|
/dports/print/latex2rtf/latex2rtf-2.3.17/ |
H A D | graphics.c | 2274 char *fullpathname=NULL; in CmdGraphics() local 2284 fullpathname=exists_with_any_extension(dir,name,ext); in CmdGraphics() 2285 if (fullpathname) { in CmdGraphics() 2293 fullpathname=exists_with_any_extension(dir,name,thisFormat->extension); in CmdGraphics() 2294 if (fullpathname) break; in CmdGraphics() 2298 if (fullpathname && thisFormat->extension) { in CmdGraphics() 2299 diagnostics(2,"located graphics file as '%s'",fullpathname); in CmdGraphics() 2300 thisFormat->encoder(fullpathname, height, width, scale, baseline); in CmdGraphics() 2307 safe_free(fullpathname); in CmdGraphics()
|
/dports/multimedia/xine/xine-ui-0.99.12/src/xitk/ |
H A D | mediamark.c | 3006 char fullpathname[XITK_PATH_MAX + XITK_NAME_MAX + 2] = ""; in mediamark_collect_from_directory() local 3008 snprintf(fullpathname, sizeof(fullpathname) - 1, "%s/%s", filepathname, dentry->d_name); in mediamark_collect_from_directory() 3010 if(strlen(fullpathname)) { in mediamark_collect_from_directory() 3012 if(fullpathname[strlen(fullpathname) - 1] == '/') in mediamark_collect_from_directory() 3013 fullpathname[strlen(fullpathname) - 1] = '\0'; in mediamark_collect_from_directory() 3015 if(is_a_dir(fullpathname)) { in mediamark_collect_from_directory() 3019 mediamark_collect_from_directory(fullpathname); in mediamark_collect_from_directory() 3026 p = strncat(loname, fullpathname, strlen(fullpathname)); in mediamark_collect_from_directory() 3045 mediamark_append_entry((const char *)fullpathname, in mediamark_collect_from_directory() 3046 (const char *)fullpathname, NULL, 0, -1, 0, 0); in mediamark_collect_from_directory()
|
/dports/net/netatalk3/netatalk-3.1.12/libatalk/acl/ |
H A D | unix.c | 306 fullpathname(name), mode); in posix_chmod() 405 fullpathname(name), mode, ret); in posix_chmod()
|
/dports/mail/wmbiff/wmbiff-0.4.36/wmbiff/ |
H A D | sample.wmbiffrc | 83 # MBOX format: mbox:fullpathname 89 # # Maildir format: maildir:fullpathname
|
/dports/editors/uemacs/uemacs-4.0/src/ |
H A D | mswfile.c | 120 char * PASCAL fullpathname (char *PathName, int Nbuf) in fullpathname() function 147 if (fullpath) fullpathname (buf, nbuf); in filenamedlg()
|
/dports/net/netatalk3/netatalk-3.1.12/include/atalk/ |
H A D | util.h | 198 extern const char *fullpathname(const char *);
|
/dports/net/netatalk3/netatalk-3.1.12/libatalk/vfs/ |
H A D | extattr.c | 957 … LOG(log_debug, logtype_default, "open(\"%s\"): %s", fullpathname(path), strerror(errno)); in solaris_attropen() 968 … LOG(log_debug, logtype_default, "openat(\"%s\"): %s", fullpathname(path), strerror(errno)); in solaris_attropen() 995 … LOG(log_debug, logtype_default, "openat(\"%s\"): %s", fullpathname(path), strerror(errno)); in solaris_attropenat()
|
H A D | vfs.c | 67 … LOG(log_error, logtype_afpd, "%s: opendir %s: %s", from, fullpathname(name),strerror(errno) ); in for_each_adouble() 249 uid, gid,fullpathname(".AppleDouble"), strerror(errno)); in RF_setdirowner_adouble()
|
/dports/net/netatalk3/netatalk-3.1.12/libatalk/util/ |
H A D | unix.c | 195 const char *fullpathname(const char *name) in fullpathname() function
|