* lib/getulong.c: Added splint annotations.
This commit is contained in:
parent
4e75bb57bb
commit
4da0573bf7
@ -1,3 +1,7 @@
|
||||
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* lib/getulong.c: Added splint annotations.
|
||||
|
||||
2009-04-30 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
|
||||
|
@ -52,7 +52,10 @@ int getulong (const char *numstr, /*@out@*/unsigned long int *result)
|
||||
if ( ('\0' == *numstr)
|
||||
|| ('\0' != *endptr)
|
||||
|| (ERANGE == errno)
|
||||
|| (val != (unsigned long int)val)) {
|
||||
/*@+ignoresigns@*/
|
||||
|| (val != (unsigned long int)val)
|
||||
/*@=ignoresigns@*/
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "prototypes.h"
|
||||
#include "pwio.h"
|
||||
#include "shadowio.h"
|
||||
|
||||
/*
|
||||
* Global variables
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user