Searched refs:linkbuf (Results 1 - 5 of 5) sorted by relevance

/macosx-10.9.5/rsync-42/rsync/
H A Dtls.c63 char linkbuf[4096]; local
81 strlcpy(linkbuf, " -> ", sizeof linkbuf);
83 len = readlink((char *) fname, linkbuf+4, sizeof(linkbuf) - 4);
88 linkbuf[4+len] = 0;
90 linkbuf[0] = 0;
120 datebuf, fname, linkbuf);
H A Dflist.c161 * If path is the name of a symlink, then the linkbuf buffer (which must hold
166 static int readlink_stat(const char *path, STRUCT_STAT *stp, char *linkbuf) argument
172 int llen = readlink(path, linkbuf, MAXPATHLEN - 1);
175 linkbuf[llen] = '\0';
176 if (copy_unsafe_links && unsafe_symlink(linkbuf, path)) {
179 path, linkbuf);
184 && strncmp(linkbuf, SYMLINK_PREFIX, SYMLINK_PREFIX_LEN) == 0) {
185 memmove(linkbuf, linkbuf + SYMLINK_PREFIX_LEN,
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/
H A Dpathphys.c79 char tbuf[PATH_MAX+1], linkbuf[PATH_MAX+1]; local
167 linklen = _path_readlink (result, linkbuf, PATH_MAX);
190 linkbuf[linklen] = '\0';
208 strcpy (tbuf, linkbuf);
213 if (ABSPATH(linkbuf))
/macosx-10.9.5/CF-855.17/
H A DCFTimeZone.c754 char linkbuf[CFMaxPathSize];
770 ret = readlink(TZZONELINK, linkbuf, sizeof(linkbuf));
773 linkbuf[ret] = '\0';
774 if (strncmp(linkbuf, TZZONEINFO, sizeof(TZZONEINFO) - 1) == 0) {
775 name = CFStringCreateWithBytes(kCFAllocatorSystemDefault, (uint8_t *)linkbuf + sizeof(TZZONEINFO) - 1, strlen(linkbuf) - sizeof(TZZONEINFO) + 1, kCFStringEncodingUTF8, false);
777 name = CFStringCreateWithBytes(kCFAllocatorSystemDefault, (uint8_t *)linkbuf, strlen(linkbuf), kCFStringEncodingUTF8, false);
/macosx-10.9.5/gnutar-452/gnutar/src/
H A Dcompare.c280 char *linkbuf = alloca (len + 1);
282 int status = readlink (current_stat_info.file_name, linkbuf, len + 1);
293 || strncmp (current_stat_info.link_name, linkbuf, len) != 0)
279 char *linkbuf = alloca (len + 1); local

Completed in 278 milliseconds