diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2002-08-20 14:49:46 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2002-08-20 14:49:46 +0000 |
commit | 0188064a79a2d069058e54cfaa1692fb689a2f8c (patch) | |
tree | 4ba4c4fde139d472cc05a82904816df063e807e4 /sal/osl/unx/system.c | |
parent | 914b40872781e32405ff65028b0034230d0c83dd (diff) |
#101685#,#i6886# posixify asctime_r()
Diffstat (limited to 'sal/osl/unx/system.c')
-rw-r--r-- | sal/osl/unx/system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c index b6eec4d32e61..138e814d5b88 100644 --- a/sal/osl/unx/system.c +++ b/sal/osl/unx/system.c @@ -2,9 +2,9 @@ * * $RCSfile: system.c,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2002-08-20 15:39:28 $ + * last change: $Author: hr $ $Date: 2002-08-20 15:49:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -487,7 +487,7 @@ char *asctime_r( const struct tm *tm, char *buffer ) if ( asctimeBuffer ) strcpy( buffer, asctimeBuffer ); else - *buffer = '\0'; + buffer = NULL; pthread_mutex_unlock(&getrtl_mutex); return( buffer ); |