Enlightenment CVS committal Author : lok Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm.c Log Message: BSD compatibility. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v retrieving revision 1.197 retrieving revision 1.198 diff -u -3 -r1.197 -r1.198 --- e_fm.c 18 Aug 2007 11:50:08 -0000 1.197 +++ e_fm.c 18 Aug 2007 12:15:31 -0000 1.198 @@ -3494,7 +3494,7 @@ { E_Fm2_Uri *uri; const char *p; - char hostname[HOST_NAME_MAX], path[PATH_MAX]; + char hostname[_POSIX_HOST_NAME_MAX], path[PATH_MAX]; int i = 0; /* The shortest possible path is file:/// @@ -3507,7 +3507,7 @@ p = val + 7; if (*p != '/') { - for (i = 0; *p != '/' && *p != '\0' && i < HOST_NAME_MAX; p++, i++) + for (i = 0; *p != '/' && *p != '\0' && i < _POSIX_HOST_NAME_MAX; p++, i++) hostname[i] = *p; } hostname[i] = '\0'; @@ -3540,9 +3540,9 @@ { E_Fm2_Uri *uri; Evas_List *l, *path_list = NULL; - char current_hostname[HOST_NAME_MAX]; + char current_hostname[_POSIX_HOST_NAME_MAX]; - if (gethostname(current_hostname, HOST_NAME_MAX) == -1) + if (gethostname(current_hostname, _POSIX_HOST_NAME_MAX) == -1) current_hostname[0] = '\0'; for (l = uri_list; l; l = l->next) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs