The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 checkpassword broken in BSD 4.0 ??
Author: cforger 
Date:   08-06-00 15:10

Has anyone else tried using checkpassword under FreeBSD 4.0 ? I'm finding it to be broken on my system.

I tried it out under 3.4, and it compiles fine, no warnings. I run a test, and it correctly matches passwords.

When I compile under 4.0, I find I get warnings (typecast errors).

checkpassword.c: In function `main':
checkpassword.c:74: warning: return type of `main' is not `int'

a few of these pop up.

Both 3.4 and 4.0 use Checkpassword 0.81

I'm going to dig through the source and fix the typecast errors shortly. I assume the problems arrise from 4.0 having a different version of compiler (3.4 has gcc 2.7, 4.0 has 2.95.1).

Anyway, I'm hoping someone has fixed this before... anyone?


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 checkpassword broken in BSD 4.0 ??   new
cforger 08-06-00 15:10 
 RE: checkpassword broken in BSD 4.0 ??   new
Dan Langille 08-06-00 23:08 
 RE: checkpassword broken in BSD 4.0 ??   new
cforger 09-06-00 15:05 
 RE: checkpassword broken in BSD 4.0 ??   new
Dan Langille 09-06-00 21:52 
 Problem Solved   new
cforger 12-06-00 14:46 
 RE: Problem Solved   new
Christopher Forgeron 19-06-00 15:22 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org