IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

Sortie de diff étrange


Sujet :

Linux

  1. #1
    Membre émérite
    Avatar de prgasp77
    Homme Profil pro
    Ingénieur en systèmes embarqués
    Inscrit en
    Juin 2004
    Messages
    1 306
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Ingénieur en systèmes embarqués
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Juin 2004
    Messages : 1 306
    Points : 2 466
    Points
    2 466
    Par défaut Sortie de diff étrange
    Bonjour à tous. J'essaie de créer un patch, mais celui-ci est étrangement gros ... Voici un exemple avec un unique fichier :

    1. colorbox.css.old
      Code css : Sélectionner tout - Visualiser dans une fenêtre à part
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      82
      83
      84
      /*
          ColorBox Core Style:
          The following CSS is consistent between example themes and should not be altered.
      */
      #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
      #cboxOverlay{position:fixed; width:100%; height:100%;}
      #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
      #cboxContent{position:relative;}
      #cboxLoadedContent{overflow:auto;}
      #cboxTitle{margin:0;}
      #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
      #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
      .cboxPhoto{float:left; margin:auto; border:0; display:block;}
      .cboxIframe{width:100%; height:100%; display:block; border:0;}
       
      /* 
          User Style:
          Change the following styles to modify the appearance of ColorBox.  They are
          ordered & tabbed in a way that represents the nesting of the generated HTML.
      */
      #cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
      #colorbox{}
          #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
          #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
          #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
          #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px -29px;}
          #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
          #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
          #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
          #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
          #cboxContent{background:#fff; overflow:hidden;}
              #cboxError{padding:50px; border:1px solid #ccc;}
              #cboxLoadedContent{margin-bottom:28px;}
              #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
              #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
              #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
              #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxPrevious.hover{background-position:-75px -25px;}
              #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxNext.hover{background-position:-50px -25px;}
              #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
              #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
              #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxClose.hover{background-position:-25px -25px;}
       
      /*
        The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill
        when an alpha filter (opacity change) is set on the element or ancestor element.
      */
      .cboxIE #cboxTopLeft,
      .cboxIE #cboxTopCenter,
      .cboxIE #cboxTopRight,
      .cboxIE #cboxBottomLeft,
      .cboxIE #cboxBottomCenter,
      .cboxIE #cboxBottomRight,
      .cboxIE #cboxMiddleLeft,
      .cboxIE #cboxMiddleRight {
          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
      }
       
      /*
        The following provides PNG transparency support for IE6
      */
      .cboxIE6 #cboxTopLeft{background:url(plugins/lightbox/theme/clear/images/borderTopLeft.png);}
      .cboxIE6 #cboxTopCenter{background:url(plugins/lightbox/theme/clear/images/borderTopCenter.png);}
      .cboxIE6 #cboxTopRight{background:url(plugins/lightbox/theme/clear/images/borderTopRight.png);}
      .cboxIE6 #cboxBottomLeft{background:url(plugins/lightbox/theme/clear/images/borderBottomLeft.png);}
      .cboxIE6 #cboxBottomCenter{background:url(plugins/lightbox/theme/clear/images/borderBottomCenter.png);}
      .cboxIE6 #cboxBottomRight{background:url(plugins/lightbox/theme/clear/images/borderBottomRight.png);}
      .cboxIE6 #cboxMiddleLeft{background:url(plugins/lightbox/theme/clear/images/borderMiddleLeft.png);}
      .cboxIE6 #cboxMiddleRight{background:url(plugins/lightbox/theme/clear/images/borderMiddleRight.png);}
       
      .cboxIE6 #cboxTopLeft,
      .cboxIE6 #cboxTopCenter,
      .cboxIE6 #cboxTopRight,
      .cboxIE6 #cboxBottomLeft,
      .cboxIE6 #cboxBottomCenter,
      .cboxIE6 #cboxBottomRight,
      .cboxIE6 #cboxMiddleLeft,
      .cboxIE6 #cboxMiddleRight {
          _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
      }
       
      #cboxTitle a {color:#222; border-bottom: 0 none;}

    2. colorbox.css.new
      Code css : Sélectionner tout - Visualiser dans une fenêtre à part
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      82
      83
      84
      85
      86
      87
      88
      89
      90
      91
      92
      93
      94
      95
      96
      97
      98
      99
      100
      101
      /*
          ColorBox Core Style:
          The following CSS is consistent between example themes and should not be altered.
      */
      #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
      #cboxOverlay{position:fixed; width:100%; height:100%;}
      #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
      #cboxContent{position:relative;}
      #cboxLoadedContent{overflow:auto;}
      #cboxTitle{margin:0;}
      #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
      #cboxPrevious, #cboxNext, #cboxClose, #cboxPermalink, #cboxHd, #cboxInfo, #cboxSlideshow{cursor:pointer;} /* YSC */
      .cboxPhoto{float:left; margin:auto; border:0; display:block;}
      .cboxIframe{width:100%; height:100%; display:block; border:0;}
       
      /* 
          User Style:
          Change the following styles to modify the appearance of ColorBox.  They are
          ordered & tabbed in a way that represents the nesting of the generated HTML.
      */
      #cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
      #colorbox{}
          #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
          #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
          #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
          #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px -29px;}
          #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
          #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
          #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
          #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
          #cboxContent{background:#fff; overflow:hidden;}
              #cboxError{padding:50px; border:1px solid #ccc;}
              #cboxLoadedContent{margin-bottom:28px;}
              #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%;}
              #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
              #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
              #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxPrevious.hover{background-position:-75px -25px;}
              #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxNext.hover{background-position:-50px -25px;}
              #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
              #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
              /* YSC : cboxPermalink & cboxHd & cboxInfo button */
              #cboxPermalink{
                 position:absolute; bottom:0; right:75px; background:url(images/permalink-controls.png) no-repeat 0 0;
                 width:25px; height:25px; text-indent:-9999px;
              }
              #cboxPermalink.hover{background-position:-25px 0px;}
              #cboxHd{
                 position:absolute; bottom:0; right:50px; background:url(images/hd-controls.png) no-repeat 0 0;
                 width:25px; height:25px; text-indent:-9999px;
              }
              #cboxHd.hover{background-position:-25px 0px;}
              #cboxInfo{
                 position:absolute; bottom:0; right:25px; background:url(images/i-controls.png) no-repeat 0 0;
                 width:25px; height:25px; text-indent:-9999px;
              }
              #cboxInfo.hover{background-position:-25px 0px;}
       
              #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
              #cboxClose.hover{background-position:-25px -25px;}
       
      /*
        The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill
        when an alpha filter (opacity change) is set on the element or ancestor element.
      */
      .cboxIE #cboxTopLeft,
      .cboxIE #cboxTopCenter,
      .cboxIE #cboxTopRight,
      .cboxIE #cboxBottomLeft,
      .cboxIE #cboxBottomCenter,
      .cboxIE #cboxBottomRight,
      .cboxIE #cboxMiddleLeft,
      .cboxIE #cboxMiddleRight {
          filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
      }
       
      /*
        The following provides PNG transparency support for IE6
      */
      .cboxIE6 #cboxTopLeft{background:url(plugins/lightbox/theme/clear/images/borderTopLeft.png);}
      .cboxIE6 #cboxTopCenter{background:url(plugins/lightbox/theme/clear/images/borderTopCenter.png);}
      .cboxIE6 #cboxTopRight{background:url(plugins/lightbox/theme/clear/images/borderTopRight.png);}
      .cboxIE6 #cboxBottomLeft{background:url(plugins/lightbox/theme/clear/images/borderBottomLeft.png);}
      .cboxIE6 #cboxBottomCenter{background:url(plugins/lightbox/theme/clear/images/borderBottomCenter.png);}
      .cboxIE6 #cboxBottomRight{background:url(plugins/lightbox/theme/clear/images/borderBottomRight.png);}
      .cboxIE6 #cboxMiddleLeft{background:url(plugins/lightbox/theme/clear/images/borderMiddleLeft.png);}
      .cboxIE6 #cboxMiddleRight{background:url(plugins/lightbox/theme/clear/images/borderMiddleRight.png);}
       
      .cboxIE6 #cboxTopLeft,
      .cboxIE6 #cboxTopCenter,
      .cboxIE6 #cboxTopRight,
      .cboxIE6 #cboxBottomLeft,
      .cboxIE6 #cboxBottomCenter,
      .cboxIE6 #cboxBottomRight,
      .cboxIE6 #cboxMiddleLeft,
      .cboxIE6 #cboxMiddleRight {
          _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
      }
       
      #cboxTitle a {color:#222; border-bottom: 0 none;}

    3. diff -u colorbox.css.old colorbox.css.new
      Code : Sélectionner tout - Visualiser dans une fenêtre à part
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      82
      83
      84
      85
      86
      87
      88
      89
      90
      91
      92
      93
      94
      95
      96
      97
      98
      99
      100
      101
      102
      103
      104
      105
      106
      107
      108
      109
      110
      111
      112
      113
      114
      115
      116
      117
      118
      119
      120
      121
      122
      123
      124
      125
      126
      127
      128
      129
      130
      131
      132
      133
      134
      135
      136
      137
      138
      139
      140
      141
      142
      143
      144
      145
      146
      147
      148
      149
      150
      151
      152
      153
      154
      155
      156
      157
      158
      159
      160
      161
      162
      163
      164
      165
      166
      167
      168
      169
      170
      171
      172
      173
      174
      175
      176
      177
      178
      179
      180
      181
      182
      183
      184
      185
      186
      187
      188
      --- colorbox.css.old	2011-11-23 01:22:58.137421738 +0100
      +++ colorbox.css.new	2011-11-23 01:22:58.141421738 +0100
      @@ -1,84 +1,101 @@
      -/*
      -    ColorBox Core Style:
      -    The following CSS is consistent between example themes and should not be altered.
      -*/
      -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
      -#cboxOverlay{position:fixed; width:100%; height:100%;}
      -#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
      -#cboxContent{position:relative;}
      -#cboxLoadedContent{overflow:auto;}
      -#cboxTitle{margin:0;}
      -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
      -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
      -.cboxPhoto{float:left; margin:auto; border:0; display:block;}
      -.cboxIframe{width:100%; height:100%; display:block; border:0;}
      -
      -/* 
      -    User Style:
      -    Change the following styles to modify the appearance of ColorBox.  They are
      -    ordered & tabbed in a way that represents the nesting of the generated HTML.
      -*/
      -#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
      -#colorbox{}
      -    #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
      -    #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
      -    #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
      -    #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px -29px;}
      -    #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
      -    #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
      -    #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
      -    #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
      -    #cboxContent{background:#fff; overflow:hidden;}
      -        #cboxError{padding:50px; border:1px solid #ccc;}
      -        #cboxLoadedContent{margin-bottom:28px;}
      -        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
      -        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
      -        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
      -        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
      -        #cboxPrevious.hover{background-position:-75px -25px;}
      -        #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
      -        #cboxNext.hover{background-position:-50px -25px;}
      -        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
      -        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
      -        #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
      -        #cboxClose.hover{background-position:-25px -25px;}
      -
      -/*
      -  The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill
      -  when an alpha filter (opacity change) is set on the element or ancestor element.
      -*/
      -.cboxIE #cboxTopLeft,
      -.cboxIE #cboxTopCenter,
      -.cboxIE #cboxTopRight,
      -.cboxIE #cboxBottomLeft,
      -.cboxIE #cboxBottomCenter,
      -.cboxIE #cboxBottomRight,
      -.cboxIE #cboxMiddleLeft,
      -.cboxIE #cboxMiddleRight {
      -    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
      -}
      -
      -/*
      -  The following provides PNG transparency support for IE6
      -*/
      -.cboxIE6 #cboxTopLeft{background:url(plugins/lightbox/theme/clear/images/borderTopLeft.png);}
      -.cboxIE6 #cboxTopCenter{background:url(plugins/lightbox/theme/clear/images/borderTopCenter.png);}
      -.cboxIE6 #cboxTopRight{background:url(plugins/lightbox/theme/clear/images/borderTopRight.png);}
      -.cboxIE6 #cboxBottomLeft{background:url(plugins/lightbox/theme/clear/images/borderBottomLeft.png);}
      -.cboxIE6 #cboxBottomCenter{background:url(plugins/lightbox/theme/clear/images/borderBottomCenter.png);}
      -.cboxIE6 #cboxBottomRight{background:url(plugins/lightbox/theme/clear/images/borderBottomRight.png);}
      -.cboxIE6 #cboxMiddleLeft{background:url(plugins/lightbox/theme/clear/images/borderMiddleLeft.png);}
      -.cboxIE6 #cboxMiddleRight{background:url(plugins/lightbox/theme/clear/images/borderMiddleRight.png);}
      -
      -.cboxIE6 #cboxTopLeft,
      -.cboxIE6 #cboxTopCenter,
      -.cboxIE6 #cboxTopRight,
      -.cboxIE6 #cboxBottomLeft,
      -.cboxIE6 #cboxBottomCenter,
      -.cboxIE6 #cboxBottomRight,
      -.cboxIE6 #cboxMiddleLeft,
      -.cboxIE6 #cboxMiddleRight {
      -    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
      -}
      -
      -#cboxTitle a {color:#222; border-bottom: 0 none;}
      +/*
      +    ColorBox Core Style:
      +    The following CSS is consistent between example themes and should not be altered.
      +*/
      +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
      +#cboxOverlay{position:fixed; width:100%; height:100%;}
      +#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
      +#cboxContent{position:relative;}
      +#cboxLoadedContent{overflow:auto;}
      +#cboxTitle{margin:0;}
      +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
      +#cboxPrevious, #cboxNext, #cboxClose, #cboxPermalink, #cboxHd, #cboxInfo, #cboxSlideshow{cursor:pointer;} /* YSC */
      +.cboxPhoto{float:left; margin:auto; border:0; display:block;}
      +.cboxIframe{width:100%; height:100%; display:block; border:0;}
      +
      +/* 
      +    User Style:
      +    Change the following styles to modify the appearance of ColorBox.  They are
      +    ordered & tabbed in a way that represents the nesting of the generated HTML.
      +*/
      +#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
      +#colorbox{}
      +    #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
      +    #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
      +    #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
      +    #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px -29px;}
      +    #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
      +    #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
      +    #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
      +    #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}
      +    #cboxContent{background:#fff; overflow:hidden;}
      +        #cboxError{padding:50px; border:1px solid #ccc;}
      +        #cboxLoadedContent{margin-bottom:28px;}
      +        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%;}
      +        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
      +        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
      +        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
      +        #cboxPrevious.hover{background-position:-75px -25px;}
      +        #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
      +        #cboxNext.hover{background-position:-50px -25px;}
      +        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
      +        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
      +        /* YSC : cboxPermalink & cboxHd & cboxInfo button */
      +        #cboxPermalink{
      +           position:absolute; bottom:0; right:75px; background:url(images/permalink-controls.png) no-repeat 0 0;
      +           width:25px; height:25px; text-indent:-9999px;
      +        }
      +        #cboxPermalink.hover{background-position:-25px 0px;}
      +        #cboxHd{
      +           position:absolute; bottom:0; right:50px; background:url(images/hd-controls.png) no-repeat 0 0;
      +           width:25px; height:25px; text-indent:-9999px;
      +        }
      +        #cboxHd.hover{background-position:-25px 0px;}
      +        #cboxInfo{
      +           position:absolute; bottom:0; right:25px; background:url(images/i-controls.png) no-repeat 0 0;
      +           width:25px; height:25px; text-indent:-9999px;
      +        }
      +        #cboxInfo.hover{background-position:-25px 0px;}
      +        
      +        #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
      +        #cboxClose.hover{background-position:-25px -25px;}
      +
      +/*
      +  The following fixes a problem where IE7+ replaces a PNG's alpha transparency with a black fill
      +  when an alpha filter (opacity change) is set on the element or ancestor element.
      +*/
      +.cboxIE #cboxTopLeft,
      +.cboxIE #cboxTopCenter,
      +.cboxIE #cboxTopRight,
      +.cboxIE #cboxBottomLeft,
      +.cboxIE #cboxBottomCenter,
      +.cboxIE #cboxBottomRight,
      +.cboxIE #cboxMiddleLeft,
      +.cboxIE #cboxMiddleRight {
      +    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
      +}
      +
      +/*
      +  The following provides PNG transparency support for IE6
      +*/
      +.cboxIE6 #cboxTopLeft{background:url(plugins/lightbox/theme/clear/images/borderTopLeft.png);}
      +.cboxIE6 #cboxTopCenter{background:url(plugins/lightbox/theme/clear/images/borderTopCenter.png);}
      +.cboxIE6 #cboxTopRight{background:url(plugins/lightbox/theme/clear/images/borderTopRight.png);}
      +.cboxIE6 #cboxBottomLeft{background:url(plugins/lightbox/theme/clear/images/borderBottomLeft.png);}
      +.cboxIE6 #cboxBottomCenter{background:url(plugins/lightbox/theme/clear/images/borderBottomCenter.png);}
      +.cboxIE6 #cboxBottomRight{background:url(plugins/lightbox/theme/clear/images/borderBottomRight.png);}
      +.cboxIE6 #cboxMiddleLeft{background:url(plugins/lightbox/theme/clear/images/borderMiddleLeft.png);}
      +.cboxIE6 #cboxMiddleRight{background:url(plugins/lightbox/theme/clear/images/borderMiddleRight.png);}
      +
      +.cboxIE6 #cboxTopLeft,
      +.cboxIE6 #cboxTopCenter,
      +.cboxIE6 #cboxTopRight,
      +.cboxIE6 #cboxBottomLeft,
      +.cboxIE6 #cboxBottomCenter,
      +.cboxIE6 #cboxBottomRight,
      +.cboxIE6 #cboxMiddleLeft,
      +.cboxIE6 #cboxMiddleRight {
      +    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
      +}
      +
      +#cboxTitle a {color:#222; border-bottom: 0 none;}




    Étrange non ?
    -- Yankel Scialom

  2. #2
    Modérateur
    Avatar de N_BaH
    Profil pro
    Inscrit en
    Février 2008
    Messages
    7 549
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2008
    Messages : 7 549
    Points : 19 376
    Points
    19 376
    Par défaut
    bonjour,

    ouaip, t'as un problème là
    ton diff ne serait pas un alias ?
    .
    N'oubliez pas de consulter les cours shell, la FAQ, et les pages man.

  3. #3
    Membre émérite
    Avatar de prgasp77
    Homme Profil pro
    Ingénieur en systèmes embarqués
    Inscrit en
    Juin 2004
    Messages
    1 306
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Ingénieur en systèmes embarqués
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Juin 2004
    Messages : 1 306
    Points : 2 466
    Points
    2 466
    Par défaut
    Non, il s'agit bien de /usr/bin/diff. En revanche, ce petit test m'apprend que le soucis vient des fichiers :

    cat test.old
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    ligne 1
    ligne 2
    ligne 3
    ligne 4
    ligne 5
    cat test.new
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    ligne 1
    ligne 2
    ligne 3
    ligne 3.5
    ligne 4
    ligne 5
    diff -u test.old test.new
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    --- test.old	2011-11-23 05:03:23.149153046 +0100
    +++ test.new	2011-11-23 05:03:51.137152478 +0100
    @@ -1,5 +1,6 @@
     ligne 1
     ligne 2
     ligne 3
    +ligne 3.5
     ligne 4
     ligne 5

    Une idée ? Cordialement,


    Edit :
    Ok j'y suis, après tatônement, il s'avère que le problème vient du fait qu'un fichier est en fin de ligne Windows (\r\n) alors que l'autre est en UNIX (\n) ... C'est un peu nul, je fais comment moi ?
    -- Yankel Scialom

  4. #4
    Modérateur
    Avatar de N_BaH
    Profil pro
    Inscrit en
    Février 2008
    Messages
    7 549
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2008
    Messages : 7 549
    Points : 19 376
    Points
    19 376
    .
    N'oubliez pas de consulter les cours shell, la FAQ, et les pages man.

  5. #5
    Membre émérite
    Avatar de prgasp77
    Homme Profil pro
    Ingénieur en systèmes embarqués
    Inscrit en
    Juin 2004
    Messages
    1 306
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Eure (Haute Normandie)

    Informations professionnelles :
    Activité : Ingénieur en systèmes embarqués
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Juin 2004
    Messages : 1 306
    Points : 2 466
    Points
    2 466
    Par défaut
    C'est inélégant mais cela résout mon problème. Merci beaucoup.
    -- Yankel Scialom

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Identifier les messages supprimés en sortie d'un diff
    Par erustika dans le forum Shell et commandes GNU
    Réponses: 8
    Dernier message: 02/08/2011, 15h31
  2. [PHP 5.3] DateTime::diff comportement étrange
    Par Rakken dans le forum Langage
    Réponses: 2
    Dernier message: 25/04/2010, 12h39
  3. [CLI] Affichage sortie diff
    Par KeKeMaN dans le forum CVS
    Réponses: 1
    Dernier message: 17/06/2008, 15h35
  4. [UBUNTU] Ma sortie SVideo est étrange
    Par BHericher dans le forum Ubuntu
    Réponses: 1
    Dernier message: 09/12/2006, 18h31
  5. Sortie commande Diff
    Par CoderCool dans le forum Shell et commandes GNU
    Réponses: 1
    Dernier message: 09/10/2006, 11h33

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo