This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
This version is a little cleaner. It assumes that all syscall names begin with the pattern "_*[a-z]", and that no syscall names begin with "_*[A-Z0-9]". This is currently a valid assumption, and I expect it will remain so. (If a syscall name ever began with a capital letter, then `sort -r' would improperly place capitals after underscores.) OK? 2000-07-07 Greg McGary <greg@mcgary.org> * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that have no names without leading underscores. Index: sysdeps/unix/make-syscalls.sh =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/make-syscalls.sh,v retrieving revision 1.17 diff -u -p -r1.17 make-syscalls.sh --- make-syscalls.sh 2000/07/06 00:48:38 1.17 +++ make-syscalls.sh 2000/07/08 06:23:45 @@ -193,8 +193,8 @@ shared-only-routines += $file x-,-,* | x*,*.[sS],*V*) ;; x*,-,*$ptrlet* | x*,*.[sS],*$ptrlet*) - # find the name without leading underscores - set `echo $strong $weak |tr -s ' \t' '\12' |sed '/^_/d'` + # choose the name with the fewest leading underscores, preferably none + set `echo $strong $weak |tr ' \t' '\n' |sort -r` callname=$1 # convert signature string to individual numbered arg names
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |