summaryrefslogtreecommitdiff
path: root/gnu/dist/gettext/gettext-runtime/po
ModeNameSize
-rw-r--r--ChangeLog7301logplain
-rw-r--r--LINGUAS158logplain
-rw-r--r--Makefile.in.in13255logplain
-rw-r--r--Makefile.msvc9625logplain
-rw-r--r--Makefile.msvc.sh1616logplain
-rw-r--r--Makefile.vms11547logplain
-rw-r--r--Makefile.vms.sh1860logplain
-rw-r--r--Makevars1949logplain
-rw-r--r--POTFILES.in464logplain
-rw-r--r--Rules-msvc522logplain
-rw-r--r--Rules-quot1790logplain
-rw-r--r--Rules-vms510logplain
-rw-r--r--be.gmo7604logplain
-rw-r--r--be.po94131logplain
-rw-r--r--boldquot.sed217logplain
-rw-r--r--ca.gmo9213logplain
-rw-r--r--ca.po14020logplain
-rw-r--r--cs.gmo2582logplain
-rw-r--r--cs.po73123logplain
-rw-r--r--da.gmo6867logplain
-rw-r--r--da.po96000logplain
-rw-r--r--de.gmo9464logplain
-rw-r--r--de.po15117logplain
-rw-r--r--el.gmo2492logplain
-rw-r--r--el.po71057logplain
-rw-r--r--en@boldquot.gmo8977logplain
-rw-r--r--en@boldquot.header1337logplain
-rw-r--r--en@boldquot.po13210logplain
-rw-r--r--en@quot.gmo8889logplain
-rw-r--r--en@quot.header1203logplain
-rw-r--r--en@quot.po12988logplain
-rw-r--r--es.gmo9467logplain
-rw-r--r--es.po14005logplain
-rw-r--r--et.gmo2494logplain
-rw-r--r--et.po70377logplain
-rw-r--r--fi.gmo9173logplain
-rw-r--r--fi.po16871logplain
-rw-r--r--fr.gmo9307logplain
-rw-r--r--fr.po116730logplain
-rw-r--r--ga.gmo8970logplain
-rw-r--r--ga.po11868logplain
-rw-r--r--gettext-runtime.pot7721logplain
-rw-r--r--gl.gmo2450logplain
-rw-r--r--gl.po70929logplain
-rw-r--r--id.gmo8931logplain
-rw-r--r--id.po38999logplain
-rw-r--r--insert-header.sin672logplain
-rw-r--r--it.gmo9090logplain
-rw-r--r--it.po12041logplain
-rw-r--r--ja.gmo8740logplain
-rw-r--r--ja.po11575logplain
-rw-r--r--ko.gmo8493logplain
-rw-r--r--ko.po11368logplain
-rw-r--r--nl.gmo9135logplain
-rw-r--r--nl.po11974logplain
-rw-r--r--nn.gmo1064logplain
-rw-r--r--nn.po50205logplain
-rw-r--r--no.gmo2399logplain
-rw-r--r--no.po66047logplain
-rw-r--r--pl.gmo9060logplain
-rw-r--r--pl.po11999logplain
-rw-r--r--pt.gmo1558logplain
-rw-r--r--pt.po58546logplain
-rw-r--r--pt_BR.gmo2444logplain
-rw-r--r--pt_BR.po65442logplain
-rw-r--r--quot.sed153logplain
-rw-r--r--remove-potcdate.sin432logplain
-rw-r--r--ro.gmo9101logplain
-rw-r--r--ro.po12023logplain
-rw-r--r--ru.gmo9129logplain
-rw-r--r--ru.po11959logplain
-rw-r--r--sk.gmo9513logplain
-rw-r--r--sk.po12441logplain
-rw-r--r--sl.gmo6801logplain
-rw-r--r--sl.po112786logplain
-rw-r--r--sr.gmo11239logplain
-rw-r--r--sr.po14043logplain
-rw-r--r--stamp-po10logplain
-rw-r--r--sv.gmo8718logplain
-rw-r--r--sv.po11593logplain
-rw-r--r--tr.gmo9071logplain
-rw-r--r--tr.po99750logplain
-rw-r--r--uk.gmo11837logplain
-rw-r--r--uk.po14740logplain
-rw-r--r--vi.gmo10301logplain
-rw-r--r--vi.po13253logplain
-rw-r--r--zh_CN.gmo8710logplain
-rw-r--r--zh_CN.po11642logplain
-rw-r--r--zh_TW.gmo6133logplain
-rw-r--r--zh_TW.po86754logplain
0181">copyin(SCARG(uap, arg).l_buf, &lsembuf64, sizeof(lsembuf64)); linux_to_bsd_semid64_ds(&lsembuf64, &sembuf); } else { error = copyin(SCARG(uap, arg).l_buf, &lsembuf, sizeof(lsembuf)); linux_to_bsd_semid_ds(&lsembuf, &sembuf); } if (error) return (error); pass_arg = &sembuf; cmd = IPC_SET; break; case LINUX_IPC_STAT: pass_arg = &sembuf; cmd = IPC_STAT; break; case LINUX_IPC_RMID: cmd = IPC_RMID; break; case LINUX_GETVAL: cmd = GETVAL; break; case LINUX_GETPID: cmd = GETPID; break; case LINUX_GETNCNT: cmd = GETNCNT; break; case LINUX_GETZCNT: cmd = GETZCNT; break; case LINUX_GETALL: pass_arg = &semun; semun.array = SCARG(uap, arg).l_array; cmd = GETALL; break; case LINUX_SETVAL: pass_arg = &semun; semun.val = SCARG(uap, arg).l_val; cmd = SETVAL; break; case LINUX_SETALL: pass_arg = &semun; semun.array = SCARG(uap, arg).l_array; cmd = SETALL; break; default: return (EINVAL); } error = semctl1(l, SCARG(uap, semid), SCARG(uap, semnum), cmd, pass_arg, retval); if (error) return error; switch (lcmd) { case LINUX_IPC_STAT: bsd_to_linux_semid_ds(&sembuf, &lsembuf); error = copyout(&lsembuf, SCARG(uap, arg).l_buf, sizeof(lsembuf)); break; case LINUX_IPC_STAT | LINUX_IPC_64: bsd_to_linux_semid64_ds(&sembuf, &lsembuf64); error = copyout(&lsembuf64, SCARG(uap, arg).l_buf, sizeof(lsembuf64)); break; default: break; } return (error); } #endif /* SYSVSEM */ #ifdef SYSVMSG void linux_to_bsd_msqid_ds(struct linux_msqid_ds *lmp, struct msqid_ds *bmp) { memset(bmp, 0, sizeof(*bmp)); linux_to_bsd_ipc_perm(&lmp->l_msg_perm, &bmp->msg_perm); bmp->_msg_first = lmp->l_msg_first; bmp->_msg_last = lmp->l_msg_last; bmp->_msg_cbytes = lmp->l_msg_cbytes; bmp->msg_qnum = lmp->l_msg_qnum; bmp->msg_qbytes = lmp->l_msg_qbytes; bmp->msg_lspid = lmp->l_msg_lspid; bmp->msg_lrpid = lmp->l_msg_lrpid; bmp->msg_stime = lmp->l_msg_stime; bmp->msg_rtime = lmp->l_msg_rtime; bmp->msg_ctime = lmp->l_msg_ctime; } void linux_to_bsd_msqid64_ds(struct linux_msqid64_ds *lmp, struct msqid_ds *bmp) { memset(bmp, 0, sizeof(*bmp)); linux_to_bsd_ipc64_perm(&lmp->l_msg_perm, &bmp->msg_perm); bmp->msg_stime = lmp->l_msg_stime; bmp->msg_rtime = lmp->l_msg_rtime; bmp->msg_ctime = lmp->l_msg_ctime; bmp->_msg_cbytes = lmp->l_msg_cbytes; bmp->msg_qnum = lmp->l_msg_qnum; bmp->msg_qbytes = lmp->l_msg_qbytes; bmp->msg_lspid = lmp->l_msg_lspid; bmp->msg_lrpid = lmp->l_msg_lrpid; } void bsd_to_linux_msqid_ds(struct msqid_ds *bmp, struct linux_msqid_ds *lmp) { memset(lmp, 0, sizeof(*lmp)); bsd_to_linux_ipc_perm(&bmp->msg_perm, &lmp->l_msg_perm); lmp->l_msg_first = bmp->_msg_first; lmp->l_msg_last = bmp->_msg_last; lmp->l_msg_cbytes = bmp->_msg_cbytes; lmp->l_msg_qnum = bmp->msg_qnum; lmp->l_msg_qbytes = bmp->msg_qbytes; lmp->l_msg_lspid = bmp->msg_lspid; lmp->l_msg_lrpid = bmp->msg_lrpid; lmp->l_msg_stime = bmp->msg_stime; lmp->l_msg_rtime = bmp->msg_rtime; lmp->l_msg_ctime = bmp->msg_ctime; } void bsd_to_linux_msqid64_ds(struct msqid_ds *bmp, struct linux_msqid64_ds *lmp) { memset(lmp, 0, sizeof(*lmp)); bsd_to_linux_ipc64_perm(&bmp->msg_perm, &lmp->l_msg_perm); lmp->l_msg_stime = bmp->msg_stime; lmp->l_msg_rtime = bmp->msg_rtime; lmp->l_msg_ctime = bmp->msg_ctime; lmp->l_msg_cbytes = bmp->_msg_cbytes; lmp->l_msg_qnum = bmp->msg_qnum; lmp->l_msg_qbytes = bmp->msg_qbytes; lmp->l_msg_lspid = bmp->msg_lspid; lmp->l_msg_lrpid = bmp->msg_lrpid; } int linux_sys_msgctl(struct lwp *l, const struct linux_sys_msgctl_args *uap, register_t *retval) { /* { syscallarg(int) msqid; syscallarg(int) cmd; syscallarg(struct linux_msqid_ds *) buf; } */ struct msqid_ds bm, *bmp = NULL; struct linux_msqid_ds lm; struct linux_msqid64_ds lm64; int cmd, lcmd, error; lcmd = SCARG(uap, cmd); #ifdef LINUX_IPC_FORCE64 lcmd |= LINUX_IPC_64; #endif switch (lcmd & ~LINUX_IPC_64) { case LINUX_IPC_STAT: cmd = IPC_STAT; bmp = &bm; break; case LINUX_IPC_SET: if (lcmd & LINUX_IPC_64) { error = copyin(SCARG(uap, buf), &lm64, sizeof lm64); linux_to_bsd_msqid64_ds(&lm64, &bm); } else { error = copyin(SCARG(uap, buf), &lm, sizeof lm); linux_to_bsd_msqid_ds(&lm, &bm); } if (error) return error; cmd = IPC_SET; bmp = &bm; break; case LINUX_IPC_RMID: cmd = IPC_RMID; break; default: return EINVAL; } if ((error = msgctl1(l, SCARG(uap, msqid), cmd, bmp))) return error; switch (lcmd) { case LINUX_IPC_STAT: bsd_to_linux_msqid_ds(&bm, &lm); error = copyout(&lm, SCARG(uap, buf), sizeof lm); break; case LINUX_IPC_STAT|LINUX_IPC_64: bsd_to_linux_msqid64_ds(&bm, &lm64); error = copyout(&lm64, SCARG(uap, buf), sizeof lm64); break; default: break; } return error; } #endif /* SYSVMSG */ #ifdef SYSVSHM /* * shmget(2). Just make sure the Linux-compatible shmat() semantics * is enabled for the segment, so that shmat() succeeds even when * the segment would be removed. */ int linux_sys_shmget(struct lwp *l, const struct linux_sys_shmget_args *uap, register_t *retval) { /* { syscallarg(key_t) key; syscallarg(size_t) size; syscallarg(int) shmflg; } */ struct sys_shmget_args bsd_ua; SCARG(&bsd_ua, key) = SCARG(uap, key); SCARG(&bsd_ua, size) = SCARG(uap, size); SCARG(&bsd_ua, shmflg) = SCARG(uap, shmflg) | _SHM_RMLINGER; return sys_shmget(l, &bsd_ua, retval); } /* * shmat(2). Very straightforward, except that Linux passes a pointer * in which the return value is to be passed. This is subsequently * handled by libc, apparently. */ #ifndef __amd64__ int linux_sys_shmat(struct lwp *l, const struct linux_sys_shmat_args *uap, register_t *retval) { /* { syscallarg(int) shmid; syscallarg(void *) shmaddr; syscallarg(int) shmflg; syscallarg(u_long *) raddr; } */ int error; if ((error = sys_shmat(l, (const void *)uap, retval))) return error; if ((error = copyout(&retval[0], SCARG(uap, raddr), sizeof retval[0]))) return error; retval[0] = 0; return 0; } #endif /* __amd64__ */ /* * Convert between Linux and NetBSD shmid_ds structures. * The order of the fields is once again the difference, and * we also need a place to store the internal data pointer * in, which is unfortunately stored in this structure. * * We abuse a Linux internal field for that. */ void linux_to_bsd_shmid_ds(struct linux_shmid_ds *lsp, struct shmid_ds *bsp) { linux_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm); bsp->shm_segsz = lsp->l_shm_segsz; bsp->shm_lpid = lsp->l_shm_lpid; bsp->shm_cpid = lsp->l_shm_cpid; bsp->shm_nattch = lsp->l_shm_nattch; bsp->shm_atime = lsp->l_shm_atime; bsp->shm_dtime = lsp->l_shm_dtime; bsp->shm_ctime = lsp->l_shm_ctime; bsp->_shm_internal = lsp->l_private2; /* XXX Oh well. */ } void linux_to_bsd_shmid64_ds(struct linux_shmid64_ds *lsp, struct shmid_ds *bsp) { linux_to_bsd_ipc64_perm(&lsp->l_shm_perm, &bsp->shm_perm); bsp->shm_segsz = lsp->l_shm_segsz; bsp->shm_lpid = lsp->l_shm_lpid; bsp->shm_cpid = lsp->l_shm_cpid; bsp->shm_nattch = lsp->l_shm_nattch; bsp->shm_atime = lsp->l_shm_atime; bsp->shm_dtime = lsp->l_shm_dtime; bsp->shm_ctime = lsp->l_shm_ctime; bsp->_shm_internal = (void*)lsp->l___unused5; /* XXX Oh well. */ } void bsd_to_linux_shmid_ds(struct shmid_ds *bsp, struct linux_shmid_ds *lsp) { bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->l_shm_perm); lsp->l_shm_segsz = bsp->shm_segsz; lsp->l_shm_lpid = bsp->shm_lpid; lsp->l_shm_cpid = bsp->shm_cpid; lsp->l_shm_nattch = bsp->shm_nattch; lsp->l_shm_atime = bsp->shm_atime; lsp->l_shm_dtime = bsp->shm_dtime; lsp->l_shm_ctime = bsp->shm_ctime; lsp->l_private2 = bsp->_shm_internal; /* XXX */ } void bsd_to_linux_shmid64_ds(struct shmid_ds *bsp, struct linux_shmid64_ds *lsp) { bsd_to_linux_ipc64_perm(&bsp->shm_perm, &lsp->l_shm_perm); lsp->l_shm_segsz = bsp->shm_segsz; lsp->l_shm_lpid = bsp->shm_lpid; lsp->l_shm_cpid = bsp->shm_cpid; lsp->l_shm_nattch = bsp->shm_nattch; lsp->l_shm_atime = bsp->shm_atime; lsp->l_shm_dtime = bsp->shm_dtime; lsp->l_shm_ctime = bsp->shm_ctime; lsp->l___unused5 = (u_long)bsp->_shm_internal; /* XXX */ } /* * shmctl. * * The usual structure conversion and massaging is done. */ int linux_sys_shmctl(struct lwp *l, const struct linux_sys_shmctl_args *uap, register_t *retval) { /* { syscallarg(int) shmid; syscallarg(int) cmd; syscallarg(struct linux_shmid_ds *) buf; } */ struct shmid_ds bs; struct linux_shmid_ds ls; struct linux_shmid64_ds ls64; struct linux_shminfo64 lsi64; struct linux_shm_info lsi; int error, i, cmd, shmid; shmid = SCARG(uap, shmid); cmd = SCARG(uap, cmd); #ifdef LINUX_IPC_FORCE64 cmd |= LINUX_IPC_64; #endif switch (cmd & ~LINUX_IPC_64) { case LINUX_SHM_STAT: shmid = IXSEQ_TO_IPCID(shmid, shmsegs[shmid].shm_perm); retval[0] = shmid; /*FALLTHROUGH*/ case LINUX_IPC_STAT: error = shmctl1(l, shmid, IPC_STAT, &bs); if (error != 0) return error; if (cmd & LINUX_IPC_64) { bsd_to_linux_shmid64_ds(&bs, &ls64); error = copyout(&ls64, SCARG(uap, buf), sizeof ls64); } else { bsd_to_linux_shmid_ds(&bs, &ls); error = copyout(&ls, SCARG(uap, buf), sizeof ls); } return error; case LINUX_IPC_SET: if (cmd & LINUX_IPC_64) { error = copyin(SCARG(uap, buf), &ls64, sizeof ls64); linux_to_bsd_shmid64_ds(&ls64, &bs); } else { error = copyin(SCARG(uap, buf), &ls, sizeof ls); linux_to_bsd_shmid_ds(&ls, &bs); } if (error != 0) return error; return shmctl1(l, shmid, IPC_SET, &bs); case LINUX_IPC_RMID: return shmctl1(l, shmid, IPC_RMID, NULL); case LINUX_SHM_LOCK: return shmctl1(l, shmid, SHM_LOCK, NULL); case LINUX_SHM_UNLOCK: return shmctl1(l, shmid, SHM_UNLOCK, NULL); case LINUX_IPC_INFO: memset(&lsi64, 0, sizeof lsi64); lsi64.l_shmmax = shminfo.shmmax; lsi64.l_shmmin = shminfo.shmmin; lsi64.l_shmmni = shminfo.shmmni; lsi64.l_shmseg = shminfo.shmseg; lsi64.l_shmall = shminfo.shmall; for (i = shminfo.shmmni - 1; i > 0; i--) if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED) break; retval[0] = i; return copyout(&lsi64, SCARG(uap, buf), sizeof lsi64); case LINUX_SHM_INFO: (void)memset(&lsi, 0, sizeof lsi); lsi.l_used_ids = shm_nused; for (i = 0; i < shminfo.shmmni; i++) if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED) lsi.l_shm_tot += round_page(shmsegs[i].shm_segsz) / uvmexp.pagesize; lsi.l_shm_rss = 0; lsi.l_shm_swp = 0; lsi.l_swap_attempts = 0; lsi.l_swap_successes = 0; for (i = shminfo.shmmni - 1; i > 0; i--) if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED) break; retval[0] = i; return copyout(&lsi, SCARG(uap, buf), sizeof lsi); default: #ifdef DEBUG printf("linux_sys_shmctl cmd %d\n", SCARG(uap, cmd)); #endif return EINVAL; } } #endif /* SYSVSHM */