Lines Matching defs:uptr
145 char *tptr, *uptr;
384 uptr = strchr(bsdtar->argument, ':');
385 if (uptr != NULL) {
386 if (uptr[1] == '\0') {
389 uptr[0] = 0;
390 uptr++;
391 l = strtol(uptr, &tptr, 10);
392 if (l < 0 || l >= INT_MAX || *uptr == '\0' ||
394 lafe_errc(1, 0, "Invalid argument to --group (%s is not a number)", uptr);
663 uptr = strchr(bsdtar->argument, ':');
664 if (uptr != NULL) {
665 if (uptr[1] == 0) {
668 uptr[0] = 0;
669 uptr++;
670 l = strtol(uptr, &tptr, 10);
671 if (l < 0 || l >= INT_MAX || *uptr == '\0' ||
673 lafe_errc(1, 0, "Invalid argument to --owner (%s is not a number)", uptr);