#497 save_passwd.cgi, syntax error

0.970
closed
5
2002-05-31
2002-05-31
Anonymous
No

I'm using Webmin V0.970 in a Solaris 7/SPARC
environment, with Perl "This is perl, version 5.005_02
built for sun4-solaris" and Apache V.1.3.12.

I cannot use the module "Change passwords" because of
the following errors:

Not enough arguments for syswrite at
/opt/webmin-0.970/passwd/save_passwd.cgi line 30, near
""\n")"
Not enough arguments for syswrite at
/opt/webmin-0.970/passwd/save_passwd.cgi line 33, near
""\n")"

The source lines involved are:

syswrite($fh, $in{'new'}."\n");
and
syswrite($fh, $in{'old'}."\n");

What can I do to overcome these errors?
Thank you.

Regards,
Paolo Vicario

Discussion

  • Jamie Cameron

    Jamie Cameron - 2002-05-31

    Logged In: YES
    user_id=129364

    It seems that your version of perl expects 3 a length
    parameter to the syswrite function, while later versions
    can do without it. If you install the updated module
    attached to this bug report, it will fix the problem.

     
  • Jamie Cameron

    Jamie Cameron - 2002-05-31

    Change Passwords module

     
    Attachments
  • Jamie Cameron

    Jamie Cameron - 2002-05-31
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks