Changeset 24db42 in git
- Timestamp:
- Nov 2, 2012, 7:18:58 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 49fbc3fb1663015218abc676ea94783e17d0e9f1
- Parents:
- 7fe9f8b1db2e4a62e37fab7daf03d3c2a744074a
- Location:
- findexec
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
findexec/configure.ac
r7fe9f8b r24db42 41 41 AC_HEADER_STDC 42 42 AC_CHECK_HEADERS([stdlib.h string.h unistd.h pwd.h sys/param.h sys/stat.h sys/types.h]) 43 AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv)43 AC_CHECK_FUNCS(readlink getcwd getwd getpwnam setenv putenv) 44 44 45 45 # Checks for typedefs, structures, and compiler characteristics. -
findexec/feFopen.cc
r7fe9f8b r24db42 8 8 #include "config.h" 9 9 10 #if defined(HAVE_PWD_H) && defined(HAVE_GETPWNAM) 11 #include <pwd.h> 12 #endif 13 10 14 //#include <reporter/reporter.h> 11 15 … … 70 74 if (dir_sep==NULL) 71 75 { 72 Werror(" illegal ~ in filename >>%s<<",longpath); 76 char buf[256]; 77 strcpy(buf,"illegal ~ in filename >>"); 78 strncat(buf,longpath,235); 79 strcat(buf,"<<"); 80 WerrorS(buf); 73 81 return NULL; 74 82 }
Note: See TracChangeset
for help on using the changeset viewer.