projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fdwalk should return 0 on an empty directory
[kopensolaris-gnu/glibc.git]
/
sysdeps
/
unix
/
ioctls.awk
1
BEGIN { special = 0 }
2
3
/REQUESTS/ { nreqs = split(requests, reqs)
4
for (i = 1; i <= nreqs; ++i)
5
printf "#ifdef\t%s\n DEFINE(\"%s\", %s);\n#endif\n", \
6
reqs[i], reqs[i], reqs[i]
7
special = 1 }
8
9
10
{ if (special == 0) print $0; special = 0 }