亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? dcgettext.c

?? aumix-2.8 源碼下載
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* Implementation of the dcgettext(3) function.   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.   This program is free software; you can redistribute it and/or modify   it under the terms of the GNU General Public License as published by   the Free Software Foundation; either version 2, or (at your option)   any later version.   This program is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   GNU General Public License for more details.   You should have received a copy of the GNU General Public License   along with this program; if not, write to the Free Software Foundation,   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */#ifdef HAVE_CONFIG_H# include <config.h>#endif#include <sys/types.h>#ifdef __GNUC__# define alloca __builtin_alloca# define HAVE_ALLOCA 1#else# if defined HAVE_ALLOCA_H || defined _LIBC#  include <alloca.h># else#  ifdef _AIX #pragma alloca#  else#   ifndef allocachar *alloca ();#   endif#  endif# endif#endif#include <errno.h>#ifndef errnoextern int errno;#endif#ifndef __set_errno# define __set_errno(val) errno = (val)#endif#if defined STDC_HEADERS || defined _LIBC# include <stdlib.h>#elsechar *getenv ();# ifdef HAVE_MALLOC_H#  include <malloc.h># elsevoid free ();# endif#endif#if defined HAVE_STRING_H || defined _LIBC# ifndef _GNU_SOURCE#  define _GNU_SOURCE	1# endif# include <string.h>#else# include <strings.h>#endif#if !HAVE_STRCHR && !defined _LIBC# ifndef strchr#  define strchr index# endif#endif#if defined HAVE_UNISTD_H || defined _LIBC# include <unistd.h>#endif#include "gettext.h"#include "gettextP.h"#ifdef _LIBC# include <libintl.h>#else# include "libgettext.h"#endif#include "hash-string.h"/* @@ end of prolog @@ */#ifdef _LIBC/* Rename the non ANSI C functions.  This is required by the standard   because some ANSI C functions will require linking with this object   file and the name space must not be polluted.  */# define getcwd __getcwd# ifndef stpcpy#  define stpcpy __stpcpy# endif#else# if !defined HAVE_GETCWDchar *getwd ();#  define getcwd(buf, max) getwd (buf)# elsechar *getcwd ();# endif# ifndef HAVE_STPCPYstatic char *stpcpy PARAMS ((char *dest, const char *src));# endif#endif/* Amount to increase buffer size by in each try.  */#define PATH_INCR 32/* The following is from pathmax.h.  *//* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define   PATH_MAX but might cause redefinition warnings when sys/param.h is   later included (as on MORE/BSD 4.3).  */#if defined(_POSIX_VERSION) || (defined(HAVE_LIMITS_H) && !defined(__GNUC__))# include <limits.h>#endif#ifndef _POSIX_PATH_MAX# define _POSIX_PATH_MAX 255#endif#if !defined(PATH_MAX) && defined(_PC_PATH_MAX)# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))#endif/* Don't include sys/param.h if it already has been.  */#if defined(HAVE_SYS_PARAM_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN)# include <sys/param.h>#endif#if !defined(PATH_MAX) && defined(MAXPATHLEN)# define PATH_MAX MAXPATHLEN#endif#ifndef PATH_MAX# define PATH_MAX _POSIX_PATH_MAX#endif/* XPG3 defines the result of `setlocale (category, NULL)' as:   ``Directs `setlocale()' to query `category' and return the current     setting of `local'.''   However it does not specify the exact format.  And even worse: POSIX   defines this not at all.  So we can use this feature only on selected   system (e.g. those using GNU C Library).  */#ifdef _LIBC# define HAVE_LOCALE_NULL#endif/* Name of the default domain used for gettext(3) prior any call to   textdomain(3).  The default value for this is "messages".  */const char _nl_default_default_domain[] = "messages";/* Value used as the default domain for gettext(3).  */const char *_nl_current_default_domain = _nl_default_default_domain;/* Contains the default location of the message catalogs.  */const char _nl_default_dirname[] = GNULOCALEDIR;/* List with bindings of specific domains created by bindtextdomain()   calls.  */struct binding *_nl_domain_bindings;/* Prototypes for local functions.  */static char *find_msg PARAMS ((struct loaded_l10nfile *domain_file,			       const char *msgid)) internal_function;static const char *category_to_name PARAMS ((int category)) internal_function;static const char *guess_category_value PARAMS ((int category,						 const char *categoryname))     internal_function;/* For those loosing systems which don't have `alloca' we have to add   some additional code emulating it.  */#ifdef HAVE_ALLOCA/* Nothing has to be done.  */# define ADD_BLOCK(list, address) /* nothing */# define FREE_BLOCKS(list) /* nothing */#elsestruct block_list{  void *address;  struct block_list *next;};# define ADD_BLOCK(list, addr)						      \  do {									      \    struct block_list *newp = (struct block_list *) malloc (sizeof (*newp));  \    /* If we cannot get a free block we cannot add the new element to	      \       the list.  */							      \    if (newp != NULL) {							      \      newp->address = (addr);						      \      newp->next = (list);						      \      (list) = newp;							      \    }									      \  } while (0)# define FREE_BLOCKS(list)						      \  do {									      \    while (list != NULL) {						      \      struct block_list *old = list;					      \      list = list->next;						      \      free (old);							      \    }									      \  } while (0)# undef alloca# define alloca(size) (malloc (size))#endif	/* have alloca *//* Names for the libintl functions are a problem.  They must not clash   with existing names and they should follow ANSI C.  But this source   code is also used in GNU C Library where the names have a __   prefix.  So we have to make a difference here.  */#ifdef _LIBC# define DCGETTEXT __dcgettext#else# define DCGETTEXT dcgettext__#endif/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY   locale.  */char *DCGETTEXT (domainname, msgid, category)     const char *domainname;     const char *msgid;     int category;{#ifndef HAVE_ALLOCA  struct block_list *block_list = NULL;#endif  struct loaded_l10nfile *domain;  struct binding *binding;  const char *categoryname;  const char *categoryvalue;  char *dirname, *xdomainname;  char *single_locale;  char *retval;  int saved_errno = errno;  /* If no real MSGID is given return NULL.  */  if (msgid == NULL)    return NULL;  /* If DOMAINNAME is NULL, we are interested in the default domain.  If     CATEGORY is not LC_MESSAGES this might not make much sense but the     defintion left this undefined.  */  if (domainname == NULL)    domainname = _nl_current_default_domain;  /* First find matching binding.  */  for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next)    {      int compare = strcmp (domainname, binding->domainname);      if (compare == 0)	/* We found it!  */	break;      if (compare < 0)	{	  /* It is not in the list.  */	  binding = NULL;	  break;	}    }  if (binding == NULL)    dirname = (char *) _nl_default_dirname;  else if (binding->dirname[0] == '/')    dirname = binding->dirname;  else    {      /* We have a relative path.  Make it absolute now.  */      size_t dirname_len = strlen (binding->dirname) + 1;      size_t path_max;      char *ret;      path_max = (unsigned) PATH_MAX;      path_max += 2;		/* The getcwd docs say to do this.  */      dirname = (char *) alloca (path_max + dirname_len);      ADD_BLOCK (block_list, dirname);      __set_errno (0);      while ((ret = getcwd (dirname, path_max)) == NULL && errno == ERANGE)	{	  path_max += PATH_INCR;	  dirname = (char *) alloca (path_max + dirname_len);	  ADD_BLOCK (block_list, dirname);	  __set_errno (0);	}      if (ret == NULL)	{	  /* We cannot get the current working directory.  Don't signal an	     error but simply return the default string.  */	  FREE_BLOCKS (block_list);	  __set_errno (saved_errno);	  return (char *) msgid;	}      stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname);    }  /* Now determine the symbolic name of CATEGORY and its value.  */  categoryname = category_to_name (category);  categoryvalue = guess_category_value (category, categoryname);  xdomainname = (char *) alloca (strlen (categoryname)				 + strlen (domainname) + 5);  ADD_BLOCK (block_list, xdomainname);  stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"),		  domainname),	  ".mo");

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆一区二区三| 国产黑丝在线一区二区三区| 91视频一区二区| 国产伦精品一区二区三区免费| 午夜欧美2019年伦理| 一个色妞综合视频在线观看| 国产精品欧美极品| 亚洲欧美色一区| 亚洲人成7777| 亚洲一区中文日韩| 婷婷一区二区三区| 精品一区二区国语对白| 国产精品中文字幕一区二区三区| 国产九色sp调教91| 91丨porny丨户外露出| 欧美图片一区二区三区| 7777精品伊人久久久大香线蕉| 欧美日韩国产片| 777精品伊人久久久久大香线蕉| 欧美另类久久久品| 91精品在线观看入口| 26uuu精品一区二区| 日本一区二区久久| 亚洲国产婷婷综合在线精品| 日韩电影在线一区二区| 国产激情视频一区二区在线观看 | 一区二区三区久久| 午夜婷婷国产麻豆精品| 国产乱一区二区| 日本高清不卡aⅴ免费网站| 91精品国产综合久久香蕉麻豆| 精品奇米国产一区二区三区| 中文字幕不卡一区| 天天综合网 天天综合色| 国产经典欧美精品| 欧美日韩国产综合一区二区| 26uuu久久综合| 亚洲一二三级电影| 成人在线综合网| 欧美一区二区在线看| 国产亚洲精品久| 亚洲成人激情av| eeuss鲁一区二区三区| 欧美男男青年gay1069videost| 久久久久国产精品麻豆| 午夜不卡av在线| av不卡在线观看| 26uuuu精品一区二区| 午夜精品久久久| 99久久婷婷国产精品综合| 91精品国产综合久久久久久久 | 成人午夜免费av| 91精品国产手机| 亚洲一区二区三区精品在线| 国产美女av一区二区三区| 制服丝袜国产精品| 亚洲综合色成人| 奇米色777欧美一区二区| 风间由美一区二区av101| 日韩网站在线看片你懂的| 一区二区三区四区在线免费观看 | 欧美一区二区三区免费大片| 亚洲色图都市小说| 不卡的av网站| 国产精品视频看| 国产精品亚洲专一区二区三区| 91.xcao| 国产精品麻豆网站| 成人涩涩免费视频| 国产精品视频免费| 成人激情动漫在线观看| 日本一区二区三区免费乱视频| 国产最新精品免费| 久久精品一区四区| 国产成人aaa| 国产精品久久久久久久久快鸭 | 国产精品热久久久久夜色精品三区| 青青青爽久久午夜综合久久午夜| 欧美日韩另类一区| 欧美96一区二区免费视频| 日韩一级大片在线观看| 久久se精品一区精品二区| 欧美va亚洲va国产综合| 激情综合亚洲精品| 国产亚洲人成网站| 99精品视频免费在线观看| 亚洲精品日日夜夜| 欧美日韩在线播放三区| 日韩黄色片在线观看| 精品久久人人做人人爰| 国产成人精品1024| 国产精品不卡在线| 欧美色综合久久| 久久精品国产精品亚洲综合| 久久精品亚洲精品国产欧美kt∨| 国内精品嫩模私拍在线| 国产精品人妖ts系列视频| 91行情网站电视在线观看高清版| 亚洲在线观看免费| 日韩精品综合一本久道在线视频| 韩日欧美一区二区三区| 国产精品久久久久久福利一牛影视| av中文字幕一区| 日韩精品久久久久久| 久久精品在线免费观看| 欧美主播一区二区三区美女| 免费在线成人网| 中文字幕一区二区三区四区不卡| 色综合久久中文字幕综合网| 日韩电影免费一区| 国产精品日韩精品欧美在线| 欧美日韩在线播放一区| 成人性生交大片免费看在线播放 | 日本一二三不卡| 在线亚洲免费视频| 激情综合五月天| 一区二区三区中文字幕精品精品| 精品视频一区 二区 三区| 国产寡妇亲子伦一区二区| 亚洲国产欧美在线| 中文乱码免费一区二区| 欧美一区二视频| 91久久香蕉国产日韩欧美9色| 美女视频黄 久久| 亚洲精品成人少妇| 欧美一区二区三区免费观看视频| 国产精品国产三级国产普通话99 | 亚洲精品一区二区三区精华液| 不卡视频一二三| 日韩电影在线免费| 一区二区高清免费观看影视大全| 日韩精品一区二区在线观看| 色一情一伦一子一伦一区| 国产大陆a不卡| 蜜臀av一区二区| 亚洲成av人片在线观看| 亚洲欧洲成人自拍| 久久久综合视频| 亚洲天堂精品在线观看| 成人免费视频网站在线观看| 3d成人h动漫网站入口| 粉嫩av一区二区三区粉嫩| 狠狠色丁香久久婷婷综合丁香| 中文字幕一区二区三区在线观看| 日韩三级精品电影久久久| 成人一区二区三区| 国产经典欧美精品| 国产一区二区三区综合| 蓝色福利精品导航| 六月丁香婷婷久久| 久色婷婷小香蕉久久| 偷窥少妇高潮呻吟av久久免费| 亚洲一区二区五区| 一区二区久久久久久| 亚洲一区二区三区四区在线免费观看| 国产精品污污网站在线观看| 久久久精品国产免大香伊| 26uuu国产一区二区三区| 久久综合狠狠综合| 久久精品人人做人人爽人人| 久久丝袜美腿综合| 国产精品伦理在线| 亚洲精品伦理在线| 性做久久久久久久免费看| 丝袜美腿亚洲综合| 麻豆国产精品视频| 国产精品18久久久久久久久久久久 | 26uuu亚洲| 中文字幕第一区第二区| 国产精品久久久久久久久免费相片 | 精品99999| 国产欧美日本一区二区三区| 亚洲国产精品ⅴa在线观看| 日韩理论片网站| 亚洲成人综合网站| 美女脱光内衣内裤视频久久网站| 激情伊人五月天久久综合| 国产aⅴ精品一区二区三区色成熟| 白白色 亚洲乱淫| 欧美精品123区| 久久精品亚洲一区二区三区浴池| 亚洲视频在线一区| 日韩和欧美一区二区三区| 国产一区二区三区四区五区美女| 成人黄色免费短视频| 欧美日韩国产精选| 久久色在线观看| 亚洲成人一区二区| 国产剧情在线观看一区二区 | 一区二区免费在线| 久久er精品视频| 91丨porny丨国产入口| 91精品国产色综合久久不卡电影| 国产校园另类小说区| 亚洲综合无码一区二区| 国产毛片精品视频| 欧美性色综合网| 国产精品免费看片| 裸体一区二区三区| 日本精品视频一区二区三区|