Earlier quoted context omitted.
This French law existed before. The EU directive probably comes from the preexisting French law.
As far as I can tell the "French law" would be Article L122-6-1 of Code de la propriété intellectuelle which is dated 10 May 1994. The Eu Software Directive was first enacted in 1991. The text of the French law is almost verbatim the text of the directive.
edit: link http://www.legifrance.gouv.fr/affichTexteArticle.do;jsession...