The NetBSD Project

CVS log for src/lib/libintl/gettext.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libintl

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 3 16:35:57 2019 UTC (12 months, 4 weeks ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, HEAD
Changes since 1.30: +5 -4 lines
Diff to previous 1.30 (colored)

provide sizes so that we don't truncate accidentally.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 4 08:21:11 2019 UTC (20 months, 3 weeks ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.29: +6 -4 lines
Diff to previous 1.29 (colored)

check for snprintf() truncation and fail sanely if so, rather than
attempting to use a file that won't exist or isn't secure.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 29 12:26:28 2015 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.28: +111 -34 lines
Diff to previous 1.28 (colored)

Patch from William Orr in tech-userlevel:

- Added most *p*gettext functions
- Added basic function to concat msgctxt and msgid
- Simplify free handling

Need to write tests.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 30 23:04:42 2012 UTC (8 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.27: +17 -4 lines
Diff to previous 1.27 (colored)

comments

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 21 10:10:36 2012 UTC (8 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Use C89 function definition

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 21 13:35:49 2012 UTC (8 years, 9 months ago) by tnozaki
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

libintl crash when *.mo file lacks header section(old gettext format).
reported by jun@ -san, tested by tsutsui@ -san. thanks!

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 25 08:19:09 2007 UTC (13 years, 1 month ago) by junyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.24: +57 -99 lines
Diff to previous 1.24 (colored)

Massive cosmetic changes, notably:
 * ANSIfy
 * De-__P
 * u_intXX_t -> uintXX_t
 * Remove "extern" from function prototypes

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 1 11:08:57 2005 UTC (15 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

appease gcc -Wuninitialized

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 15 09:58:06 2005 UTC (15 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.22: +9 -4 lines
Diff to previous 1.22 (colored)

dcngettext: don't return stack garbage when there's no usable database.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 14 17:58:56 2005 UTC (15 years, 5 months ago) by tshiozak
Branch: MAIN
Changes since 1.21: +67 -18 lines
Diff to previous 1.21 (colored)

add plural support.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 27 09:51:52 2005 UTC (15 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

correct size to malloc.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 23 21:35:27 2004 UTC (16 years, 1 month ago) by tshiozak
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.19: +250 -28 lines
Diff to previous 1.19 (colored)

add system dependent strings support.
this hopefully allows to use .mo files generated by gettext-0.12 or later.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 23 16:44:26 2004 UTC (16 years, 1 month ago) by tshiozak
Branch: MAIN
Changes since 1.18: +92 -18 lines
Diff to previous 1.18 (colored)

- add hash table support.
- make use of __UNCONST() instead of LINTED.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 18 08:40:40 2004 UTC (16 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.17: +9 -7 lines
Diff to previous 1.17 (colored)

implement gettext implicit iconv and bind_textdomain_codeset.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 5 19:21:00 2004 UTC (16 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

sys/types.h is not needed here.  kevlo@openbsd

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 2 22:19:51 2004 UTC (16 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

minor KNF

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 2 12:10:48 2004 UTC (16 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

use strlcpy

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 9 01:02:34 2003 UTC (17 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

enable __RCSID() (no need to protect in LIBC_SCCS or !__lint)

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 13 08:01:13 2002 UTC (18 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

- give the precedence to LC_ALL environment variable
  than other LC_* variables.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 29 05:54:36 2001 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

fix a bug that uninitialised buffer is used when LANG is like "en_US".

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 9 11:11:01 2001 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.10: +16 -2 lines
Diff to previous 1.10 (colored)

allow relative pathnames as a dirname argument of bindtextdomain(3)
since some autoconf configure scripts depends on this behavior.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 27 15:29:06 2001 UTC (19 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.9: +38 -29 lines
Diff to previous 1.9 (colored)

- change mofile search order according to manpage(=li18nux2000).
- there is no need to fail even if strdup for odomainname&ocname were failed.
- don't modify lpath in lookup_mofile since it may used later(copied to olpath)

(sync with citrus)

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 16 07:20:35 2001 UTC (19 years, 8 months ago) by minoura
Branch: MAIN
Changes since 1.8: +100 -83 lines
Diff to previous 1.8 (colored)

Sync w/ Citrus.
Do not unmap mo files to make sure the gettext() return values are
valid even when multiple mo files are accessed by turns.
Some applications (GNOME, etc) depends on this behaviour of GNU's
implementation.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 15 10:48:31 2001 UTC (19 years, 8 months ago) by minoura
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

Sync w/ Citrus.
Return NULL when msgid == NULL, per GNU implementation.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 15 06:37:21 2000 UTC (19 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.6: +6 -5 lines
Diff to previous 1.6 (colored)

fix mmap() return value validation.  comment from freebsd-audit.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 14 02:06:12 2000 UTC (19 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.5: +16 -6 lines
Diff to previous 1.5 (colored)

check strdup failure.  reported by freebsd-audit.
sync with citrus.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 3 14:29:22 2000 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.4: +24 -7 lines
Diff to previous 1.4 (colored)

update bindtextdomain() handling to be conformant to spec.  we need to
maintain database for (domain, path).  sync with citrus.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 31 16:02:52 2000 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.3: +8 -11 lines
Diff to previous 1.3 (colored)

less warnings on lint.  be more friendly with align-picky arch.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 31 11:08:18 2000 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.2: +4 -6 lines
Diff to previous 1.2 (colored)

remove confusing goto.  sync with citrus

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 31 11:05:22 2000 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

fix read(2) return value validation.  sync with citrus

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 31 10:45:04 2000 UTC (20 years ago) by itojun
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>