=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-load-buffer.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/tmux/cmd-load-buffer.c 2009/07/26 12:58:44 1.4 --- src/usr.bin/tmux/cmd-load-buffer.c 2009/07/30 17:46:12 1.5 *************** *** 1,4 **** ! /* $OpenBSD: cmd-load-buffer.c,v 1.4 2009/07/26 12:58:44 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-load-buffer.c,v 1.5 2009/07/30 17:46:12 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha *************** *** 58,67 **** if (stat(data->arg, &statbuf) < 0) { ctx->error(ctx, "%s: %s", data->arg, strerror(errno)); - return (-1); - } - if (!S_ISREG(statbuf.st_mode)) { - ctx->error(ctx, "%s: not a regular file", data->arg); return (-1); } --- 58,63 ----