cvs commit: src/sbin/gpt add.c label.c remove.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Oct 4 11:21:18 PDT 2006


marcel      2006-10-04 18:20:26 UTC

  FreeBSD src repository

  Modified files:
    sbin/gpt             add.c label.c remove.c 
  Log:
  Use strtoll(3) instead of strtol(3) for the starting block or
  partition size. On 32-bit platforms sizeof(long) < sizeof(off_t)
  and using strtol(3) would prevent partitions larger than 4G
  sectors or beyond 4G blocks.
  
  PR: bin/103991
  MFC after: 3 days
  
  Revision  Changes    Path
  1.15      +2 -2      src/sbin/gpt/add.c
  1.3       +2 -2      src/sbin/gpt/label.c
  1.10      +2 -2      src/sbin/gpt/remove.c


More information about the cvs-src mailing list