gettext_util.c (7257d1b4) gettext_util.c (b599bd93)
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

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

19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
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

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

19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma ident "%Z%%M% %I% %E% SMI"
28
29#include "lint.h"
30#include "mtlib.h"
31#include <ctype.h>
32#include <stdio.h>
33#include <stdlib.h>
34#include <string.h>
35#include <sys/types.h>
36#include <unistd.h>

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

81 * mp->msgfile - pathname to the message file is stored
82 *
83 * RETURN
84 * mp->msgfile is returned
85 */
86char *
87mk_msgfile(struct msg_pack *mp)
88{
27#include "lint.h"
28#include "mtlib.h"
29#include <ctype.h>
30#include <stdio.h>
31#include <stdlib.h>
32#include <string.h>
33#include <sys/types.h>
34#include <unistd.h>

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

79 * mp->msgfile - pathname to the message file is stored
80 *
81 * RETURN
82 * mp->msgfile is returned
83 */
84char *
85mk_msgfile(struct msg_pack *mp)
86{
89 char *p, *q;
87 const char *q;
88 char *p;
90 const char *catstr;
91 uint32_t cblen, loclen, catlen, totallen;
92
93#ifdef GETTEXT_DEBUG
94 gprintf(0, "*************** mk_msgfile(0x%p)\n", (void *)mp);
95 printmp(mp, 1);
96#endif
97

--- 552 unchanged lines hidden ---
89 const char *catstr;
90 uint32_t cblen, loclen, catlen, totallen;
91
92#ifdef GETTEXT_DEBUG
93 gprintf(0, "*************** mk_msgfile(0x%p)\n", (void *)mp);
94 printmp(mp, 1);
95#endif
96

--- 552 unchanged lines hidden ---