Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108317957
D34011.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
308 B
Referenced Files
None
Subscribers
None
D34011.diff
View Options
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -587,6 +587,8 @@
return retval;
}
} else {
+ if (njobs == 0)
+ return 0;
for (jp = jobtab ; jp < jobtab + njobs; jp++)
if (jp->used && jp->state == JOBDONE) {
if (! iflag || ! jp->changed)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 7:57 PM (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16100767
Default Alt Text
D34011.diff (308 B)
Attached To
Mode
D34011: sh: Don't add something to a null pointer
Attached
Detach File
Event Timeline
Log In to Comment