aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-07-08 07:12:48 +0000
committerGreg McGary <greg@mcgary.org>2000-07-08 07:12:48 +0000
commitf2c9942e975241ca685eeae5b58547d4d91336da (patch)
treef8d42b1d1afb594aacf5a280eef00df91cdad379 /sysdeps
parent6ccf5e679ad89ce7d19585e721ce3ed1510483ae (diff)
downloadglibc-f2c9942e975241ca685eeae5b58547d4d91336da.zip
glibc-f2c9942e975241ca685eeae5b58547d4d91336da.tar.gz
glibc-f2c9942e975241ca685eeae5b58547d4d91336da.tar.bz2
* sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
have no names without leading underscores. 2000-07-07 Greg McGary <greg@mcgary.org> * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that have no names without leading underscores.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/make-syscalls.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 0bedf7a..61da421 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -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