On Thu, Apr 11, 2013 at 08:35:20PM -0600, Matt Gushee wrote:
> Hello, Chickeneers--
Hello Matt,
> I am attempting to install the crypt egg on 32-bit Linux (up-to-date
> Arch Linux w/ glibc-2.17), but I am getting the following error:
[...]
> Anyone know what is going on here?
Thanks for the bugreport.
The reason it's erroring out is probably because your libc's crypt()
returns NULL for unsupported setting strings, whereas some other crypt()
implementations return bogus strings.
Could you please try the attached patch and let me know if this fixes
it for you, so I can make a new release?
Cheers,
Peter
--
http://www.more-magic.net
Index: detect-native-crypt-features.scm
===================================================================
--- detect-native-crypt-features.scm (revision 28668)
+++ detect-native-crypt-features.scm (working copy)
@@ -26,7 +26,7 @@
(conc "crypt-native-" (symbol->string name))))
(salt (cadr type))
(hash (caddr type)))
- (if (string=? hash (crypt-native "password" salt))
+ (if (equal? hash (crypt-native "password" salt))
(cons (cons name feature-name) supported-types)
supported-types)))
'()
@@ -34,4 +34,4 @@
;; For the setup script
(with-output-to-file "crypt-features"
- (lambda () (write (map cdr native-crypt-supported-types))))
\ No newline at end of file
+ (lambda () (write (map cdr native-crypt-supported-types))))
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users