Skip to content

Commit c08bbd4

Browse files
committed
A blank type is allowed for a structure
ARY makes use of this in temp files.
1 parent 587bd76 commit c08bbd4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dau1CheckName.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ void dau1CheckName( const char * name, int isname, char * buf, size_t buflen, in
170170

171171
}
172172

173-
/* Make sure we copied something */
174-
if (oposn == 0) {
173+
/* Make sure we copied something -- although a blank type
174+
is allowed (see ary1_retyp.f) */
175+
if (oposn == 0 && isname) {
175176
*status = errcode;
176177
emsRepf("DAU_CHECK_NAME_3",
177178
"Invalid blank %s string specified "

0 commit comments

Comments
 (0)