Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157415962
D56911.id177512.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
313 B
Referenced Files
None
Subscribers
None
D56911.id177512.diff
View Options
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -424,7 +424,7 @@
fa = malloc(sizeof(struct __posix_spawn_file_actions));
if (fa == NULL)
- return (-1);
+ return (errno);
STAILQ_INIT(&fa->fa_list);
*ret = fa;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 22, 4:32 AM (14 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32883524
Default Alt Text
D56911.id177512.diff (313 B)
Attached To
Mode
D56911: libc: correct posix_spawn_file_actions_init ENOMEM error
Attached
Detach File
Event Timeline
Log In to Comment