ldpart.c (72165) | ldpart.c (72331) |
---|---|
1/* 2 * Copyright (c) 2000, 2001 Alexey Zelkin 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/* 2 * Copyright (c) 2000, 2001 Alexey Zelkin 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/lib/libc/locale/ldpart.c 72165 2001-02-08 16:58:53Z phantom $ | 26 * $FreeBSD: head/lib/libc/locale/ldpart.c 72331 2001-02-10 19:57:26Z phantom $ |
27 */ 28 | 27 */ 28 |
29#include "namespace.h" |
|
29#include <sys/types.h> 30#include <sys/stat.h> 31#include <sys/syslimits.h> 32#include <fcntl.h> | 30#include <sys/types.h> 31#include <sys/stat.h> 32#include <sys/syslimits.h> 33#include <fcntl.h> |
34#include "un-namespace.h" |
|
33#include <stdlib.h> 34#include <string.h> 35#include "setlocale.h" 36#include "ldpart.h" 37 38static int split_lines(char *, const char *); 39static void set_from_buf(const char *, int, const char **); 40 --- 125 unchanged lines hidden --- | 35#include <stdlib.h> 36#include <string.h> 37#include "setlocale.h" 38#include "ldpart.h" 39 40static int split_lines(char *, const char *); 41static void set_from_buf(const char *, int, const char **); 42 --- 125 unchanged lines hidden --- |