]> pd.if.org Git - pdclib.old/blobdiff - functions/_PDCLIB/filemode.c
PDCLIB-6: Inside _PDCLIB_print, remove intformat and completely rewrite int2base...
[pdclib.old] / functions / _PDCLIB / filemode.c
index ded5408542576274ad43a910a1e3b9d2776b4e6b..454810626d74a616dc47a75380487a2976560033 100644 (file)
@@ -15,6 +15,8 @@
 */
 unsigned int _PDCLIB_filemode( char const * const mode )
 {
+    if(!mode) return 0;
+
     unsigned rc = 0;
     switch ( mode[0] )
     {