Date: Fri, 30 Nov 2007 08:57:57 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 129818 for review Message-ID: <200711300857.lAU8vvtA013370@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129818 Change 129818 by jb@jb_freebsd1 on 2007/11/30 08:57:38 Make this compile cleanly. No vendor branch here. Nyuk Nyuk Nyuk. Affected files ... .. //depot/projects/binutils/src/contrib/binutils/intl/l10nflist.c#3 edit Differences ... ==== //depot/projects/binutils/src/contrib/binutils/intl/l10nflist.c#3 (text+ko) ==== @@ -139,12 +139,12 @@ #endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ #if !defined _LIBC && !defined HAVE___ARGZ_NEXT -static char *argz_next__ PARAMS ((char *argz, size_t argz_len, +static const char *argz_next__ PARAMS ((const char *argz, size_t argz_len, const char *entry)); -static char * +static const char * argz_next__ (argz, argz_len, entry) - char *argz; + const char *argz; size_t argz_len; const char *entry; { @@ -366,9 +366,9 @@ if (dirlist_count > 1) { /* Iterate over all elements of the DIRLIST. */ - char *dir = NULL; + const char *dir = NULL; - while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) + while ((dir = __argz_next (dirlist, dirlist_len, dir)) != NULL) retval->successor[entries++] = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711300857.lAU8vvtA013370>