source:
clfs-embedded/patches/uClibc-0.9.30-rc3-flock_fixes-1.patch@
88b7bb1
Last change on this file since 88b7bb1 was 2567553, checked in by , 16 years ago | |
---|---|
|
|
File size: 22.3 KB |
-
libc/sysdeps/linux/alpha/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/alpha/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/alpha/bits/fcntl.h
old new 138 138 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 139 139 #endif 140 140 141 #ifndef HAVE_ARCH_STRUCT_FLOCK 141 142 /* We don't need to support __USE_FILE_OFFSET64. */ 142 143 struct flock 143 144 { … … 147 148 __off_t l_len; /* Size of the locked area; zero means until EOF. */ 148 149 __pid_t l_pid; /* Process holding the lock. */ 149 150 }; 151 #endif 150 152 153 #ifndef HAVE_ARCH_STRUCT_FLOCK64 151 154 #ifdef __USE_LARGEFILE64 152 155 struct flock64 153 156 { … … 158 161 __pid_t l_pid; /* Process holding the lock. */ 159 162 }; 160 163 #endif 164 #endif 161 165 162 166 163 167 /* Define some more compatibility macros to be backward compatible with -
libc/sysdeps/linux/arm/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/arm/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/arm/bits/fcntl.h
old new 143 143 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 144 144 #endif 145 145 146 #ifndef HAVE_ARCH_STRUCT_FLOCK 146 147 struct flock 147 148 { 148 149 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 156 157 #endif 157 158 __pid_t l_pid; /* Process holding the lock. */ 158 159 }; 160 #endif 159 161 162 #ifndef HAVE_ARCH_STRUCT_FLOCK64 160 163 #ifdef __USE_LARGEFILE64 161 164 struct flock64 162 165 { … … 167 170 __pid_t l_pid; /* Process holding the lock. */ 168 171 }; 169 172 #endif 173 #endif 170 174 171 175 /* Define some more compatibility macros to be backward compatible with 172 176 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/avr32/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/avr32/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/avr32/bits/fcntl.h
old new 124 124 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 125 125 #endif 126 126 127 #ifndef HAVE_ARCH_STRUCT_FLOCK 127 128 struct flock { 128 129 short l_type; 129 130 short l_whence; … … 136 137 #endif 137 138 __pid_t l_pid; 138 139 }; 140 #endif 139 141 142 #ifndef HAVE_ARCH_STRUCT_FLOCK64 140 143 #ifdef __USE_LARGEFILE64 141 144 struct flock64 { 142 145 short l_type; … … 146 149 __pid_t l_pid; 147 150 }; 148 151 #endif 152 #endif 149 153 150 154 /* Define some more compatibility macros to be backward compatible with 151 155 * BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/bfin/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/bfin/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/bfin/bits/fcntl.h
old new 139 139 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 140 140 #endif 141 141 142 #ifndef HAVE_ARCH_STRUCT_FLOCK 142 143 struct flock 143 144 { 144 145 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 152 153 #endif 153 154 __pid_t l_pid; /* Process holding the lock. */ 154 155 }; 156 #endif 155 157 158 #ifndef HAVE_ARCH_STRUCT_FLOCK64 156 159 #ifdef __USE_LARGEFILE64 157 160 struct flock64 158 161 { … … 163 166 __pid_t l_pid; /* Process holding the lock. */ 164 167 }; 165 168 #endif 169 #endif 166 170 167 171 /* Define some more compatibility macros to be backward compatible with 168 172 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/cris/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/cris/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/cris/bits/fcntl.h
old new 140 140 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 141 141 #endif 142 142 143 #ifndef HAVE_ARCH_STRUCT_FLOCK 143 144 struct flock 144 145 { 145 146 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 153 154 #endif 154 155 __pid_t l_pid; /* Process holding the lock. */ 155 156 }; 157 #endif 156 158 159 #ifndef HAVE_ARCH_STRUCT_FLOCK64 157 160 #ifdef __USE_LARGEFILE64 158 161 struct flock64 159 162 { … … 164 167 __pid_t l_pid; /* Process holding the lock. */ 165 168 }; 166 169 #endif 170 #endif 167 171 168 172 /* Define some more compatibility macros to be backward compatible with 169 173 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/e1/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/e1/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/e1/bits/fcntl.h
old new 136 136 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 137 137 #endif 138 138 139 #ifndef HAVE_ARCH_STRUCT_FLOCK 139 140 struct flock 140 141 { 141 142 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 149 150 #endif 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 /* Define some more compatibility macros to be backward compatible with 165 169 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/frv/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/frv/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/frv/bits/fcntl.h
old new 118 118 # define LOCK_UN 8 /* remove lock */ 119 119 #endif 120 120 121 #ifndef HAVE_ARCH_STRUCT_FLOCK 121 122 struct flock 122 123 { 123 124 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 131 132 #endif 132 133 __pid_t l_pid; /* Process holding the lock. */ 133 134 }; 135 #endif 134 136 137 #ifndef HAVE_ARCH_STRUCT_FLOCK64 135 138 #ifdef __USE_LARGEFILE64 136 139 struct flock64 137 140 { … … 142 145 __pid_t l_pid; /* Process holding the lock. */ 143 146 }; 144 147 #endif 148 #endif 145 149 146 150 /* Define some more compatibility macros to be backward compatible with 147 151 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/h8300/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/h8300/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/h8300/bits/fcntl.h
old new 136 136 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 137 137 #endif 138 138 139 #ifndef HAVE_ARCH_STRUCT_FLOCK 139 140 struct flock 140 141 { 141 142 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 149 150 #endif 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 /* Define some more compatibility macros to be backward compatible with 165 169 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/hppa/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/hppa/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/hppa/bits/fcntl.h
old new 130 130 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 131 131 #endif 132 132 133 #ifndef HAVE_ARCH_STRUCT_FLOCK 133 134 struct flock 134 135 { 135 136 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 143 144 #endif 144 145 __pid_t l_pid; /* Process holding the lock. */ 145 146 }; 147 #endif 146 148 149 #ifndef HAVE_ARCH_STRUCT_FLOCK64 147 150 #ifdef __USE_LARGEFILE64 148 151 struct flock64 149 152 { … … 154 157 __pid_t l_pid; /* Process holding the lock. */ 155 158 }; 156 159 #endif 160 #endif 157 161 158 162 /* Define some more compatibility macros to be backward compatible with 159 163 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/i386/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/i386/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/i386/bits/fcntl.h
old new 143 143 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 144 144 #endif 145 145 146 #ifndef HAVE_ARCH_STRUCT_FLOCK 146 147 struct flock 147 148 { 148 149 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 156 157 #endif 157 158 __pid_t l_pid; /* Process holding the lock. */ 158 159 }; 160 #endif 159 161 162 #ifndef HAVE_ARCH_STRUCT_FLOCK64 160 163 #ifdef __USE_LARGEFILE64 161 164 struct flock64 162 165 { … … 167 170 __pid_t l_pid; /* Process holding the lock. */ 168 171 }; 169 172 #endif 173 #endif 170 174 171 175 /* Define some more compatibility macros to be backward compatible with 172 176 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/i960/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/i960/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/i960/bits/fcntl.h
old new 136 136 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 137 137 #endif 138 138 139 #ifndef HAVE_ARCH_STRUCT_FLOCK 139 140 struct flock 140 141 { 141 142 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 149 150 #endif 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 /* Define some more compatibility macros to be backward compatible with 165 169 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/ia64/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/ia64/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/ia64/bits/fcntl.h
old new 140 140 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 141 141 #endif 142 142 143 #ifndef HAVE_ARCH_STRUCT_FLOCK 143 144 /* We don't need to support __USE_FILE_OFFSET64. */ 144 145 struct flock 145 146 { … … 149 150 __off_t l_len; /* Size of the locked area; zero means until EOF. */ 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 165 169 /* Define some more compatibility macros to be backward compatible with -
libc/sysdeps/linux/m68k/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/m68k/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/m68k/bits/fcntl.h
old new 139 139 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 140 140 #endif 141 141 142 #ifndef HAVE_ARCH_STRUCT_FLOCK 142 143 struct flock 143 144 { 144 145 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 152 153 #endif 153 154 __pid_t l_pid; /* Process holding the lock. */ 154 155 }; 156 #endif 155 157 158 #ifndef HAVE_ARCH_STRUCT_FLOCK64 156 159 #ifdef __USE_LARGEFILE64 157 160 struct flock64 158 161 { … … 163 166 __pid_t l_pid; /* Process holding the lock. */ 164 167 }; 165 168 #endif 169 #endif 166 170 167 171 /* Define some more compatibility macros to be backward compatible with 168 172 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/microblaze/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/microblaze/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/microblaze/bits/fcntl.h
old new 136 136 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 137 137 #endif 138 138 139 #ifndef HAVE_ARCH_STRUCT_FLOCK 139 140 struct flock 140 141 { 141 142 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 149 150 #endif 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 /* Define some more compatibility macros to be backward compatible with 165 169 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/mips/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/mips/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/mips/bits/fcntl.h
old new 152 152 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 153 153 #endif 154 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK 155 156 struct flock 156 157 { 157 158 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 176 177 #endif 177 178 }; 178 179 typedef struct flock flock_t; 180 #endif 179 181 182 #ifndef HAVE_ARCH_STRUCT_FLOCK64 180 183 #ifdef __USE_LARGEFILE64 181 184 struct flock64 182 185 { … … 187 190 __pid_t l_pid; /* Process holding the lock. */ 188 191 }; 189 192 #endif 193 #endif 190 194 191 195 /* Define some more compatibility macros to be backward compatible with 192 196 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/nios/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/nios/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/nios/bits/fcntl.h
old new 139 139 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 140 140 #endif 141 141 142 #ifndef HAVE_ARCH_STRUCT_FLOCK 142 143 struct flock 143 144 { 144 145 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 152 153 #endif 153 154 __pid_t l_pid; /* Process holding the lock. */ 154 155 }; 156 #endif 155 157 158 #ifndef HAVE_ARCH_STRUCT_FLOCK64 156 159 #ifdef __USE_LARGEFILE64 157 160 struct flock64 158 161 { … … 163 166 __pid_t l_pid; /* Process holding the lock. */ 164 167 }; 165 168 #endif 169 #endif 166 170 167 171 /* Define some more compatibility macros to be backward compatible with 168 172 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/nios2/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/nios2/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/nios2/bits/fcntl.h
old new 139 139 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 140 140 #endif 141 141 142 #ifndef HAVE_ARCH_STRUCT_FLOCK 142 143 struct flock 143 144 { 144 145 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 152 153 #endif 153 154 __pid_t l_pid; /* Process holding the lock. */ 154 155 }; 156 #endif 155 157 158 #ifndef HAVE_ARCH_STRUCT_FLOCK64 156 159 #ifdef __USE_LARGEFILE64 157 160 struct flock64 158 161 { … … 163 166 __pid_t l_pid; /* Process holding the lock. */ 164 167 }; 165 168 #endif 169 #endif 166 170 167 171 /* Define some more compatibility macros to be backward compatible with 168 172 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/sh/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/sh/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/sh/bits/fcntl.h
old new 143 143 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 144 144 #endif 145 145 146 #ifndef HAVE_ARCH_STRUCT_FLOCK 146 147 struct flock 147 148 { 148 149 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 156 157 #endif 157 158 __pid_t l_pid; /* Process holding the lock. */ 158 159 }; 160 #endif 159 161 162 #ifndef HAVE_ARCH_STRUCT_FLOCK64 160 163 #ifdef __USE_LARGEFILE64 161 164 struct flock64 162 165 { … … 167 170 __pid_t l_pid; /* Process holding the lock. */ 168 171 }; 169 172 #endif 173 #endif 170 174 171 175 /* Define some more compatibility macros to be backward compatible with 172 176 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/sh64/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/sh64/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/sh64/bits/fcntl.h
old new 118 118 # define LOCK_UN 8 /* remove lock */ 119 119 #endif 120 120 121 #ifndef HAVE_ARCH_STRUCT_FLOCK 121 122 struct flock 122 123 { 123 124 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 131 132 #endif 132 133 __pid_t l_pid; /* Process holding the lock. */ 133 134 }; 135 #endif 134 136 137 #ifndef HAVE_ARCH_STRUCT_FLOCK64 135 138 #ifdef __USE_LARGEFILE64 136 139 struct flock64 137 140 { … … 142 145 __pid_t l_pid; /* Process holding the lock. */ 143 146 }; 144 147 #endif 148 #endif 145 149 146 150 /* Define some more compatibility macros to be backward compatible with 147 151 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/sparc/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/sparc/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/sparc/bits/fcntl.h
old new 160 160 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 161 161 #endif 162 162 163 #ifndef HAVE_ARCH_STRUCT_FLOCK 163 164 struct flock 164 165 { 165 166 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 174 175 __pid_t l_pid; /* Process holding the lock. */ 175 176 short int __unused; 176 177 }; 178 #endif 177 179 180 #ifndef HAVE_ARCH_STRUCT_FLOCK64 178 181 #ifdef __USE_LARGEFILE64 179 182 struct flock64 180 183 { … … 186 189 short int __unused; 187 190 }; 188 191 #endif 192 #endif 189 193 190 194 /* Define some more compatibility macros to be backward compatible with 191 195 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/v850/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/v850/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/v850/bits/fcntl.h
old new 136 136 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 137 137 #endif 138 138 139 #ifndef HAVE_ARCH_STRUCT_FLOCK 139 140 struct flock 140 141 { 141 142 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 149 150 #endif 150 151 __pid_t l_pid; /* Process holding the lock. */ 151 152 }; 153 #endif 152 154 155 #ifndef HAVE_ARCH_STRUCT_FLOCK64 153 156 #ifdef __USE_LARGEFILE64 154 157 struct flock64 155 158 { … … 160 163 __pid_t l_pid; /* Process holding the lock. */ 161 164 }; 162 165 #endif 166 #endif 163 167 164 168 /* Define some more compatibility macros to be backward compatible with 165 169 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/vax/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/vax/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/vax/bits/fcntl.h
old new 116 116 # define LOCK_UN 8 /* remove lock */ 117 117 #endif 118 118 119 #ifndef HAVE_ARCH_STRUCT_FLOCK 119 120 struct flock 120 121 { 121 122 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 129 130 #endif 130 131 __pid_t l_pid; /* Process holding the lock. */ 131 132 }; 133 #endif 132 134 135 #ifndef HAVE_ARCH_STRUCT_FLOCK64 133 136 #ifdef __USE_LARGEFILE64 134 137 struct flock64 135 138 { … … 140 143 __pid_t l_pid; /* Process holding the lock. */ 141 144 }; 142 145 #endif 146 #endif 143 147 144 148 /* Define some more compatibility macros to be backward compatible with 145 149 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/x86_64/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/x86_64/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/x86_64/bits/fcntl.h
old new 157 157 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 158 158 #endif 159 159 160 #ifndef HAVE_ARCH_STRUCT_FLOCK 160 161 struct flock 161 162 { 162 163 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 170 171 #endif 171 172 __pid_t l_pid; /* Process holding the lock. */ 172 173 }; 174 #endif 173 175 176 #ifndef HAVE_ARCH_STRUCT_FLOCK64 174 177 #ifdef __USE_LARGEFILE64 175 178 struct flock64 176 179 { … … 181 184 __pid_t l_pid; /* Process holding the lock. */ 182 185 }; 183 186 #endif 187 #endif 184 188 185 189 /* Define some more compatibility macros to be backward compatible with 186 190 BSD systems which did not managed to hide these kernel macros. */ -
libc/sysdeps/linux/xtensa/bits/fcntl.h
diff -Naur uClibc-0.9.30-rc3.orig/libc/sysdeps/linux/xtensa/bits/fcntl.h uClibc-0.9.30-rc3/libc/sysdeps/linux/xtensa/bits/fcntl.h
old new 140 140 # define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ 141 141 #endif 142 142 143 #ifndef HAVE_ARCH_STRUCT_FLOCK 143 144 struct flock 144 145 { 145 146 short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ … … 153 154 #endif 154 155 __pid_t l_pid; /* Process holding the lock. */ 155 156 }; 157 #endif 156 158 159 #ifndef HAVE_ARCH_STRUCT_FLOCK64 157 160 #ifdef __USE_LARGEFILE64 158 161 struct flock64 159 162 { … … 164 167 __pid_t l_pid; /* Process holding the lock. */ 165 168 }; 166 169 #endif 170 #endif 167 171 168 172 /* Define some more compatibility macros to be backward compatible with 169 173 BSD systems which did not managed to hide these kernel macros. */
Note:
See TracBrowser
for help on using the repository browser.