[525] in Moira Commits
moira commit: 'moira/clients/moira menu.c'
daemon@ATHENA.MIT.EDU (danw@MIT.EDU)
Fri Apr 30 13:45:25 1999
From: <danw@MIT.EDU>
Date: Fri, 30 Apr 1999 17:45:12 GMT
Message-Id: <199904301745.RAA527884@antharia.mit.edu>
To: moira-commits@MIT.EDU
Update of /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/clients/moira
In directory antharia.mit.edu:/afs/athena.mit.edu/astaff/project/moiradev/src/clients/moira
Modified Files:
menu.c
Log Message:
cast result of strlen to (int) so that "COLS - strlen(buf)" will be an
int instead of being "promoted" to an unsigned int, so that "COLS -
strlen(buf) > 0" is actually a meaningful test. Noticed by Irix n32
cc. Fixes a bug which has presumably been in the moira client display
code ever since it was written.
We hates the Kernighan. We hates him forever.