integrate(x/(1-x^2),x)?



> Maxima currently says
>
> integrate(x/(1-x^2),x) ->
> -log(1-x^2)/2
>
> integrate(x/(x^2-1),x) ->
> log(x^2-1)/2

I must be missing something obvious here.  These both seem like correct answers.

Are you expecting them to both be giving results real for abs(x)<1 or
for abs(x)>1?