diff options
author | phantom <phantom@FreeBSD.org> | 2001-12-11 15:55:42 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-12-11 15:55:42 +0000 |
commit | f3ed7361342301c866a8d105912aa6f104ffc8b4 (patch) | |
tree | c62a1177cbccca85d9a4ab689c4715da8c827bad /lib/libc/locale/ldpart.c | |
parent | cdb5aff0aa9a9eb36e9553221a2c5949131c95d9 (diff) | |
download | FreeBSD-src-f3ed7361342301c866a8d105912aa6f104ffc8b4.zip FreeBSD-src-f3ed7361342301c866a8d105912aa6f104ffc8b4.tar.gz |
* Add my e-mail to copyrights
* style(9)'ify
Diffstat (limited to 'lib/libc/locale/ldpart.c')
-rw-r--r-- | lib/libc/locale/ldpart.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/locale/ldpart.c b/lib/libc/locale/ldpart.c index a55a8b7..9cc8046 100644 --- a/lib/libc/locale/ldpart.c +++ b/lib/libc/locale/ldpart.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2001 Alexey Zelkin + * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -35,6 +35,7 @@ #include <string.h> #include <unistd.h> #include "un-namespace.h" + #include "setlocale.h" #include "ldpart.h" @@ -73,8 +74,8 @@ __part_load_locale(const char *name, return 0; /* - ** If the locale name is the same as our cache, use the cache. - */ + * If the locale name is the same as our cache, use the cache. + */ lbuf = locale_buf; if (lbuf != NULL && strcmp(name, lbuf) == 0) { set_from_buf(lbuf, num_lines, dst_localebuf); @@ -82,8 +83,8 @@ __part_load_locale(const char *name, return 0; } /* - ** Slurp the locale file into the cache. - */ + * Slurp the locale file into the cache. + */ namesize = strlen(name) + 1; if (!_PathLocale) @@ -115,8 +116,8 @@ __part_load_locale(const char *name, if (_close(fd) != 0) goto bad_lbuf; /* - ** Parse the locale file into localebuf. - */ + * Parse the locale file into localebuf. + */ if (plim[-1] != '\n') goto bad_lbuf; num_lines = split_lines(p, plim); |