update a comment.

This commit is contained in:
Nathan Scott
2001-05-09 07:03:16 +00:00
parent 0fc113ba34
commit a777d6221e
13 changed files with 25 additions and 49 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ AC_SUBST(pkg_name)
#
DEBUG=${DEBUG:-'-DDEBUG'} # -DNDEBUG
OPTIMIZER=${OPTIMIZER:-'-g'} # -O2
OPTIMIZER=${OPTIMIZER:-'-g'} # (-O1 enforced default)
MALLOCLIB=${MALLOCLIB:-''} # /usr/lib/libefence.a
dnl Debug build?
+3 -3
View File
@@ -69,9 +69,9 @@ PKG_DOC_DIR = @pkg_doc_dir@
# $(CXXFILES), or $(HFILES) and is used to construct the manifest list
# during the "dist" phase (packaging).
CFLAGS += $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -Wno-parentheses \
$(LCFLAGS) -I$(TOPDIR)/include '-DVERSION="$(PKG_VERSION)"' \
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
CFLAGS += -O1 $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall $(LCFLAGS) \
-I$(TOPDIR)/include '-DVERSION="$(PKG_VERSION)"' -D_GNU_SOURCE \
-D_FILE_OFFSET_BITS=64
LDFLAGS = $(LLDFLAGS)
LDLIBS = $(LLDLIBS) $(MALLOCLIB)
+1 -4
View File
@@ -32,9 +32,6 @@
#include <libxfs.h>
#include <jdm.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
@@ -97,7 +94,7 @@ main(int argc, char **argv)
int verbose = 0;
xfs_bstat_t *t;
int ret;
jdm_fshandle_t *fshandlep;
jdm_fshandle_t *fshandlep = NULL;
int fd;
struct stat64 sb;
int nread;
-2
View File
@@ -31,9 +31,7 @@
*/
#include <libxfs.h>
#include <fcntl.h>
#include <malloc.h>
#include <errno.h>
int
main(int argc, char **argv)
-3
View File
@@ -31,9 +31,6 @@
*/
#include <libxfs.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/ioctl.h>
void expect_error(int r, int err)
+5 -6
View File
@@ -1,4 +1,3 @@
/*
* Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
@@ -117,24 +116,24 @@ main(int argc, char **argv)
char *p; /* for getsubopt calls */
long nbytes; /* total number of bytes to write */
int dlen; /* length of normal output data line */
const char *dseed; /* input string for seeding rand */
const char *dseed = NULL; /* input string for seeding rand */
unsigned int seed; /* seed for output data */
char *dfile; /* where to write output */
char *dfile = NULL; /* where to write output */
FILE *f; /* output file */
char *dbuf; /* output line buffer */
char bbuf[50]; /* block boundary string */
char *active; /* active buffer to copy out of */
char *active = NULL; /* active buffer to copy out of */
size_t hlen; /* header length (bytes+key) in output */
/* lines */
char *hptr; /* pointer to end of header */
char *ptr; /* current position to copy from */
int blktype; /* current block boundary type */
int blktype = 0; /* current block boundary type */
int boundary; /* set if current output char lies on */
/* block boundary */
long i;
int j;
int l;
int l = 0;
/* defaults */
+11 -20
View File
@@ -33,28 +33,19 @@
#ifndef GLOBAL_H
#define GLOBAL_H
/* includes */
#include <stdio.h>
#include <sys/types.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <getopt.h>
#include <malloc.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <dirent.h>
/* xfs specific includes */
/* xfs-specific includes */
#include <libxfs.h>
#include <attributes.h>
/* libc includes */
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <malloc.h>
#include <dirent.h>
#endif
+1 -1
View File
@@ -54,7 +54,7 @@ main(int argc, char *argv[])
{
int interleave, blocksize, count, rev, i, ch, fd;
long filesize;
char *filename;
char *filename = NULL;
int errs;
filesize = 1024*1024;
-3
View File
@@ -32,9 +32,6 @@
#include <libxfs.h>
#include <jdm.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-3
View File
@@ -41,9 +41,6 @@
#include <libxfs.h>
#include <malloc.h>
#include <errno.h>
#include <fcntl.h>
#include <xfs_log.h>
#include <xfs_log_priv.h>
+1 -1
View File
@@ -105,7 +105,7 @@ main(int argc, char *argv[])
{
char *sourcefile, *c;
int totalnames, iterations, zeroout;
int zone, op, pct_remove, pct_create, ch, i, retval, fd;
int zone, op, pct_remove=0, pct_create=0, ch, i, retval, fd;
struct stat64 statb;
struct info *ip;
int seed, linedots;
+1 -1
View File
@@ -72,7 +72,7 @@ int
main(int argc, char *argv[])
{
int seed, ch, fd, oflags;
char *filename;
char *filename = NULL;
int r;
filesize = ((off64_t)256)*1024*1024;
+1 -1
View File
@@ -54,7 +54,7 @@ int
main(int argc, char *argv[])
{
int seed, i, ch, fd;
char *filename;
char *filename = NULL;
filesize = 256*1024*1024;
blocksize = 512;