Skip to contentSkip to conversation

doubts on file_pos_write()

DISCUSSION Oliver Neukum 1 participant 1 message Jan 2, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

as loff_t is a 64 bit value, it seems to me to a simple assignment in file_pos_write() means that the offset can be turned into garbage doing concurrent reads with shared fds around the 4GB limit on 32 bit architectures.
Comments?

Regards
Oliver