FreeBSD Bugzilla – Attachment 24756 Details for
Bug 42272
[PATCH] Fix unresolved _thread_fd_getflags symbol in -stable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 912 bytes, created by
Joe Marcus Clarke
on 2002-09-01 02:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Joe Marcus Clarke
Created:
2002-09-01 02:10:01 UTC
Size:
912 bytes
patch
obsolete
>--- src/lib/libc_r/uthread/uthread_fd.c.orig Sat Aug 31 20:51:21 2002 >+++ src/lib/libc_r/uthread/uthread_fd.c Sat Aug 31 20:52:51 2002 >@@ -180,6 +180,22 @@ > return (ret); > } > >+int >+_thread_fd_getflags(int fd) >+{ >+ if (_thread_fd_table[fd] != NULL) >+ return (_thread_fd_table[fd]->flags); >+ else >+ return (0); >+} >+ >+void >+_thread_fd_setflags(int fd, int flags) >+{ >+ if (_thread_fd_table[fd] != NULL) >+ _thread_fd_table[fd]->flags = flags; >+} >+ > #ifdef _FDLOCKS_ENABLED > void > _thread_fd_unlock(int fd, int lock_type) >@@ -493,21 +509,6 @@ > return (ret); > } > >-int >-_thread_fd_getflags(int fd) >-{ >- if (_thread_fd_table[fd] != NULL) >- return (_thread_fd_table[fd]->flags); >- else >- return (0); >-} >- >-void >-_thread_fd_setflags(int fd, int flags) >-{ >- if (_thread_fd_table[fd] != NULL) >- _thread_fd_table[fd]->flags = flags; >-} > > void > _thread_fd_unlock_debug(int fd, int lock_type, char *fname, int lineno)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42272
: 24756