changeset 109:1947020d092e

GNU file utilities
author Jim Meyering <jim@meyering.net>
date Sat, 09 Oct 1993 19:43:03 +0000
parents 2fe2bb5df1f3
children 46e84c72a5da
files lib/argmatch.c lib/backupfile.c lib/fsusage.c lib/idcache.c lib/mountlist.c
diffstat 5 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/lib/argmatch.c	Fri Oct 08 00:46:11 1993 +0000
+++ b/lib/argmatch.c	Sat Oct 09 19:43:03 1993 +0000
@@ -49,9 +49,9 @@
   int arglen;			/* Length of ARG.  */
   int matchind = -1;		/* Index of first nonexact match.  */
   int ambiguous = 0;		/* If nonzero, multiple nonexact match(es).  */
-  
+
   arglen = strlen (arg);
-  
+
   /* Test all elements for either exact match or abbreviated matches.  */
   for (i = 0; optlist[i]; i++)
     {
--- a/lib/backupfile.c	Fri Oct 08 00:46:11 1993 +0000
+++ b/lib/backupfile.c	Sat Oct 09 19:43:03 1993 +0000
@@ -156,11 +156,11 @@
   int highest_version;
   int this_version;
   int file_name_length;
-  
+
   dirp = opendir (dir);
   if (!dirp)
     return 0;
-  
+
   highest_version = 0;
   file_name_length = strlen (file);
 
@@ -168,7 +168,7 @@
     {
       if (!REAL_DIR_ENTRY (dp) || NLENGTH (dp) <= file_name_length)
 	continue;
-      
+
       this_version = version_number (file, dp->d_name, file_name_length);
       if (this_version > highest_version)
 	highest_version = this_version;
@@ -207,7 +207,7 @@
 {
   int version;
   char *p;
-  
+
   version = 0;
   if (!strncmp (base, backup, base_length) && ISDIGIT (backup[base_length]))
     {
--- a/lib/fsusage.c	Fri Oct 08 00:46:11 1993 +0000
+++ b/lib/fsusage.c	Sat Oct 09 19:43:03 1993 +0000
@@ -31,7 +31,7 @@
 
 int statfs ();
 
-#if defined (STATFS_OSF1)	/* DEC Alpha running OSF/1 */
+#if defined (STAT_STATFS3_OSF1)	/* DEC Alpha running OSF/1 */
 #  include <sys/mount.h>
 #endif
 
@@ -95,13 +95,13 @@
      char *path, *disk;
      struct fs_usage *fsp;
 {
-#if defined (STATFS_OSF1)
+#if defined (STAT_STATFS3_OSF1)
   struct statfs fsd;
 
   if (statfs (path, &fsd, sizeof (struct statfs)) != 0)
     return (-1);
 #define convert_blocks(b) adjust_blocks ((b),fsd.f_fsize, 512)
-#endif /* STATFS_OSF1 */
+#endif /* STAT_STATFS3_OSF1 */
 
 #ifdef STAT_STATFS2_FS_DATA	/* Ultrix.  */
   struct fs_data fsd;
--- a/lib/idcache.c	Fri Oct 08 00:46:11 1993 +0000
+++ b/lib/idcache.c	Sat Oct 09 19:43:03 1993 +0000
@@ -210,7 +210,7 @@
       group_alist = tail;
       return &tail->id.g;
     }
-  
+
   tail->next = nogroup_alist;
   nogroup_alist = tail;
   return 0;
--- a/lib/mountlist.c	Fri Oct 08 00:46:11 1993 +0000
+++ b/lib/mountlist.c	Sat Oct 09 19:43:03 1993 +0000
@@ -109,7 +109,7 @@
      char *cp;
 {
   int val;
-  
+
   val = 0;
   while (*cp)
     {
@@ -386,7 +386,7 @@
 	me->me_type =  xstrdup ((*ent)->mt_fstype);
 	me->me_dev = -1;	/* Magic; means not known yet. */
 	me->me_next = NULL;
-	
+
 	/* Add to the linked list. */
 	mtail->me_next = me;
 	mtail = me;
@@ -459,7 +459,7 @@
 	  }
 	else
 	  {
-	    me->me_devname = xstrdup (thisent + 
+	    me->me_devname = xstrdup (thisent +
 				      vmp->vmt_data[VMT_OBJECT].vmt_off);
 	  }
 	me->me_mountdir = xstrdup (thisent + vmp->vmt_data[VMT_STUB].vmt_off);