remove OSF1 support
[oweals/cde.git] / cde / programs / dticon / fileIODialog.c
index 0e31126ea266923cb97cb0901ecbc6a320602e3f..8e51ea38aae3f3363f04876da37aa66a18470169 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -177,7 +177,7 @@ create_fileIODialog( void )
        char    *home;
 
        home = getenv("HOME");
-       sprintf(buf, "%s/%s/icons", home, DtPERSONAL_CONFIG_DIRECTORY);
+       snprintf(buf, sizeof(buf), "%s/%s/icons", home, DtPERSONAL_CONFIG_DIRECTORY);
 
         if (0 == stat(buf, &sbuf) &&
            S_IFDIR & sbuf.st_mode &&