Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153902676
D5629.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
565 B
Referenced Files
None
Subscribers
None
D5629.id.diff
View Options
Index: sys/powerpc/powerpc/exec_machdep.c
===================================================================
--- sys/powerpc/powerpc/exec_machdep.c
+++ sys/powerpc/powerpc/exec_machdep.c
@@ -879,8 +879,14 @@
int code = tf->fixreg[FIRSTARG + 1];
if (p->p_sysent->sv_mask)
code &= p->p_sysent->sv_mask;
- fixup = (code != SYS_freebsd6_lseek && code != SYS_lseek) ?
- 1 : 0;
+ if (code == SYS_lseek)
+ fixup = 0;
+#ifdef COMPAT_FREEBSD6
+ else if (code == SYS_freebsd6_lseek)
+ fixup = 0;
+#endif
+ else
+ fixup = 1;
} else
fixup = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 4:06 PM (11 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32133200
Default Alt Text
D5629.id.diff (565 B)
Attached To
Mode
D5629: fix ppc build without COMPAT_FREEBSD6
Attached
Detach File
Event Timeline
Log In to Comment