diff options
author | Jim Meyering <jim@meyering.net> | 1997-09-01 20:26:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-09-01 20:26:57 +0000 |
commit | 6db9097565a5a9b092226ed75d97bd946ed8412b (patch) | |
tree | 154df476c138ca8c3ee72c6b00252bf2e5a85a4e /intl/localealias.c | |
parent | dfcc40952ef816208853b54d6fb2b05b23c81a73 (diff) | |
download | idutils-6db9097565a5a9b092226ed75d97bd946ed8412b.tar.gz idutils-6db9097565a5a9b092226ed75d97bd946ed8412b.tar.bz2 idutils-6db9097565a5a9b092226ed75d97bd946ed8412b.zip |
update gettext-0.31
Diffstat (limited to 'intl/localealias.c')
-rw-r--r-- | intl/localealias.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/intl/localealias.c b/intl/localealias.c index a869acf..00d9194 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -1,5 +1,5 @@ -/* localealias.c -- handle aliases for locale names - Copyright (C) 1995, 1996 Free Software Foundation, Inc. +/* Handle aliases for locale names + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. This program is free software; you can redistribute it and/or modify @@ -59,12 +59,14 @@ void free (); # include <string.h> #else # include <strings.h> +# ifndef memcpy +# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num) +# endif +#endif +#if !HAVE_STRCHR && !defined _LIBC # ifndef strchr # define strchr index # endif -# ifndef memcpy -# define memcpy(Dst, Src, Num) bcopy ((Src), (Dst), (Num)) -# endif #endif #include "gettext.h" @@ -295,7 +297,7 @@ read_alias_file (fname, fname_len) } } - /* Possibily not the whole line fitted into the buffer. Ignore + /* Possibly not the whole line fits into the buffer. Ignore the rest of the line. */ while (strchr (cp, '\n') == NULL) { |