summaryrefslogtreecommitdiff
path: root/games/lbreakout2/files/patch-src_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/lbreakout2/files/patch-src_config.c')
-rw-r--r--games/lbreakout2/files/patch-src_config.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/games/lbreakout2/files/patch-src_config.c b/games/lbreakout2/files/patch-src_config.c
deleted file mode 100644
index 4073c6426fc3..000000000000
--- a/games/lbreakout2/files/patch-src_config.c
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- src/config.c.orig Tue Mar 2 21:29:55 2004
-+++ src/config.c Tue Mar 2 21:30:24 2004
-@@ -40,7 +40,7 @@
- void config_check_dir()
- {
- char level_dir[512];
-- sprintf( config.dir_name, "%s/%s", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME );
-+ snprintf( config.dir_name, sizeof(config.dir_name), "%s/%s", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME );
- /* test and create .lgames */
- if ( opendir( config.dir_name ) == 0 ) {
- fprintf( stderr, "couldn't find/open config directory '%s'\n", config.dir_name );