zlogin.c (858a4b9997a29c40b725e606eb9bc3ac0a8c765b) zlogin.c (1100f00d5652de2808b73c61bcfdb3fc87ef1fc8)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1539 unchanged lines hidden (view full) ---

1548 zonename, strerror(errno));
1549 _exit(1);
1550 }
1551
1552 /*
1553 * For non-native zones, tell libc where it can find locale
1554 * specific getttext() messages.
1555 */
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1539 unchanged lines hidden (view full) ---

1548 zonename, strerror(errno));
1549 _exit(1);
1550 }
1551
1552 /*
1553 * For non-native zones, tell libc where it can find locale
1554 * specific getttext() messages.
1555 */
1556 if (access("/native/usr/lib/locale", R_OK) == 0)
1556 if (access("/.SUNWnative/usr/lib/locale", R_OK) == 0)
1557 (void) bindtextdomain(TEXT_DOMAIN,
1557 (void) bindtextdomain(TEXT_DOMAIN,
1558 "/.SUNWnative/usr/lib/locale");
1559 else if (access("/native/usr/lib/locale", R_OK) == 0)
1560 (void) bindtextdomain(TEXT_DOMAIN,
1558 "/native/usr/lib/locale");
1559
1560 if (!failsafe)
1561 new_env = prep_env_noninteractive(user_cmd, new_env);
1562
1563 if (new_env == NULL) {
1564 _exit(1);
1565 }

--- 491 unchanged lines hidden ---
1561 "/native/usr/lib/locale");
1562
1563 if (!failsafe)
1564 new_env = prep_env_noninteractive(user_cmd, new_env);
1565
1566 if (new_env == NULL) {
1567 _exit(1);
1568 }

--- 491 unchanged lines hidden ---