Преглед на файлове

(rmt_open__): Remove typo that caused us to omit the first char
of the basename.

Paul Eggert преди 26 години
родител
ревизия
db2d22cd20
променени са 1 файла, в които са добавени 1 реда и са изтрити 5 реда
  1. 1 5
      src/rtapelib.c

+ 1 - 5
src/rtapelib.c

@@ -1,5 +1,5 @@
 /* Functions for communicating with a remote tape drive.
-   Copyright (C) 1988, 1992, 1994, 1996 Free Software Foundation, Inc.
+   Copyright 1988, 1992, 1994, 1996, 1997, 1999 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -414,10 +414,6 @@ rmt_open__ (const char *path, int open_mode, int bias, const char *remote_shell)
 #endif
       }
     remote_shell_basename = base_name (remote_shell);
-    if (remote_shell_basename)
-      remote_shell_basename++;
-    else
-      remote_shell_basename = remote_shell;
 
     /* Set up the pipes for the `rsh' command, and fork.  */