aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/localedef/time.c
Commit message (Collapse)AuthorAgeFilesLines
* localedef: add newlines to error messagesKyle Evans2023-09-051-4/+4
| | | | | | | | | | | These won't be added elsewhere, so add a little bit of room to make these messages a little easier to read. The existing set is a mixed bag, there are somewhere in the ballpark of 45, 46 printfs to stderr and 19 of those had newlines. Reviewed by: yuripv Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D41693
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* localedef(1): Add comment markings for license.Pedro F. Giffuni2017-03-101-1/+1
| | | | Notes: svn path=/head/; revision=315007
* Revert r314969, r314961:Pedro F. Giffuni2017-03-091-2/+2
| | | | | | | | | | | | | | The localdef(1) changes are breaking world: 00:18:40.750 /usr/src/share/colldef/af_ZA.UTF-8.src: 2421: error: Bad file descriptor I will fix them offline. Reported by: lwshu and many others Notes: svn path=/head/; revision=314972
* localedef(1): Fix for memory leaks reported by coverity.Pedro F. Giffuni2017-03-091-2/+2
| | | | | | | | | | | | | Also some small cleanups to match better current illumos. CID: 1338540, 1338541, 1338557, 1338566 Obtained from: illumos Discussed with: Yuri Pankov (@Nexenta) MFC after: 5 days Notes: svn path=/head/; revision=314961
* localedef(1): minor spelling fixes on comments.Pedro F. Giffuni2016-05-011-1/+1
| | | | | | | No functional change. Notes: svn path=/head/; revision=298878
* Plug memory leaksBaptiste Daroussin2016-04-201-0/+2
| | | | | | | | Reported by: Coverity CID= 1338535, 1338536, 1338542, 1338569, 1338570 Notes: svn path=/head/; revision=298378
* lower again the warnings and remove the pragmas unsupported by gcc 4.2.1Baptiste Daroussin2015-11-081-5/+0
| | | | Notes: svn path=/head/; revision=290562
* Add localedef(1), a locale definition generator toolBaptiste Daroussin2015-08-071-0/+280
The localedef tool can read entire (and unmodified) CLDR posix definition files, and generate all 6 LC categories: LC_COLLATE, LC_CTYPE, LC_TIME, LC_NUMERIC, LC_MONETARY and LC_MESSAGES. This tool has a long history with Solaris. The Nexenta developers modified it to read CLDR files and created the much richer collation formats. The libc collation functions have to be modified to read the new format (called "BSD-1.0") and to handle the new data structures. The result will be that locale-sensitive tools and functions will now properly sort multibyte and unicode strings. Obtained from: Dragonfly Notes: svn path=/projects/collation/; revision=286432