Changeset b52ef5a in mainline
- Timestamp:
- 2011-07-01T21:48:16Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b4c64a
- Parents:
- 517cedc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/string.c
r517cedc0 rb52ef5a 38 38 #include "string.h" 39 39 40 #include <assert.h> 41 #include <str_error.h> 42 #include <stdlib.h> 43 #include <errno.h> 40 #include "libc/assert.h" 41 #include "libc/str_error.h" 42 #include "errno.h" 43 #include "limits.h" 44 #include "stdlib.h" 44 45 45 46 /** … … 225 226 char *posix_strdup(const char *s) 226 227 { 227 // FIXME: SIZE_MAX doesn't work 228 return posix_strndup(s, STR_NO_LIMIT); 228 return posix_strndup(s, SIZE_MAX); 229 229 } 230 230
Note:
See TracChangeset
for help on using the changeset viewer.