Diff for /xfs-cmds/xfstests/122 between versions 1.4 and 1.5

version 1.4, 2007/02/05 02:52:17 version 1.5, 2007/08/02 06:20:02
Line 119  xfs_inode_t Line 119  xfs_inode_t
 xfs_inode_log_item_t  xfs_inode_log_item_t
 xfs_log_iovec_t  xfs_log_iovec_t
 xfs_log_callback_t  xfs_log_callback_t
   xfs_metablock_t
 xfs_mount_t  xfs_mount_t
 xfs_sb_t  xfs_sb_t
 xfs_log_item_t  xfs_log_item_t
Line 151  cat /usr/include/xfs/xfs*.h | indent |\ Line 152  cat /usr/include/xfs/xfs*.h | indent |\
 awk '  awk '
    /typedef struct xfs_sb/ { structon = 1; next }     /typedef struct xfs_sb/ { structon = 1; next }
    structon && $2 ~ /^sb_/ { sub(/[;,]/,"",$2)     structon && $2 ~ /^sb_/ { sub(/[;,]/,"",$2)
                              print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}                                print "printf(\"offsetof(xfs_sb_t,", $2, ") = %d\\n\", offsetof(xfs_sb_t,", $2, "));"; next}
    structon && /}/ { structon = 0; next}     structon && /}/ { structon = 0; next}
 '>>$cprog   '>>$cprog
   
 echo 'return 0; }' >>$cprog  echo 'return 0; }' >>$cprog
   

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>