The M39 will take the earlier bayonets. The M39 was only for the Civil Guard and their rifles and wasn't developed until 1942. The Army was going to use the M39 bayonet but the company making them could not produce them fast enough so they cancelled the order and used the earlier bayonets.
Nice site, thanks.