chk.offt
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 1k
Category:

MySQL

Development Platform:

Visual C++

  1. #!/bin/sh -
  2. #
  3. # $Id: chk.offt,v 1.3 2000/12/12 18:20:59 bostic Exp $
  4. #
  5. # Make sure that no off_t's have snuck into the release.
  6. # Run from the top-level directory.
  7. [ -f db_config.h ] && cd ..
  8. egrep -w off_t */*.[ch] |
  9. sed -e "/#undef off_t/d" 
  10.     -e "/mp_fopen.c:.*can't use off_t's here/d" 
  11.     -e "/mp_fopen.c:.*size or type off_t's or/d" 
  12.     -e "/mp_fopen.c:.*where an off_t is 32-bits/d" 
  13.     -e "/os_map.c:.*(off_t)0))/d" 
  14.     -e "/os_rw.c:.*(off_t)db_iop->pgno/d" 
  15.     -e "/os_seek.c:.*off_t offset;/d" 
  16.     -e "/os_seek.c:.*offset = /d" 
  17.     -e "/test_vxworks/vx_mutex.c:/d"