- if (strcmp (dir, "."))
- snprintf (full_name, sizeof full_name, "%s/%s", dir, name);
- else
- {
- /* This is a special case for implementations
- that don't fully understand . and .. */
- strlcpy (full_name, name, sizeof full_name);
- }
+ snprintf (full_name, sizeof full_name, "%s/%s", dir, name);