[Python-checkins] python/dist/src/Modules cryptmodule.c,2.11,2.12
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Mon, 10 Jun 2002 23:22:33 -0700
- Previous message: [Python-checkins] python/dist/src/Misc AtheOS-NOTES,NONE,1.1 ACKS,1.180,1.181 NEWS,1.421,1.422
- Next message: [Python-checkins] python/dist/src/Python dynload_atheos.c,NONE,2.1 thread_atheos.h,NONE,2.1 thread.c,2.42,2.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv15074/Modules
Modified Files:
cryptmodule.c
Log Message:
Patch #488073: AtheOS port.
Index: cryptmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cryptmodule.c,v
retrieving revision 2.11
retrieving revision 2.12
diff -C2 -d -r2.11 -r2.12
*** cryptmodule.c 31 Mar 2002 15:27:00 -0000 2.11
--- cryptmodule.c 11 Jun 2002 06:22:31 -0000 2.12
***************
*** 18,22 ****
return NULL;
}
! return PyString_FromString( crypt( word, salt ) );
}
--- 18,24 ----
return NULL;
}
! /* On some platforms (AtheOS) crypt returns NULL for an invalid
! salt. Return None in that case. XXX Maybe raise an exception? */
! return Py_BuildValue("s", crypt(word, salt));
}
- Previous message: [Python-checkins] python/dist/src/Misc AtheOS-NOTES,NONE,1.1 ACKS,1.180,1.181 NEWS,1.421,1.422
- Next message: [Python-checkins] python/dist/src/Python dynload_atheos.c,NONE,2.1 thread_atheos.h,NONE,2.1 thread.c,2.42,2.43
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]