diff options
Diffstat (limited to 'usr/src/lib/mpss/common/mpss.c')
-rw-r--r-- | usr/src/lib/mpss/common/mpss.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/lib/mpss/common/mpss.c b/usr/src/lib/mpss/common/mpss.c index 74239ce994..c052953d87 100644 --- a/usr/src/lib/mpss/common/mpss.c +++ b/usr/src/lib/mpss/common/mpss.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -319,7 +318,7 @@ __mpssmain() * and thus come from the default C locale. */ if ((errfile = getenv(ENV_MPSSERRFILE)) != NULL) { - errfp = fopen(errfile, "a"); + errfp = fopen(errfile, "aF"); if (errfp) { locale = setlocale(LC_MESSAGES, ""); } else { @@ -362,7 +361,7 @@ __mpssmain() * Open specified cfg file or default one. */ if (cfgfile = getenv(ENV_MPSSCFGFILE)) { - fp = fopen(cfgfile, "r"); + fp = fopen(cfgfile, "rF"); if (!fp) { mpsserr(errfp, dgettext(TEXT_DOMAIN, "%s: cannot open configuration file: %s [%s]\n"), @@ -370,7 +369,7 @@ __mpssmain() } } else { cfgfile = DEF_MPSSCFGFILE; - fp = fopen(cfgfile, "r"); + fp = fopen(cfgfile, "rF"); } execname = mygetexecname(); |