conditional, to work around an IRIX-6.5 cc bug.
* amd/Makefile.am (amd_LDADD): put libaminfo.a before libamu.la.
Some linkers (e.g., IRIX-6.5) incorrectly complain about undefined
symbols.
2005-10-07 Erez Zadok <ezk@cs.sunysb.edu>
+ * amd/info_exec.c (exec_map_open): break assignment from inside
+ conditional, to work around an IRIX-6.5 cc bug.
+
+ * amd/Makefile.am (amd_LDADD): put libaminfo.a before libamu.la.
+ Some linkers (e.g., IRIX-6.5) incorrectly complain about undefined
+ symbols.
+
* fsinfo/fsi_util.c (set_ether_if), amd/map.c (unmount_mp),
libamu/xutil.c (expand_error), libamu/strutil.c (xsnprintf): avoid
comparison between signed and unsigned integers.
# AMD_FS_OBJS: a list of ops_*.o objects added, depending on which
# filesystem types this system supports.
EXTRA_amd_OBJECTS = @AMD_FS_OBJS@
-amd_LDADD = $(EXTRA_amd_OBJECTS) get_args.o ../libamu/libamu.la libaminfo.a
+amd_LDADD = $(EXTRA_amd_OBJECTS) get_args.o libaminfo.a ../libamu/libamu.la
##############################################################################
sun2amd_SOURCES = \
return -1;
case 0:
/* child #1 */
- switch ((p2 = vfork())) {
+ p2 = vfork();
+ switch (p2) {
case -1:
/* child #1: fork error */
exit(errno);