from "Power Macintosh" to "powerpc".
* libamu/util.c (xstrlcpy): format 'len' parameter as u_long, not
int (it's a size_t).
+2005-04-29 Erez Zadok <ezk@cs.sunysb.edu>
+
+ * m4/macros/host_macros.m4: for macosx, change architecture value
+ from "Power Macintosh" to "powerpc".
+
+ * libamu/util.c (xstrlcpy): format 'len' parameter as u_long, not
+ int (it's a size_t).
+
2005-04-16 Erez Zadok <ezk@cs.sunysb.edu>
* scripts/amd.conf.5, doc/am-utils.texi (normalize_slashes
* pawd handles all file systems
* fix double-free in type:=nfsx
* timeo and retrans shouldn't be set for type:=toplvl
+ * k/arch value on macosx should be "powerpc" not "Power Macintosh"
*** Notes specific to am-utils version 6.1-rc1
* SUCH DAMAGE.
*
*
- * $Id: strutil.c,v 1.16 2005/04/09 18:15:35 ottavio Exp $
+ * $Id: strutil.c,v 1.17 2005/04/29 18:48:19 ezk Exp $
*
*/
xstrlcpy(char *dst, const char *src, size_t len)
{
if (len < 0) {
- plog(XLOG_ERROR, "xstrlcpy: illegal len %d", len);
+ plog(XLOG_ERROR, "xstrlcpy: illegal len %lu", (u_long) len);
return;
}
if (len == 0)
sun3x ) host_arch=sun3 ;;
sun ) host_arch=`(arch) 2>/dev/null` || host_arch=unknown ;;
i?86 ) host_arch=i386 ;; # all x86 should show up as i386
+ Power*Macintosh ) host_arch=powerpc ;;
esac
AC_DEFINE_UNQUOTED(HOST_ARCH, "$host_arch")
AC_MSG_RESULT($host_arch)