break down coarse-grained 64-bit-off_t syscall remappings
authorRich Felker <dalias@aerifal.cx>
Fri, 30 May 2014 06:05:59 +0000 (02:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 30 May 2014 06:05:59 +0000 (02:05 -0400)
commit106e65d6f6ba4d027e1fde1b1d2fabb92714da94
tree2ec51498ff809e94bae6c5386ffa1bceedc17933
parent5cf9e8f860dcfe63b36e050dd7dfbc5e53745fce
break down coarse-grained 64-bit-off_t syscall remappings

using the existence of SYS_stat64 as the condition for remapping other
related syscalls is no longer valid, since new archs that omit the old
syscalls will not have SYS_stat or SYS_stat64, but still potentially
need SYS_fstat and others remapped. it would probably be possible to
get by with just one or two extra conditionals, but just breaking them
all down into separate conditions is robust and not significantly
heavier for the preprocessor.
src/internal/syscall.h