tar: support -T - and -X -
[oweals/busybox.git] / libbb / getpty.c
index ea653b0b6c335b0a1fdc13d8f9bd02165971828b..6a15cff2fb36bcddd0ad2e58ebf119cba8c4660a 100644 (file)
@@ -19,7 +19,7 @@ int FAST_FUNC xgetpty(char *line)
        if (p > 0) {
                grantpt(p); /* chmod+chown corresponding slave pty */
                unlockpt(p); /* (what does this do?) */
-#if 0 /* if ptsname_r is not available... */
+#ifndef HAVE_PTSNAME_R
                const char *name;
                name = ptsname(p); /* find out the name of slave pty */
                if (!name) {