Yep, it's on a 5V rail so I was 90% confident it's a cap, but even that it makes little sense.It's on the output of a LS04 on a totally logic circuit. I guess they wanted to slow down the edge.
It looks like that sort of bodgery. I'd bet there's a nasty asynch race condition somewhere upstream of it. Typical 'design' process is late one Friday evening, with the deadline vanishing in the rear-view mirror:
Tech: "Eureka! It actually works now if I probe it here with a x1 scope probe!"
Engineer: "Oh S--t!, we've got a glitch. Its probably a race condition, but I'll need a couple of days to track it down and fix it. May need a board re-spin."
Boss: "Hell NO! The customer is already screaming, so its got to be done tonight. Redesign denied."
Engineer: Try bodging in a 39pF cap. If it fixes it, we'll go up an order of magnitude so it *STAYS* fixed."