Ignore:
Timestamp:
Dec 17, 2013, 9:59:13 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1464599
Parents:
56bea43
git-author:
Sebastian Huber <sebastian.huber@…> (12/17/13 09:59:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/20/13 09:31:53)
Message:

libcsupport: Accept NULL for zero-length entries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxrdwrv/test.c

    r56bea43 rc1d8ee4  
    362362  vec[0].iov_base = vec;
    363363  vec[0].iov_len = 0;
    364   vec[1].iov_base = vec;
     364  vec[1].iov_base = NULL;
    365365  vec[1].iov_len = 0;
    366366  puts("writev iov_len works with no effect -- OK");
     
    375375  vec[0].iov_base = vec;
    376376  vec[0].iov_len = 0;
    377   vec[1].iov_base = vec;
     377  vec[1].iov_base = NULL;
    378378  vec[1].iov_len = 0;
    379379  puts("readv iov_len works with no effect -- OK");
Note: See TracChangeset for help on using the changeset viewer.