Changeset 3c7702c0 in mainline


Ignore:
Timestamp:
2018-01-04T20:13:42Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cde999a
Parents:
0d0b319
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:13:42)
Message:

Add make check_errno, which checks whether there are instances of
"compatibility only" error codes in HelenOS code.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r0d0b319 r3c7702c0  
    9393endif
    9494
     95# `sed` pulls a list of "compatibility-only" error codes from `errno.in`,
     96# the following grep finds instances of those error codes in HelenOS code.
     97check_errno:
     98        @ ! cat abi/include/abi/errno.in | \
     99        sed -n -e '1,/COMPAT_START/d' -e 's/__errno_entry(\([A-Z0-9]\+\).*/\\b\1\\b/p' | \
     100        git grep -n -f - -- ':(exclude)abi' ':(exclude)uspace/lib/posix'
     101
    95102# Autotool (detects compiler features)
    96103
  • abi/include/abi/errno.h

    r0d0b319 r3c7702c0  
    5757 */
    5858
     59/* COMPAT_START -- do not remove or edit this comment */
     60
    5961#define E2BIG             __errno_t(  101)
    6062#define EACCES            __errno_t(  102)
  • abi/include/abi/errno.in

    r0d0b319 r3c7702c0  
    5555 * move it up to the first group.
    5656 */
     57
     58/* COMPAT_START -- do not remove or edit this comment */
    5759
    5860__errno_entry(E2BIG            ,  101, "Argument list too long")
  • uspace/srv/net/inetsrv/ntrans.c

    r0d0b319 r3c7702c0  
    153153 *
    154154 * @return EOK if woken up by another fibril
    155  * @return ETIMEDOUT if timed out
     155 * @return ETIMEOUT if timed out
    156156 *
    157157 */
Note: See TracChangeset for help on using the changeset viewer.