]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
add an entry for these few minor items.
authorNathan Scott <nathans@sgi.com>
Wed, 1 Aug 2001 04:25:55 +0000 (04:25 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 1 Aug 2001 04:25:55 +0000 (04:25 +0000)
doc/CHANGES
include/builddefs.in
libdisk/drivers.c
libdisk/md.c
mkfs/fstyp.c
rtcp/xfs_rtcp.c

index 935203d148766005e725b8ae7821f02dad7359d2..59926309e292d54ab079a914f53909c65fe67fa1 100644 (file)
@@ -1,3 +1,9 @@
+xfsprogs-current
+       - several man pages updated to document external log usage
+       - install yet another shared library symlink for ld to find
+       - switched on -fno-strict-aliasing for library object builds
+       - fix several minor compiler warnings when building on IA64
+
 xfsprogs-1.3.3 (27 July 2001)
        - fixes for (hopefully) the last few nits in libtool usage
 
index ff58626eeb1e4080889b5135a79a5ca1d198b7b5..6e6f7d1f88ec8ba02d344a617e1c3eaed9525b25 100644 (file)
@@ -99,7 +99,8 @@ LDLIBS = $(LLDLIBS) $(MALLOCLIB)
 
 MAKEOPTS = --no-print-directory
 SRCFILES = Makefile $(HFILES) $(CFILES) $(LSRCFILES) $(LFILES) $(YFILES)
-DIRT = $(LDIRT) dep dep.bak $(OBJECTS) $(LTCOMMAND) $(LTLIBRARY) *.[1-9].gz
+DIRT = $(LDIRT) dep dep.bak $(OBJECTS) $(LTOBJECTS) *.[1-9].gz \
+       $(LTCOMMAND) $(LTLIBRARY)
 
 OBJECTS = $(ASFILES:.s=.o) \
           $(CFILES:.c=.o) \
@@ -118,18 +119,19 @@ CXXF      = $(CXX) $(CXXFLAGS)
 LDF    = $(LD) $(LDFLAGS)
 
 # For libtool.
-DIRT += $(LTOBJECTS) $(LTLIBRARY)
+LIBNAME = $(basename $(LTLIBRARY))
+LTOBJECTS = $(OBJECTS:.o=.lo)
+LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
 LTLINK = $(LIBTOOL) --mode=link $(CC)
 LTEXEC = $(LIBTOOL) --mode=execute
 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
-LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) -D_REENTRANT
-LTVERSION = $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
-LTOBJECTS = $(OBJECTS:.o=.lo)
+LTCOMPILE = $(LIBTOOL) --mode=compile $(CCF) -D_REENTRANT -fno-strict-aliasing
+
 ifeq ($(ENABLE_SHARED),yes)
 LTLDFLAGS += -rpath $(PKG_SLIB_DIR) 
 LTLDFLAGS += -version-info $(LTVERSION)
 endif
-LIBNAME = $(basename $(LTLIBRARY))
 
 ifeq ($(ENABLE_SHARED),yes)
 INSTALL_LTLIB = \
index 06f290c82450a4dcf162818a792bf30b2dba4152..6e56c9c6639cd7e3af531443142ba0ff2ded1cf1 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
 #include <volume.h>
index 12e596d6107044af83eb027896d729c08bea026f..ac93d596c2829d0ace1f7853438c9af59c4f42eb 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <fcntl.h>
+#include <stdlib.h>
 #include <volume.h>
 #include <sys/stat.h>
 #include "md.h"
index 3a46b93ebc3f33a05c7f89d06d6d06b764494a7a..9e6eebc56d2d3052d60f38ed41808e9200261ffd 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <fcntl.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <fstyp.h>
index 2f76ed2aa274e5080f7227dfa3348fcf19582a98..ebad94d5fc22592953a3ccb21068b76765580e24 100644 (file)
@@ -317,7 +317,7 @@ rtcp( char *source, char *target, int fextsize)
                        source, dioattr.d_miniosz);
                if ( pflag ) {
                        printf("%s will be padded to %lld bytes.\n",
-                               tbuf,
+                               tbuf, (long long)
                                (((s1.st_size / dioattr.d_miniosz) + 1)  *
                                        dioattr.d_miniosz) );