Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1bb855a7
Commit
1bb855a7
authored
May 21, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-diffed patch against glibc 2.2.5 (the last one was malformed and
did not apply)
parent
62b683c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
24 deletions
+25
-24
Docs/glibc-2.2.5.patch
Docs/glibc-2.2.5.patch
+25
-24
No files found.
Docs/glibc-2.2.5.patch
View file @
1bb855a7
diff -r -c --exclude=
*.info* glibc-2.2.4/linuxthreads/internals.h glibc-2.2.4-new
/linuxthreads/internals.h
***
glibc-2.2.
4/linuxthreads/internals.h Mon Jul 23 20:54:13
2001
--- glibc-2.2.
4-new/linuxthreads/internals.h Tue Apr 16 15:08:0
3 2002
diff -r -c --exclude=
'*.info*' glibc-2.2.5.org/linuxthreads/internals.h glibc-2.2.5
/linuxthreads/internals.h
***
glibc-2.2.
5.org/linuxthreads/internals.h Thu Nov 29 08:44:16
2001
--- glibc-2.2.
5/linuxthreads/internals.h Tue May 21 10:51:5
3 2002
***************
*** 3
39,345
****
*** 3
43,349
****
THREAD_SELF implementation is used, this must be a power of two and
a multiple of PAGE_SIZE. */
#ifndef STACK_SIZE
...
...
@@ -10,7 +10,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/linuxthreads/internals.h glibc-2.2.4-ne
#endif
/* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */
--- 3
39,345
----
--- 3
43,349
----
THREAD_SELF implementation is used, this must be a power of two and
a multiple of PAGE_SIZE. */
#ifndef STACK_SIZE
...
...
@@ -18,9 +18,9 @@ diff -r -c --exclude=*.info* glibc-2.2.4/linuxthreads/internals.h glibc-2.2.4-ne
#endif
/* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */
diff -r -c --exclude=
*.info* glibc-2.2.4/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h glibc-2.2.4-new
/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h
***
glibc-2.2.
4/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Fri Jun 9 22:17:35
2000
--- glibc-2.2.
4-new/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Tue Apr 16 15:10:3
8 2002
diff -r -c --exclude=
'*.info*' glibc-2.2.5.org/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h glibc-2.2.5
/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h
***
glibc-2.2.
5.org/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Thu Jun 8 21:49:49
2000
--- glibc-2.2.
5/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Tue May 21 10:52:5
8 2002
***************
*** 64,70 ****
/* The number of threads per process. */
...
...
@@ -38,21 +38,21 @@ diff -r -c --exclude=*.info* glibc-2.2.4/linuxthreads/sysdeps/unix/sysv/linux/bi
/* Maximum amount by which a process can descrease its asynchronous I/O
priority level. */
diff -r -c --exclude=
*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new
/nss/nsswitch.c
***
glibc-2.2.
4/nss/nsswitch.c Mon Jul 23 20:54:48
2001
--- glibc-2.2.
4-new/nss/nsswitch.c Fri May 3 04:17:44
2002
diff -r -c --exclude=
'*.info*' glibc-2.2.5.org/nss/nsswitch.c glibc-2.2.5
/nss/nsswitch.c
***
glibc-2.2.
5.org/nss/nsswitch.c Tue Jul 17 10:21:36
2001
--- glibc-2.2.
5/nss/nsswitch.c Tue May 21 10:59:55
2002
***************
*** 496,501 ****
--- 496,502 ----
{
service_user *new_service;
const char *name;
+
int name_alloc_len;
+
int name_alloc_len;
while (isspace (line[0]))
++line;
***************
522
*** 510,522 ****
if (name == line)
return result;
...
...
@@ -66,7 +66,7 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw
/* Set default actions. */
new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE;
--- 511,53
3
----
--- 511,53
4
----
if (name == line)
return result;
...
...
@@ -74,12 +74,12 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw
+
+ #ifdef DO_STATIC_NSS
+ if (!((name_alloc_len == 6 && strncmp(name,"files",5) == 0) ||
+
(name_alloc_len == 4 && strncmp(name,"dns",3) == 0)))
+
(name_alloc_len == 4 && strncmp(name,"dns",3) == 0)))
+ {
+
name = (char*) "files";
+ name_alloc_len
=
6;
+
name = (char*) "files";
+ name_alloc_len
=
6;
+ }
+ #endif
+ #endif
new_service = (service_user *) malloc (sizeof (service_user)
! + name_alloc_len);
...
...
@@ -87,12 +87,13 @@ diff -r -c --exclude=*.info* glibc-2.2.4/nss/nsswitch.c glibc-2.2.4-new/nss/nssw
return result;
! *((char *) __mempcpy (new_service->name, name, name_alloc_len-1)) = '\0';
!
/* Set default actions. */
new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE;
diff -r -c --exclude=
*.info* glibc-2.2.4/time/Makefile glibc-2.2.4-new
/time/Makefile
***
glibc-2.2.
4/time/Makefile Fri Aug 10 22:12:07
2001
--- glibc-2.2.
4-new/time/Makefile Tue Apr 16 15:11:09
2002
diff -r -c --exclude=
'*.info*' glibc-2.2.5.org/time/Makefile glibc-2.2.5
/time/Makefile
***
glibc-2.2.
5.org/time/Makefile Fri Aug 10 01:59:41
2001
--- glibc-2.2.
5/time/Makefile Tue May 21 11:01:11
2002
***************
*** 37,44 ****
...
...
@@ -112,9 +113,9 @@ diff -r -c --exclude=*.info* glibc-2.2.4/time/Makefile glibc-2.2.4-new/time/Make
-DTZDEFRULES='"$(posixrules-file)"'
CFLAGS-tzfile.c = $(tz-cflags)
diff -r -c --exclude=
*.info* glibc-2.2.4/timezone/Makefile glibc-2.2.4-new
/timezone/Makefile
***
glibc-2.2.
4/timezone/Makefile Mon Jul 23 20:58:0
5 2001
--- glibc-2.2.
4-new/timezone/Makefile Tue Apr 16 15:11:09
2002
diff -r -c --exclude=
'*.info*' glibc-2.2.5.org/timezone/Makefile glibc-2.2.5
/timezone/Makefile
***
glibc-2.2.
5.org/timezone/Makefile Thu Aug 30 00:45:2
5 2001
--- glibc-2.2.
5/timezone/Makefile Tue May 21 11:01:57
2002
***************
*** 159,166 ****
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment