@@ -218,7 +218,7 @@ sge_read_configuration(const lListElem *aSpoolContext, lList **config_list, lLis
218218int
219219sge_del_configuration (sge_gdi_packet_class_t *packet, sge_gdi_task_class_t *task, lListElem *aConf, lList **anAnswer, char *aUser, char *aHost) {
220220 const char *tmp_name = nullptr ;
221- char unique_name[CL_MAXHOSTLEN ];
221+ char unique_name[CL_MAXHOSTNAMELEN ];
222222 int ret = -1 ;
223223
224224 DENTER (TOP_LAYER);
@@ -238,7 +238,7 @@ sge_del_configuration(sge_gdi_packet_class_t *packet, sge_gdi_task_class_t *task
238238 /*
239239 * Due to CR 6319231 IZ 1760:
240240 * try to resolve the hostname
241- * if it is not resolveable then
241+ * if it is not resolvable then
242242 * ignore this and use the hostname stored in the configuration obj
243243 * or use the given name if no object can be found
244244 */
315315sge_mod_configuration (lListElem *aConf, lList **anAnswer, const char *aUser, const char *aHost, u_long64 gdi_session) {
316316 lListElem *old_conf;
317317 const char *tmp_name = nullptr ;
318- char unique_name[CL_MAXHOSTLEN ];
318+ char unique_name[CL_MAXHOSTNAMELEN ];
319319 int ret = -1 ;
320320 const char *cell_root = bootstrap_get_cell_root ();
321321 const char *qualified_hostname = component_get_qualified_hostname ();
@@ -730,7 +730,7 @@ static u_long32
730730sge_get_config_version_for_host (const char *aName) {
731731 const lListElem *conf = nullptr ;
732732 u_long32 version = 0 ;
733- char unique_name[CL_MAXHOSTLEN ];
733+ char unique_name[CL_MAXHOSTNAMELEN ];
734734 int ret = -1 ;
735735 const lList *config_list = *ocs::DataStore::get_master_list (SGE_TYPE_CONFIG);
736736
@@ -743,7 +743,7 @@ sge_get_config_version_for_host(const char *aName) {
743743 /*
744744 * Due to CR 6319231 IZ 1760:
745745 * Try to resolve the hostname
746- * if it is not resolveable then
746+ * if it is not resolvable then
747747 * ignore this and use the given hostname
748748 */
749749 ret = sge_resolve_hostname (aName, unique_name, EH_name);
@@ -772,7 +772,7 @@ sge_get_config_version_for_host(const char *aName) {
772772lListElem *
773773sge_get_configuration_for_host (const char *aName) {
774774 lListElem *conf = nullptr ;
775- char unique_name[CL_MAXHOSTLEN ];
775+ char unique_name[CL_MAXHOSTNAMELEN ];
776776 int ret = -1 ;
777777 const lList *config_list = *ocs::DataStore::get_master_list (SGE_TYPE_CONFIG);
778778
@@ -783,7 +783,7 @@ sge_get_configuration_for_host(const char *aName) {
783783 /*
784784 * Due to CR 6319231 IZ 1760:
785785 * Try to resolve the hostname
786- * if it is not resolveable then
786+ * if it is not resolvable then
787787 * ignore this and use the given hostname
788788 */
789789 ret = sge_resolve_hostname (aName, unique_name, EH_name);
0 commit comments