aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-03 00:33:54 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-03 00:33:54 +0000
commit6b00df4189bd15fe87244876b7f1a3cf800f72dc (patch)
tree9f8651b11ce64d33fd2fe3c6b8436596105c2b0f
parent93256cc1acaefb4c3ae0c13c5b979b298ba66279 (diff)
downloadglibc-6b00df4189bd15fe87244876b7f1a3cf800f72dc.zip
glibc-6b00df4189bd15fe87244876b7f1a3cf800f72dc.tar.gz
glibc-6b00df4189bd15fe87244876b7f1a3cf800f72dc.tar.bz2
1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com>
* posix/TESTS2C.sed: Recognize only digits in first field. This enables us to use colons in the pattern. 1997-05-01 20:02 Richard Henderson <rth@tamu.edu> * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel will preserve non-call-saved registers; save and restore a0 across the system call. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread data onto the new thread's stack.
-rw-r--r--ChangeLog13
-rw-r--r--posix/TESTS2C.sed2
-rw-r--r--posix/testcases.h8
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc00075..ce27e16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com>
+
+ * posix/TESTS2C.sed: Recognize only digits in first field. This
+ enables us to use colons in the pattern.
+
+1997-05-01 20:02 Richard Henderson <rth@tamu.edu>
+
+ * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
+ will preserve non-call-saved registers; save and restore a0 across
+ the system call.
+ * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
+ data onto the new thread's stack.
+
1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
diff --git a/posix/TESTS2C.sed b/posix/TESTS2C.sed
index 28dd131..d8c2d72 100644
--- a/posix/TESTS2C.sed
+++ b/posix/TESTS2C.sed
@@ -1,2 +1,2 @@
s/\\/\\\\/g
-s/\(.*\):\(.*\):\(.*\)/ {\1, "\2", "\3"},/
+s/\([0-9]*\):\(.*\):\(.*\)/ {\1, "\2", "\3"},/
diff --git a/posix/testcases.h b/posix/testcases.h
index c471ca0..d5dce0a 100644
--- a/posix/testcases.h
+++ b/posix/testcases.h
@@ -157,3 +157,11 @@
{0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Moammar Qudhafi"},
{0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Mu'ammar al-Qaddafi"},
{0, "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]", "Mulazim Awwal Mu'ammar Muhammad Abu Minyar al-Qadhafi"},
+ {0, "[[:digit:]]+", "01234"},
+ {1, "[[:alpha:]]+", "01234"},
+ {0, "^[[:digit:]]*$", "01234"},
+ {1, "^[[:digit:]]*$", "01234a"},
+ {0, "^[[:alnum:]]*$", "01234a"},
+ {0, "^[[:xdigit:]]*$", "01234a"},
+ {1, "^[[:xdigit:]]*$", "01234g"},
+ {0, "^[[:alnum:][:space:]]*$", "Hello world"},